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
6852da6d32d487fb4ca80be1a31d3de111af6718
fff60581be8d5f33c07161083f35112c75c4e776
/tango_with_django_project/rango/models.py
a6414e08f0bc4d8db137ec5938dd5dc9d9625847
[]
no_license
shrikant-git/Django-Project
02286739f21984e0002cb5c6c5dc17640bb5b378
fd3c63478f62f1e1536868cb2433a31db8b7272a
refs/heads/master
2021-01-10T03:50:16.660355
2016-02-22T18:51:14
2016-02-22T18:51:14
52,272,613
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
from distutils.command.upload import upload from django.contrib.auth.models import User from django.db import models class Category(models.Model): name = models.CharField(max_length=128, unique=True) views = models.IntegerField(default=0) likes = models.IntegerField(default=0) def __unicode__(se...
[ "vr.shrikant@gmail.com" ]
vr.shrikant@gmail.com
2d79131fbca3a4de7cdbfb95f73fc8043f091f76
05fcca21120f4b00b468519275d5b6d18a8db5b1
/play_roll_tree.py
bf0bbcd02ea5945a3e6ccc5423ad226d82d2d610
[]
no_license
JaredWilliams1/AlphaZeroMiniReplication
8944e6676fb776fe5aa0a67dabb5252f52aee9a7
d0a9bc3780d84d3628715864de71128a6387ffd5
refs/heads/main
2023-07-18T14:13:45.638479
2021-09-05T20:16:58
2021-09-05T20:16:58
403,399,222
0
0
null
null
null
null
UTF-8
Python
false
false
3,767
py
from game import Game from roll_tree import Tree import numpy as np from roll_tree import Node import pickle def data_gen(number): tuple_array = [] game_count = 0 for y in range(number): state = Game().gameState states = [] while not state.isEndGame: states.append(state)...
[ "noreply@github.com" ]
noreply@github.com
04194c7dd5248fe15d1346ad19c3b1af7fdd3571
98c43f3904d250c3df991323fbb670fc1054b53c
/learn_1-n.py
8f9e7fd0288719027042fef564e397cdc9583b85
[ "Apache-2.0" ]
permissive
robinWeng0315/py_arith_solo
d9996b76aca95eeb23ecefc50cb58a1c2d4ebca5
045916efe41c671f2ddc5863e5f19287f37a6dce
refs/heads/main
2023-01-29T03:10:11.526625
2020-12-13T04:46:54
2020-12-13T04:46:54
320,841,990
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# 1..n累加和 def add(n): i = 0 sum = 0 while i <= n: sum = sum + i i += 1 print(sum) if __name__ == '__main__': add(5)
[ "wengqiankun@meitunmama.com" ]
wengqiankun@meitunmama.com
03e9e95d45c558f3058cee5430dc3c96fb08d7f8
dafe8e9787d9ff09f37b74b65dbf79e73d42a025
/tests/software/testAsigContMMU.py
c982eae73c43e09238e5e46dc5dfd3386b60dd56
[]
no_license
linaresmariano/PyOS_SistemasOperativos
322ba521239ab65a5d7fc5ef41132597bf0c90d0
cf6511b7fddda12a48c1c5872e1bca6a2a7bee34
refs/heads/master
2020-05-30T05:29:57.400321
2012-12-13T05:14:50
2012-12-13T05:14:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
''' Created on 17/11/2012 @author: mariano ''' import unittest from mockito import * from software.MMU import AsigCont from software.PageTable import PageTable from software.PCB import PCB from hardware.HDD import HDD from hardware.Memory import Memory class TestAsigCont(unittest.TestCase): def setUp(self): ...
[ "marianolinares92@gmail.com" ]
marianolinares92@gmail.com
72890ce49f38046862a6ba35b7b711da925db969
581e6446a4534f0f758c6b5e4e6df24d70a6b417
/urls.py
8116fa0a871583e8dd1856dcf3bccbb4abba7617
[]
no_license
vadimg/socialstats
a87603f167b48c4776fd242413ea977d18829e8d
173460fe1e484ec63c961054df879b05084619ee
refs/heads/master
2016-09-06T03:15:54.549306
2011-12-27T18:59:30
2011-12-27T18:59:30
2,985,189
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
from django.conf.urls.defaults import patterns, include, url from django.contrib.auth.views import login, logout from events.views import index, event_details, event_stats, add_event, profile, register from socialstats.events.models import Event, EventStat from django.contrib import admin admin.site.register(Event) a...
[ "dimva13@gmail.com" ]
dimva13@gmail.com
b1ec974a8cedc58c5df9a9a8b488fc9b846f05df
199557ee5b5becf089846e28217b03e651c05188
/blog/migrations/0006_auto_20190813_0550.py
6e80c793bc6f206958fc0c7c896b40041217a589
[]
no_license
Abhinav-ms/test_project
f9a005045c602b10fb158c0ef55939b454b18ed9
41ae536b2dadd81032a8100c91ca0e06a9e03533
refs/heads/master
2020-07-03T13:35:10.766186
2019-08-19T11:43:37
2019-08-19T11:43:37
201,920,980
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 2.2.4 on 2019-08-13 05:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0005_blogpost_slug'), ] operations = [ migrations.AlterField( model_name='blogpost', name='slug', ...
[ "abhinav@ycatechnologies.com" ]
abhinav@ycatechnologies.com
ec149b603fbd61f979dff41f26ab6c385284adaa
a7165964f31ce4098400e1a6fe51009985ca8382
/Tutorial/Expenses/settings.py
555ff781d15017b92f6e4a6b4219b5a6499daccc
[]
no_license
jsmoxon/heroku-template-django
79a328f34cc565a7652078a1542ba6a91e80238e
042cfdde79d5672eff5a107973e593e7b0ea2859
refs/heads/master
2020-03-30T07:49:24.940627
2011-10-20T17:44:48
2011-10-20T17:44:48
2,462,887
0
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
from constants import * import os PROJECT_NAME = 'Expenses' def absPath(rel): return os.path.join(ROOT_PATH, rel) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.%s' % DB_ENGINE, # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': DB_NAME, ...
[ "jsmoxon@gmail.com" ]
jsmoxon@gmail.com
12655ab16a514eee021c6c8eaee9b8fdd64c1775
63118d088ee3e379b951d01141dbac10b5ba1ccb
/Yeni (Gui)/karsilastir2.py
8455e8668f1a3c8b9b80b17431e979bfaa00bcfe
[]
no_license
GSeckin/cardgame_gui_deneme
b803873b67a8f3ca068dcea3992ba6961ddd51a0
a2f197ff4f2b551e081a66c5770854076abb4a45
refs/heads/master
2020-07-20T22:36:36.873890
2019-09-06T05:40:30
2019-09-06T05:40:30
206,720,470
0
0
null
null
null
null
UTF-8
Python
false
false
11,605
py
class Tur_normalgame: def __init__(self,oyuncu_el): self.oyuncu = oyuncu_el time.sleep(1) print("\n\tTur sende") global oyun_raporu oyun_raporu += "\n\tTur sende\n" time.sleep(1) print("\n\tortanın değeri:\n\t{} {}".format(orta.type,orta.value)) ...
[ "noreply@github.com" ]
noreply@github.com
9a1ee8365a695e26f0101708baa476b7bd48369c
dac498d66ec02ad9b52c4c3b074b3bd68d4aee00
/joke/login.py
694a6614380599af7dfe3625d1387b7a6e54a06c
[]
no_license
wangjian2254/haha
3f95c22166af0495098783a40cd1a5d5326cc6e6
d856cf43bbb12d49334078432a74cbe1ef47cf98
refs/heads/master
2016-09-05T20:41:38.188010
2014-03-22T11:22:24
2014-03-22T11:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,027
py
#coding=utf-8 from datetime import datetime import urllib from pubweibo import weibo from t4py.tblog.tblog import TBlog from tools.page import Page import webSetting from models.model import User __author__ = 'Administrator' #from weibopy import OAuthHandler, oauth, WeibopError from google.appengine.api import memc...
[ "wangjian2254@gmail.com" ]
wangjian2254@gmail.com
3f75c5564960d37842a25e9698020572528ca25f
3a7359459d10b417540bc62facddcce9fee08323
/pui.py
02f28d5ee62cf3b4fad57e7499c37ebf1b1ce120
[ "MIT" ]
permissive
tuxnani/pywikipedia-scripts
f98bb5155bb6d056aa7d4e67be8cfe715d1bf900
40795597e94970395c9f9e4ea9641731e7950a4f
refs/heads/master
2021-01-17T22:19:10.974908
2013-02-02T08:21:40
2013-02-02T08:21:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
#!/usr/bin/python # -*- coding: utf-8 -* #$ -m ae """ Copyright (C) 2008-2012 Legoktm Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights...
[ "legoktm@gmail.com" ]
legoktm@gmail.com
2f05ffdb5318a803ae57b08a2a6dfa42c899af36
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03644/s583061806.py
4f4c5fa1513661aa6021ecf76f19f6b4993b52f6
[]
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
207
py
N = int(input()) result = [] for i in range(1, N+1): bin_i = bin(i) bin_i_c = bin_i.count("0")-1 result.append(bin_i_c) sorted_result = sorted(result, reverse = True) print(2 ** sorted_result[0])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ad89f535d20bc632e4c8a87796a7c86a95503053
a0d6c06996da9415b668dfacd2073f02678a37bf
/lianjia/lianjia/pipelines.py
4d725c90dab8c28618291074984c860fc1bd7aac
[]
no_license
wk1024105222/scrapy
523954bbc944f1f5833375f96309f4904d930b68
1329f10a8718db00933c6315c76a34c84d701bbb
refs/heads/master
2021-01-01T04:29:45.427096
2019-12-29T13:49:16
2019-12-29T13:49:16
56,788,820
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
# -*- coding: utf-8 -*- from scrapy import signals import codecs import json from lianjia.dbpool import pool class LianjiaPipeline(object): def __init__(self): self.file = codecs.open('lianjia.json', 'a', encoding='utf-8') self.con = con = pool.connection() # self.file = codecs.open('gzli...
[ "1024105222@qq.com" ]
1024105222@qq.com
d0989c1e045a1af4d134fb4899ac446367eaa930
73ccc972a9b625d8317b0def89d3f494c5e316e1
/script.py
03c71155009198abc4b4b26132867c55ac7a56bc
[ "MIT" ]
permissive
Musketeer-Liu/Food_Delivery_Prediction
604a22a7b4c238eddfac3fc06cb023f52e1691b1
ed23126d3df5fd51f7c903c1fb3bed49bcf45b8d
refs/heads/master
2022-12-01T05:40:53.141995
2020-08-16T00:47:44
2020-08-16T00:47:44
287,847,861
1
0
null
null
null
null
UTF-8
Python
false
false
47
py
import json json.load(./data_to_predict.json)
[ "Musketeer.Liu@gmail.com" ]
Musketeer.Liu@gmail.com
21a3c019eb030572c3b5a773c5b8a387adb73ebd
29f2cc9e5af221d9156f90b2085e8db7fe3f0b66
/HW-6 UnitTest/6.2/HW-6.2.py
dd7ebc984c2d6c183e1db061ac9d9091a6ab90fe
[]
no_license
as174/Netology-Advanced-Python
2588320621789bf2f5e7e805dbb57e18132e2948
99332c335b4cc93303ebe38f46b07c8f9f19fac6
refs/heads/master
2020-05-29T21:48:14.212504
2019-07-29T20:09:00
2019-07-29T20:09:00
189,393,626
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 25 23:13:47 2019 @author: AS """ # #Проверим актуальность API Яндекс.Переводчика для потенциального сервиса переводов. #Используя библиотеку request import unittest from yandex import translate class TestYandexTranslate(unittest.TestCase): def setUp(self): ...
[ "42006639+as174@users.noreply.github.com" ]
42006639+as174@users.noreply.github.com
3d67d667f7c635238b62f637bbb7bca5a7604a8d
dbd8180d9c02c22b42baa5227437714ff352fd8e
/1-100/L250.py
5488dcdc339fc4b78d91939d00a3f4171395ad11
[]
no_license
k8godzilla/-Leetcode
92953dfffc0f06907fa7bd0beea7bc27b16f9efa
58d5384155f481b1d1b0a7ca69566245dd779554
refs/heads/master
2020-06-12T15:35:43.380979
2019-08-07T11:14:49
2019-08-07T11:14:49
194,348,264
0
0
null
null
null
null
UTF-8
Python
false
false
2,115
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Jul 28 17:29:57 2019 @author: sunyin """ ''' 给定一个二叉树,统计该二叉树数值相同的子树个数。 同值子树是指该子树的所有节点都拥有相同的数值。 示例: 输入: root = [5,1,5,5,5,null,5] 5 / \ 1 5 / \ \ 5 5 5 输出: 4 来源:力扣(LeetCode) 链接:htt...
[ "k8sunyin@126.com" ]
k8sunyin@126.com
a1f4de5cad9a0be5071c1c485cdbd64d23ad5437
d543dcbcf0e36635e59549bb56d691bdefff2fa9
/.venv/bin/faker
db01107d8dccca2be0223dcf266e1b152beebbc7
[]
no_license
bilbobols0n/no_more_loans
a40f469fe8df924d5024ab23a42f6832e8d4e393
7fcc02cdb4c93bbb77a32b633112d2b2ad680dc3
refs/heads/master
2023-01-10T23:36:59.478004
2020-11-11T06:50:30
2020-11-11T06:50:30
310,953,791
0
0
null
null
null
null
UTF-8
Python
false
false
285
#!/home/hiro/automatons/nomoreloans/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from faker.cli import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "sanguinewraith@protonmail.com" ]
sanguinewraith@protonmail.com
b4e5cd56349c80c93d85d4e208b8504b7c6cf182
461344f83fe32d67456740fbf5a5eabb1a798f44
/backend/venv/Lib/site-packages/pip/_internal/cli/cmdoptions.py
e046ad0b6e22efdca6310bd7c9922e7df6eaa582
[ "MIT" ]
permissive
Mustard030/vue-django-shop
6903fa821bb19828afc357b8c8142ffd20246af4
a51706b30bcdeaa360772c17086d8ef44e4081cd
refs/heads/main
2023-05-15T08:27:35.866373
2021-06-14T05:20:56
2021-06-14T05:20:56
315,927,957
3
0
null
2021-01-02T16:45:31
2020-11-25T12:08:08
Python
UTF-8
Python
false
false
28,624
py
""" shared options and groups The principle here is to define options once, but *not* instantiate them globally. One reason being that options with action='append' can carry state between parses. pip parses general options twice internally, and shouldn't pass on state. To be consistent, all options will follow this de...
[ "978090944@qq.com" ]
978090944@qq.com
d025fccbd5ca2efc78df21b56f58a65fb9ded426
a496d36d8d9faba03fb9ce71b8f708e94e0f9d6a
/pstConstruct_exp.py
1daaa345cde37804760513595930bf843171a1ff
[]
no_license
ytwen/mtas
c3eeb0215b37b36769fcf2c5e5d5c296ce896221
f8eab7f0e56eb939f57726b9bc98509c91b879d3
refs/heads/master
2016-09-06T01:20:56.872579
2015-04-06T04:57:36
2015-04-06T04:57:36
33,392,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,767
py
import re # given ship_sequence, construct PST # 1. run web (frequent_sequence.php) to consturct input files # 2. run this, output pst (& bc_pre csv) # 3. import pst # \copy mtas.pst_exp from '/home/ytwen/MTAS/pst_exp.csv' with delimiter ',' # \copy mtas.pst_table_pre_exp from '/home/ytwen/MTAS/pst_table_pr...
[ "ytwen@cs.nctu.edu.tw" ]
ytwen@cs.nctu.edu.tw
8d9de061ddf98a0b8bc544203ca78ffdfd204898
0edfb72709bbcc9cfe72222c1698c8e4dde7599b
/8/1.py
4d94c87c88704cbfb4afbf39239df6a18cd78e13
[]
no_license
haavardtysland/IDATT2502
90ac8a2fa687456d5d002db835a360934f432cb9
47f9bec079671693b03533c5b8082d387f295b93
refs/heads/master
2023-08-24T23:01:44.237300
2021-10-20T12:38:48
2021-10-20T12:38:48
407,192,422
0
0
null
null
null
null
UTF-8
Python
false
false
3,274
py
import gym import numpy as np import math from sklearn.preprocessing import KBinsDiscretizer """Q-learning algorithm with inspiration from https://www.youtube.com/watch?v=JNKvJEzuNsc&ab_channel=RichardBrooker and https://github.com/init-22/CartPole-v0-using-Q-learning-SARSA-and-DNN/blob/master/Qlearning_for_cartpole...
[ "haavarty@stud.ntnu.no" ]
haavarty@stud.ntnu.no
471119a3a0733756bc5b41153dbea294e759e1bd
76362840f04ed27f0391b2806933a697249e4b36
/basics/chapter_three/代理.py
d45c373105cf51c94854a3ec7d11f8033087020d
[]
no_license
loriyuhv/PythonSpider
db9aa67f47a01d2f00cf878319ee2273ba79a92f
9882de213d0475ab473732ce3c9c34935f185317
refs/heads/master
2023-08-26T06:51:27.635345
2021-11-10T07:13:07
2021-11-10T07:13:07
415,745,726
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# https://www.zdaye.com/ # 原理. 通过第三方的机器去发送请求 import requests import urllib3 urllib3.disable_warnings() # 这个添加在requests.get('https://xxx.com', verify=False) 上面也有用 # 58.209.234.8:3389 proxies = { "https": "https://116.242.92.43:8080" } headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWeb...
[ "2385923602@qq.com" ]
2385923602@qq.com
a32a139770dcea6321e2c857c8f1d62509740d59
dd1b38d6d953fae7ace7b9c5f86821ac24936b1d
/stutorial/items.py
2376d466616a39f112cdf068f151165ddf3d4b94
[]
no_license
ranafge/scrapy_project
81e1345cc793e65061ba8a43afa78ec91c0680a9
8b921a64f9e499ac56cb985b6ccaf680258a2b2f
refs/heads/master
2020-04-11T04:58:28.982076
2018-12-12T19:22:12
2018-12-12T19:22:12
161,533,821
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class StutorialItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "ranafge@gmail.com" ]
ranafge@gmail.com
cb2f654ade43bee1dcbe995b66ecef775559a974
7c89c864b7f47a4ae97aeb0f0dfd98181d7e1493
/airflow/sensors/smart_sensor.py
6c17beb8912adba8f67f31af30f01cf0a2a44f01
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
em3ndez/airflow
87f542c4fac6f1f37c1a8cd16a14f2b09403e5d7
f2aa9b58cb012a3bc347f43baeaa41ecdece4cbf
refs/heads/master
2023-05-08T05:10:19.541900
2021-05-25T20:20:31
2021-05-25T20:20:31
280,135,110
0
0
Apache-2.0
2021-07-22T01:03:11
2020-07-16T11:23:19
Python
UTF-8
Python
false
false
30,634
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...
[ "noreply@github.com" ]
noreply@github.com
e1ef8709cb2777eff9255940b755ad745be13807
5566d208ac4f57a38b083ddd04f8f19554274052
/users/views.py
57cea0ef3f58f4ee16cc804d9859b0617003970d
[]
no_license
PauloE314/Checa-Aqui-Backend
462f7cf9279c0366e7a319bba69b4ae44fb62284
3ee9cdb0924d8a9a37cb84be5e49eedb9b20bf52
refs/heads/master
2023-07-29T14:13:09.770600
2021-07-29T18:48:39
2021-07-29T18:48:39
261,294,109
0
0
null
2021-07-29T18:48:40
2020-05-04T20:57:56
Python
UTF-8
Python
false
false
5,310
py
from rest_framework.decorators import api_view from rest_framework.permissions import IsAuthenticated from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status from rest_framework import generics from rest_framework.pagination import PageNumberPagination fr...
[ "pauloeduardodelima155@gmail.com" ]
pauloeduardodelima155@gmail.com
1c5d794f2469e18f06bc79a0b53a9fc94bfe70d8
82f96a47af8d7dfea35f18ff57a0527812b016a1
/internal/tiltfile/api/os/path.py
dc39a52fa746634f214901a40f630f1868b517e9
[ "Apache-2.0" ]
permissive
tilt-dev/tilt
df987756490e16f4ba5c2785bfcf58a5f33b2a1f
70a53642fd1812fa6d09568a9a86ce320f65787a
refs/heads/master
2023-08-08T00:25:49.726804
2023-08-01T16:43:21
2023-08-01T16:43:21
143,896,900
3,468
175
Apache-2.0
2023-09-05T21:50:09
2018-08-07T16:00:26
Go
UTF-8
Python
false
false
2,022
py
def abspath(path: str) -> str: """Return a normalized, absolute version of the path, relative to the current working directory. Args: path: A filesystem path """ pass def relpath(targpath: str, basepath: str='') -> str: """Return the path of `targpath` relative to `basepath` (by default, relative to CWD)....
[ "noreply@github.com" ]
noreply@github.com
3f84676bac56005590ddb6e3236a016b1fa8b04c
2beae096dbe1c7047c2e848569d1303aeeae9112
/news_pipeline/tf_idf_deduper_test.py
493defe2bd62c2af6d364def4dbe8dd0efc8723c
[]
no_license
yuzheng38/news-scraping-and-recommendation-system
420bc0210b40e4dcf8086e59d7a55ac2022503ff
f442ed278fcd738c955ad7f1318952a20523f654
refs/heads/master
2021-01-23T08:52:27.275700
2017-09-06T03:59:59
2017-09-06T03:59:59
102,559,080
1
0
null
null
null
null
UTF-8
Python
false
false
376
py
from sklearn.feature_extraction.text import TfidfVectorizer doc1 = "I like apples. I like oranges too" doc2 = "I love apples. I hate doctors" doc3 = "An apple a day keeps the doctor away" doc4 = "Never compare an apple to an orange" documents = [doc1, doc2, doc3, doc4] tfidf = TfidfVectorizer().fit_transform(documen...
[ "yuzheng@gmail.com" ]
yuzheng@gmail.com
55146b784ada175a393803ddb74ce491a0bff747
68621c990ca84dd3cf0226a12160358ad1321540
/models/data/GameDataModel.py
cb465a4be5b829e49b0a1764a35977fb6a339318
[ "MIT" ]
permissive
zachdj/ultimate-tic-tac-toe
31350496cfe8a7081fa88bfc95094f672750726b
b8e6128d9d19628f6f889a3958d30854527a8645
refs/heads/master
2021-09-03T05:59:09.611411
2018-01-06T02:43:46
2018-01-06T02:43:46
106,368,041
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
import datetime from . import DatabaseConnection as DB from . import BoardDataModel from models.game import GlobalBoard, Board class GameDataModel(object): def __init__(self, game): """ Initializes a GameDataModel instance The GameDataModel class encapsulates the representation of an Ultimate Tic-T...
[ "zachydj@gmail.com" ]
zachydj@gmail.com
2d93ccd750515cee8a64d54400fd3a3f34145948
ea5ff42b0cd5f398029e7434eb84a11441649c34
/hackerrank/challenges/loops.py
e7c42e2ce284fe40b827ea84467648b641c1d504
[]
no_license
lastmonk/myPython
4587635d37c23484fb0864273c894e280fe65ca3
816ab46ffa0345b602cddc707a4ffd8d8fd84859
refs/heads/master
2021-01-02T19:58:59.163149
2020-03-11T12:50:15
2020-03-11T12:50:15
239,777,417
2
1
null
2020-02-25T15:11:18
2020-02-11T14:09:03
Python
UTF-8
Python
false
false
65
py
a = int(input()) for i in range(a): b = i*i print(b)
[ "jijojoy78@gmail.com" ]
jijojoy78@gmail.com
a7cf93d176f5811032d39af8d3bf4df7ffdf8fe2
1ea68af7e06acb43596799265253fa95f5c9d1b7
/garderie/views/enfant.py
ee72cffe8c8426412ef6fc6bc0aba3461c55bfa3
[]
no_license
ClementMagniez/Garderie-s9
1b2330572bc3ce47c0488813a094d65ab2edb4e6
056a6e25ce21e89e6afc796b8f6cc2a87148c1d9
refs/heads/master
2023-03-10T17:05:25.924944
2021-02-20T13:07:14
2021-02-20T13:07:14
312,295,507
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
from django.views import generic from ..models import Child, Schedule, Parent, ExpectedPresence from ..forms import NewPresenceForm, ChildUpdateForm, NewChildFormAdmin, EditScheduleForm from django.urls import reverse, reverse_lazy from django.http import JsonResponse from ..utils import EmbeddedCreateView, EmbeddedUpd...
[ "cl.magniez@laposte.net" ]
cl.magniez@laposte.net
81a10088604bb25b97c23ba1ef2a1604af597a9f
0c3cd4e933afef9dd15c2983d6b1a8413063ae80
/alpaca_paper/tests/test_screeners.py
f9d9c8afeb1f5fc0c0b87f8372bca7a71743e206
[]
no_license
webclinic017/paper_trading_bot
405ae2cad7fd50b393509a90973d674b5f59ce8c
a172ce2dc150183be4ddb5b218dfcb7006027f69
refs/heads/master
2023-07-24T06:31:12.093572
2021-07-20T01:32:32
2021-07-20T01:32:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
import pytest from alpaca_paper.screeners import MarketWatch @pytest.fixture def mw(): return MarketWatch() def test_premarket(mw): pre_market = mw.pre_market() assert isinstance(pre_market, (dict,)) assert isinstance(pre_market['gainers'], (list,)) assert isinstance(pre_market['loosers'], (list,...
[ "samuelperron@hotmail.fr" ]
samuelperron@hotmail.fr
aff2b30fe79c17b6231afdecb3cf817c72cfb1e4
f4ab4ef374f04fe5863ef285373ab88eb67d910f
/sl_graph_patients_down_up.py
3d15a5186ecb400a292eb95ba6657104eea75467
[ "Apache-2.0" ]
permissive
pp86/mutual_exclusive
9b970319e4a0a9dfe19d5484bf20acb243e137da
138798b5585939649704a271ed414db399503e02
refs/heads/master
2021-08-07T05:48:52.963147
2017-11-07T17:01:36
2017-11-07T17:01:36
103,924,073
0
0
null
null
null
null
UTF-8
Python
false
false
5,942
py
import random import sys import scipy.stats as ss from tqdm import tqdm from operator import add tumor_name = sys.argv[1] def parser_name(line): s = line.strip().split(",") return s[0] S = 5000 ddr_genes = set(["UNION_ATM_BRCAx", "PMS1", "PMS2", "APC", ...
[ "pietro.pinoli@gmail.com" ]
pietro.pinoli@gmail.com
4f6194403360afff9801b8a0cd11d80694ffdbd7
9a9082d5e746e45ff72bea59dc6365b1877d8901
/practice/cp_sols/Pr27.py
b932536fd9adbaa5a0b006aa19b1bdc0550a202c
[]
no_license
krishxx/python
0dfdf78899eae40a792e8dd9d9c3c7f136604566
fb5261f8615a486aa2741c592d0156cfc2c2e05d
refs/heads/master
2020-03-16T07:49:06.124601
2019-08-07T10:55:51
2019-08-07T10:55:51
132,584,104
1
0
null
null
null
null
UTF-8
Python
false
false
213
py
'''Question: 27 Define a function that can convert a integer into a string and print it in console. Hints: Use str() to convert a number to string. Solution''' def printValue(n): print (str(n)) printValue(3)
[ "harish.v@lge.com" ]
harish.v@lge.com
efd56603e951676e1dfa76d94ff30161cbbbe150
f3d915f1989b6bb5f215ce18bd001294a2dfe91b
/Symmetric Tree.py
39dcacbae23f7a09a145732c0375cc1a2d7615ea
[]
no_license
chenwu054/Leetcode
ed00a2b003d547a3b4313651c53274267492a7dc
37612c1b2f3e3a6f97752fcfcdccec93c617d53a
refs/heads/master
2021-01-20T21:29:24.595588
2019-04-24T05:35:11
2019-04-24T05:35:11
20,935,465
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
class Solution: def isSymmetric(self, root): if root == None: return True return self.isSymmetricRecur(root.left, root.right) def isSymmetricRecur(self, left, right): if left == None and right == None: return True if left == None or right...
[ "zhew@live.unc.edu" ]
zhew@live.unc.edu
eab876d87c22914ef3b369338b868419b7af5f42
cb94a4cdd7a9df17f9c6f1a03f8f4ff12c916cf3
/Learning_Python_Generators/Exercise_Files/Ch3/03_04/coroutine_decorator.py
a55630fb3f470ad6df497cd864cbf4893c44f0e7
[]
no_license
sedstan/LinkedIn-Learning-Python-Course
2b936d0f00703a6e66a872220ed47572123dc7fd
b4584218355bf07aa3d2939b950911eae67adb0b
refs/heads/master
2021-10-11T10:19:13.675662
2019-01-24T17:55:20
2019-01-24T17:55:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
def coroutine_decorator(func): def wrap(*args, **kwargs): cr = func(*args, **kwargs) cr.next() return cr return wrap @coroutine_decorator def coroutine_example(): while True: x = yield #do something with x print (x)
[ "sed@wearewhy.co.uk" ]
sed@wearewhy.co.uk
6d4af2552b2a7c9f1ac99788de5b8a19f0e0d3a2
3bdf616651bb71c367033939243236df405d3053
/GAN/BlueNoise.py
ebdfe3f89f460d8472a0ab5a3b125cf02fcf7572
[]
no_license
LFRPPIS/Learning-Foveated-Reconstruction
e959c748594f91c4c1fc362fd81de3b9791c969f
942ad0efd03221a36b1a28636c2fe8b8f3d69f28
refs/heads/main
2023-06-21T14:59:45.555163
2021-07-30T14:57:42
2021-07-30T14:57:42
391,092,988
2
2
null
null
null
null
UTF-8
Python
false
false
22,198
py
# BlueNoise.py - An implementation of the void and cluster method for generation of # blue noise dither arrays and related utilities. # # Written in 2016 by Christoph Peters, Christoph(at)MomentsInGraphics.de # # To the extent possible under law, the author(s) have dedicated all copyright and # related...
[ "88197234+LFRPPIS@users.noreply.github.com" ]
88197234+LFRPPIS@users.noreply.github.com
b7fdbf0e77418caa04457a662ef2742d38329a8d
1798ddc13df6ae3dd7cd35f049d0253520c5e78d
/post_item/admin.py
4f11af4aa3464e46f442be33b7657f0714661652
[]
no_license
nihy/yabe
9003b2d167e30f4e844cbf5298daced5cf560b73
060f29e16d9852e9de92399d95f9adc241960ed8
refs/heads/master
2021-01-19T11:25:17.386007
2015-01-08T03:02:35
2015-01-08T03:02:35
28,789,256
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
from django.contrib import admin from post_item.models import User, Item, Bid # Register your models here. admin.site.register(User) admin.site.register(Item) admin.site.register(Bid)
[ "nihy@miamioh.edu" ]
nihy@miamioh.edu
566b7fac7c1540a03e7ba419a8e74227534f307e
fb124e51024917d6479fa626d9607ff10f7a3aba
/storm-control/storm_control/hal4000/illumination/button_editor_ui.py
6340c37f39723a6c6e0a3e99238c3c19bfe496a8
[ "MIT" ]
permissive
BehnamAbaie/storm-control
054bd7bbd903ed9635e4d1121c30544f58473c4f
0c686321142eccad62ce3365eae22c3b69229b0d
refs/heads/main
2023-06-18T08:04:01.108874
2021-07-14T00:51:15
2021-07-14T00:51:15
342,049,487
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'button_editor.ui' # # Created by: PyQt5 UI code generator 5.7 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): D...
[ "noreply@github.com" ]
noreply@github.com
6703664d1954b4e0c8e2ac9fe16852c95abf4379
8a8645f4a9ffad2b8437796aa302ce7cc3badbbc
/riboconstruct/inverse_folding/fillings/bulge.py
e777bbabc048c48d2ca3468493a7263ae4f7c4aa
[]
no_license
johncalls/riboconstruct
bbf7530b42d5bc86cb6d8a9e89370395e973e586
e9e0953d90c54ec0f8628302d71421bf123556fb
refs/heads/master
2016-09-16T15:16:38.922782
2013-11-13T11:32:03
2013-11-13T11:32:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,326
py
import math from . import energies from . import generator from ... import rna def bulge_energy(size, bp_id, pred_bp_id): bp_id_i, bp_id_j = rna.BASEPAIRS[bp_id] pred_bp_id_i, pred_bp_id_j = rna.BASEPAIRS[pred_bp_id] energy = 0.0 # loop destabilizing energies if size <= 30: energy = en...
[ "johannes.garimort@gmx.net" ]
johannes.garimort@gmx.net
ea8e56f8a7e1f9d68abbaaea71db0dacae5be027
9c0efbf07068a67caa22a7b31f397aa266ae227c
/basic_examples/replaceMessage.py
ba41a47bec4c4f45737f10a1dfe9bac6000b4dc2
[ "BSD-3-Clause" ]
permissive
flemic/ETD
7465574d73c7d7eb60d96f6d68b35751cc44dad2
ed0434c4683684243ad769a666f581944cc9433a
refs/heads/master
2020-05-17T13:29:35.608438
2015-12-17T23:39:14
2015-12-17T23:39:14
40,899,698
2
1
null
null
null
null
UTF-8
Python
false
false
2,266
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """replaceMessage.py: Replace a message in a collection in the ETD service.""" __author__ = "Filip Lemic" __copyright__ = "Copyright 2015, Telecommunication Networks Group (TKN), TU Berlin" __version__ = "1.0.0" __maintainer__ = "Filip Lemic" __email__ = "lemic@tkn.tu-be...
[ "lemic@tkn.tu-berlin.de" ]
lemic@tkn.tu-berlin.de
07b979d778c19399b58b80724820c6b94da8d9ad
30f6633a24d799fddd51672c528e4baee649d8cd
/6.01/designLab09/simulator/core/search/__init__.py
a5aa67e832e04dcfdfb63b10e576b88f6c972342
[]
no_license
Rajpratik71/mit-courses
e12c864435a1af2c8b7034af956fd2f53d559cfc
86a06a3192e17230a05c5c7beeed5699df73be22
refs/heads/master
2023-06-22T21:05:37.240985
2023-01-26T06:44:49
2023-01-26T06:44:49
192,182,074
0
2
null
2023-04-05T04:00:47
2019-06-16T11:15:24
TeX
UTF-8
Python
false
false
72
py
""" core.search """ __author__ = 'mikemeko@mit.edu (Michael Mekonnen)'
[ "wangjohn@mit.edu" ]
wangjohn@mit.edu
76f41160c1f2815d5acdac8cc8e8d15b83e4901a
314f047c5a6e52ce144a69ab7638a3a23fe3b6d9
/Dashboard.py
51418102c6521daefffc88cc47c44f25c1350ca2
[]
no_license
kavindiOshini/facenet-face-recognition
a5142a041c555c5d279a29c69bf4920e1926f13f
5e2a139d21f120f598098e6b8afb7fbde317672c
refs/heads/master
2022-11-06T07:56:23.421524
2020-06-13T12:55:24
2020-06-13T12:55:24
280,348,624
1
0
null
2020-07-17T06:46:19
2020-07-17T06:46:18
null
UTF-8
Python
false
false
4,704
py
# import statements from tkinter import * import os from datetime import datetime # UI Elements main_frame = Tk() main_frame.configure(background="#C6E2FF") # User Interface functions def add_person(): os.system("py 1_add_person.py") def train_and_recognise_model(): os.system("py 2_facenet.py") def attend(...
[ "mohamedayoob01@gmail.com" ]
mohamedayoob01@gmail.com
f87cd3733e9279862ac119d90af6bf4ea02c10ae
627cca9406c31ce30c493ff7502f79eb4c57eee3
/xcha/wallet/lineage_proof.py
ca16b4fed04cad1847319ac28818c391c418eb37
[ "Apache-2.0" ]
permissive
blockchiansea/xcha-blockchain
40c6d36813f671e94316a522904238f495f39f6b
7de0ba89056236e30069aef12fe25843f6093bcf
refs/heads/master
2023-07-26T02:36:57.654196
2021-09-06T06:04:21
2021-09-06T06:04:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
from dataclasses import dataclass from typing import Optional from xcha.types.blockchain_format.sized_bytes import bytes32 from xcha.util.ints import uint64 from xcha.util.streamable import Streamable, streamable @dataclass(frozen=True) @streamable class LineageProof(Streamable): parent_name: bytes32 inner_p...
[ "xchanet@gmail.com" ]
xchanet@gmail.com
d0d196f2397da5934230e0c390753979cf7dba1b
15d6a910b23d2cc0f1f7c634b7c0988d7a2dafb3
/jonathan-o/Lesson5/exo_dom_med.py
dada31ba72870b866a98842e189631033496a63c
[]
no_license
gitthabet/MS-BGD
c523451bb63a1723abccebe4086f0ba073999f41
a157ba583b8a0f5bf8142e324a485bb7e1ee5f5f
refs/heads/master
2021-07-08T12:33:17.933768
2016-12-30T00:28:24
2016-12-30T00:28:24
24,846,974
3
3
null
null
null
null
UTF-8
Python
false
false
4,056
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 5 2014 @author: Ohayon """ import unicodedata as uni import re from pandas import Series, DataFrame import numpy as np import pandas as pd ################################################################################################ # Some String manipulation f...
[ "jonathan.ohayon@telecom-paristech.fr" ]
jonathan.ohayon@telecom-paristech.fr
77ee9b20a0817d31a073534a684b32b631dcca13
e41651d8f9b5d260b800136672c70cb85c3b80ff
/Notification_System/temboo/Library/Google/Gmail/InboxFeed.py
8764414118792dd2115f21eea4921bec6e6e5563
[]
no_license
shriswissfed/GPS-tracking-system
43e667fe3d00aa8e65e86d50a4f776fcb06e8c5c
1c5e90a483386bd2e5c5f48f7c5b306cd5f17965
refs/heads/master
2020-05-23T03:06:46.484473
2018-10-03T08:50:00
2018-10-03T08:50:00
55,578,217
1
0
null
null
null
null
UTF-8
Python
false
false
6,883
py
# -*- coding: utf-8 -*- ############################################################################### # # InboxFeed # Allows you to access a read-only Gmail feed that contains a list of unread emails. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0...
[ "shriswissfed@gmail.com" ]
shriswissfed@gmail.com
549803d9a8b2a2b0f2847c1e0c3fa691a2ec3bb3
ec2584f8364c2aafa041457c88614f860060744c
/my_project/my_project/items.py
184b3be8172a9635193bfcd0c08843d54ee79228
[]
no_license
bsch0111/example_scrapy
cbf750bd13a28d3e50e8fd8e4ec97c19967e953d
1444be8f754804e6621f6f3bd63c2448d9d4b79d
refs/heads/main
2023-08-18T14:53:20.967208
2021-04-23T18:08:06
2021-04-23T18:08:06
360,968,392
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
# Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class Quote(scrapy.Item) : """ 격언 아이템 """ author = scrapy.Field() text = scrapy.Field() tags = scrapy.Field()
[ "bsch0111@naver.com" ]
bsch0111@naver.com
71dc32b622749cfff8398ad2dde76627857ea6a3
17e3234ab01fd93233cc453f1495d50424c3bd8f
/latte/dashboard/doctype/dashboard_data_slice/__init__.py
b3c7ec22aa81e9680d69eb7ddacef402ae0c4349
[ "MIT" ]
permissive
sunnyakaxd/latte
8943dbf70ce934e04e51b147a54e6dd02dfe43db
de74065122a1f858bd75f8e1a36fca3b23981f4c
refs/heads/master
2023-06-11T10:25:31.217047
2021-07-06T06:40:19
2021-07-06T06:40:19
383,363,137
0
0
NOASSERTION
2021-07-06T06:26:49
2021-07-06T06:26:49
null
UTF-8
Python
false
false
1,568
py
import frappe import jwt import time from latte.utils.caching import cache_me_if_you_can @frappe.whitelist() def run(slice_name=None, data_source_name=None, filters=None): return run_cached(slice_name, data_source_name, filters) # @cache_me_if_you_can(expiry=20) def run_cached(slice_name=None, data_source_name=No...
[ "himanshu.mishra@elastic.run" ]
himanshu.mishra@elastic.run
e682d28c153c69c5dbe35bb594b0a7b123bb62f4
d50b471010fcd8d9f2716d4786f2d4b8b3918227
/polls/models.py
8f568737095302956666e1d1cd1c6d9ae1756376
[]
no_license
jianping-grp/longge
9a2c9e32f72e04d62e3719bcedf389016bd216cb
732895ae28221fdc10f3db5ef793d408b831cb0f
refs/heads/master
2020-04-12T10:40:31.270528
2018-12-19T12:56:51
2018-12-19T12:57:40
162,435,278
0
0
null
null
null
null
UTF-8
Python
false
false
2,919
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.contrib.postgres.fields import ArrayField class Onlinedock(models.Model): job_name = models.CharField(max_length=1000, blank=True, null=True) prep_protein = models.FileField('origin_files/', blank=True, nu...
[ "493036599@qq.com" ]
493036599@qq.com
fe1d3e30f4cdfd8651a3f9176b4620a6452e5d01
4a9995871447a406a7e6307a030503700cd41226
/script/testCase/Y3me项目/人力资源/薪资核算/审批流_定调薪.py
6a0c29d1fa8b09c17d7ae30c81a1f876d8ab676d
[]
no_license
juntaoh1234/12122003
96a107ce22d930e8d9517810736d8f6ce92dc7ad
4bee39286c3708d7a0df3001e0daa9da51478170
refs/heads/master
2020-10-01T18:20:01.572599
2019-12-12T12:04:08
2019-12-12T12:04:08
227,596,967
3
0
null
null
null
null
UTF-8
Python
false
false
4,960
py
# -*-CodeIng:utf-8 -*- # @time :2019/10/31 20:02 # @author:HuangJunTao # @email:1341890679@qq.com # @file:审批流_薪资.py # @SoftWare:PyCharm from time import sleep from SRC.common.decorator import codeException_dec from SRC.unittest.case import TestCase from SRC.webdriver.switchTo import SwitchTo from script.common import ...
[ "1341890679@qq.com" ]
1341890679@qq.com
b3678157be441f0ff49f88ba199ac23edeee18ff
068a12c9509437636ce8160098f6f19d5072249e
/data/transform_redial_data.py
8332620016e83596fdf4eaff880ea111c8d8a6cf
[]
no_license
dav009/ConvRecProbingBERT
8bc009b34fbdb87709b7b4aad06b13eb716f0fc2
20cee931f8024ccf4eb19136dbab2f8bf657a34d
refs/heads/master
2022-12-16T18:41:23.967891
2020-09-22T17:33:00
2020-09-22T17:33:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,595
py
import zipfile import json from IPython import embed import pandas as pd import random from tqdm import tqdm random.seed(42) with zipfile.ZipFile('./data/website/redial_dataset.zip', 'r') as z: z.extractall() train_data = [] for line in open("./data/train_data.jsonl", "r"): train_data.append(json.loads(line))...
[ "guzpenha10@gmail.com" ]
guzpenha10@gmail.com
b96f29f23b666552d0c5a97ed49b9c4271e01646
0e4154a601e617247dbb72ed1fa848d6b3a8c3a5
/p2_gui.py
0af3a792552fb5cc2c2a9b9d844c2e561f9eb895
[]
no_license
kkiminki/MCTSBot
29ac0c7ba44bd93c1ca0dca04e00e35d209c895f
36f9441a6d70a83a4ff81426e6f68644ea2b3f07
refs/heads/master
2021-01-10T08:28:32.753605
2016-03-08T03:03:34
2016-03-08T03:03:34
53,377,571
0
0
null
null
null
null
UTF-8
Python
false
false
3,941
py
from tkinter import * from p2_game import create_game, State import mcts_vanilla as red_bot import rollout_bot as blue_bot BOTS = {'red': red_bot, 'blue': blue_bot} def display(state): canvas.delete(ALL) square_width = min(int(canvas['width']), int(canvas['height'])) step = square_width / state.game.w...
[ "kkiminki@ucsc.edu" ]
kkiminki@ucsc.edu
d17f1155441dcc2147883782f8e9759480d91cfe
4ca66ea92559fb78e920dc685b83eeca99d01c87
/test/test.py
6e99332ec41ee1993973cd032c14dd9bd0869742
[ "LicenseRef-scancode-unknown-license-reference", "OpenSSL", "BSD-2-Clause" ]
permissive
lzfernandes/python-aesgcm
c8fb5fc8e4ac8c4d8a20b8015d8df2c4fe109bb0
d1157b090adbcac75dacbdb0eb59783e910390e1
refs/heads/master
2021-01-22T14:11:05.545333
2015-11-08T23:46:31
2015-11-08T23:46:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,446
py
from binascii import hexlify, unhexlify import unittest import aesgcm class TestVectors(unittest.TestCase): VECTORS = [ { 'key': unhexlify(b'0000000000000000000000000000000000000000000000000000000000000000'), 'iv': unhexlify(b'000000000000000000000000'), 'aad': None, ...
[ "be@bjrn.se" ]
be@bjrn.se
f2755dbd2789099b873f875f79744a7577d0d857
4eeaf6359682ee71833671d07f18e31c0b2e3ec0
/app/core/tests/test_models.py
1507e32a1bba8aae2d2e4baafa856afb88a6004f
[ "MIT" ]
permissive
abdullah87911/recipe-app-api
2cf1a3fd61805033e3c812ad05abb1327f0bcfe2
6963028990c7d4cafaa87d649091d1297bde2fa1
refs/heads/main
2023-02-26T19:24:59.246175
2021-02-08T06:57:45
2021-02-08T06:57:45
333,034,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
from django.test import TestCase from django.contrib.auth import get_user_model class ModelTests(TestCase): def test_create_user_with_email_successful(self): """Test creating a new user with an email is successful""" email = 'abc@gmail.com' password = 'Test@123' user = get_user_mo...
[ "abdullah.khan@string.org.in" ]
abdullah.khan@string.org.in
1f42007adaa92f6d25407d9306970b17ca3c1cce
4a08c681c9e3404b8a035143a4e95d0069da83ed
/background.py
f94cdac9e5caaf589901964660e1d71059658924
[]
no_license
adigeak/AlienInvader
3aa2f6fcc262c0ababdd3096e2bc506aae1f88ab
1aa160ca8e4ec902d52bfe11d771fb9dbdf51c2a
refs/heads/master
2020-12-23T01:50:00.326417
2020-03-19T09:38:25
2020-03-19T09:38:25
236,989,160
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
import pygame from pygame.sprite import Sprite class Background(Sprite): """A class for background image""" def __init__(self,ai_settings,location): super().__init__() self.image = pygame.image.load(ai_settings.bg_image) self.image = pygame.transform.scale(self.image, ...
[ "adigeak29@gmail.com" ]
adigeak29@gmail.com
97d98121e3aad07d0cc73ab82f9883743bfc3be7
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/python/ops/ragged/ragged_print_op_test.py
2b612d463d0eb70eebb13c4486f0d5d159173771
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
7,777
py
# Copyright 2020 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
308e11264c3de28357f11a6bad39c6879183313d
87e7630901afa90e3dd2dd3aeebbdbd3275096ce
/arm_1/initialization.py
a2ea12fa6c7c76d5e463d2eec55ddd5c632e8746
[]
no_license
lkowale/an_env
79a1ec281f756f07a566407f6c4bb5fb4e9469df
feb34ccf50ca37130dd72568e03df82075e227a0
refs/heads/master
2022-11-23T20:35:35.648338
2020-07-29T12:24:40
2020-07-29T12:24:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,778
py
import rospy from subprocess import call arm_joints = \ {'torso': { 'p_min': 0, 'p_max': 1000, 'initial_position': 0, 'type': 'DCMotor', 'move_speed_pdgree': 8 }, 'shoulder': { 'p_min': 0, ...
[ "kov.ubuntu@gmail.com" ]
kov.ubuntu@gmail.com
f44ca2bb4b4d12e426df0bdcbe6ed1200379baa8
bd2d139c0d2377020a19bca1ff9b75dc563cbd49
/scrape_mars.py
2998194ab037d5d8817da69cdf56b1b7832ab504
[]
no_license
DanBoulden/Homework_10_Web_Scraping
188b5df3b6fcdb7f1b38f0c7d171682ef86b5a0e
5c58b5be4913124dc32fdba4a9b3b7de8be6eb4f
refs/heads/master
2020-04-24T21:02:56.900106
2019-02-23T21:30:30
2019-02-23T21:30:30
172,264,305
0
0
null
null
null
null
UTF-8
Python
false
false
5,260
py
# Load the dependencies from splinter import Browser from splinter.exceptions import ElementDoesNotExist from bs4 import BeautifulSoup as bs import pandas as pd import numpy as np import time # Windows setup executable_path = {'executable_path': 'chromedriver.exe'} browser = Browser('chrome', **executable_...
[ "noreply@github.com" ]
noreply@github.com
0a928bb52f0ef8781324a1305e05575b9e4ed659
002e8cf607a35737e4fd36b9679023eeedd1e1ae
/Syslog_Parser.py
61e8478b39b8c40ac0344ed2940839d7dbb72fd7
[]
no_license
scottyang66/Syslog_Parser
e008663b38cb655c1da63d2981993661e03f7392
ac04793bd5e6e08c5f896a2cb7b3541315e79fa2
refs/heads/master
2021-05-16T15:45:13.468554
2018-02-02T21:11:32
2018-02-02T21:11:32
119,448,014
0
0
null
null
null
null
UTF-8
Python
false
false
4,764
py
""" Date Ver No. Author History 01/29/2018 V0.1 Scott Yang First version 02/02/2018 V0.2 Scott Yang Fix bugs """ import os import sys import re import pandas as pd from pandas import ExcelWriter import glob from tkinter import filedialog from tkinter import * from threadin...
[ "[scottyang66@gmail.com]" ]
[scottyang66@gmail.com]
d63b46111db5e0c0c4fa7e8b11cb2db1db0e0fb4
4b6e9cff515ba157a441b91eefed4ef053be6ccd
/test/test/settings.py
709801a0e82bee0f1056144571d77dd064814fd0
[]
no_license
yuta97/Django-tutorial
80ffe1522462d63e99675993115056e431d9643f
1e6abe0c21ba2160101099f7f84dca7b5fd82816
refs/heads/main
2023-02-01T12:25:44.271803
2020-12-04T13:50:42
2020-12-04T13:50:42
313,330,100
0
0
null
null
null
null
UTF-8
Python
false
false
3,128
py
""" Django settings for test project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib im...
[ "yuta970702m@gmail.com" ]
yuta970702m@gmail.com
1138b1634afb3e6d515970c399f86bb6588fef13
a35032441d61fd253865cf5be7c01f14e0e5b578
/1.03 - REST API/3.6.py
9cadef5c2288ed6dd51fa92a45952e52e2d62ed9
[]
no_license
weronikadominiak/PyLadies-Python-Course
df942479c90c20df70baade77bbeafa2c7866824
bb05154ba02329a6521d051477bbdcda0ad56194
refs/heads/master
2021-09-06T02:55:30.156857
2018-02-01T20:33:59
2018-02-01T20:33:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
# /query_string # GET # proper response: # 200: { # "parsed": bool, # "args": dict, # "url": dict, # "query_string": dict # } import requests # resp = requests.get('http://py.net/query_string') # print(resp.json()) resp = requests.get("http://py.net/query_string/?halo=1&weronika=ziemniak&costam=nie...
[ "weronika.dominiak@hotmail.com" ]
weronika.dominiak@hotmail.com
86ec7b2b4265ac952e17ffb0acafdc115dc52383
2007fcf4d425b391ce824995a088a8bae686d2d6
/sleep_fucntion_test.py
1546cc56ce32165a5a87aab5fb70574af7e26c74
[]
no_license
caleb-archer/car_game
c123e73b56677174775a585d984635c55ac0aa02
e2e104161f061190b39c431a8961fb4d64e6c7ce
refs/heads/master
2022-12-13T21:06:18.294443
2020-08-30T10:35:30
2020-08-30T10:35:30
275,672,432
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
import time import sys restart = True while restart: print("hello, how are you today") for i in range(8): sys.stdout.write(".") time.sleep(0.3) print("\nthats very good to hear") print("hello") #x = "....." #for i in range(10): #print(x) # time.sleep(4) ...
[ "55740865+caleb-archer@users.noreply.github.com" ]
55740865+caleb-archer@users.noreply.github.com
fa29a061eed612397bcd273949c00022f662955d
5ed90454e102a4a3b5197ab6fff85ead7f1e19e7
/cgl/bin/set_env_vars.py
6266c819ec3054c0ee4d4f16f67ed754328c28ac
[]
no_license
Eric-coder/cglumberjack
877ac5f4560e36b54eb48d75bbacb87eab78ab76
80681655c4cda6c8d7719e1563d5d3555583e8ff
refs/heads/master
2022-05-04T23:07:46.138372
2020-04-15T18:26:48
2020-04-15T18:26:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
print 'This module simply sets all the needed env vars for lumbermill after a user_globals.json file and a globals.json file have been craeted' # app_config()['paths']['code_root'] must be in PYTHONPATH # app_config()['paths']['cgl_tools'] must be in PYTHONPATH # os.dirname(app_config()['paths']['config']) must be i...
[ "tmikota@gmail.com" ]
tmikota@gmail.com
70dcf3c243dde5b8f6adc6a319a793c6365a17b7
96ce3f2ace1db8cb6177e4638023d30846473cfb
/detect.py
b9eda7f8dad358a6b46b1419bbb1114609b291fe
[]
no_license
JohanRodhe/rats
71cb57070b59b5891dc4c61a3bfdd7de029bb629
a5ad432b5334e8158a371cd0565494c07dd7cbb2
refs/heads/master
2021-08-30T15:17:33.360818
2017-12-18T12:15:09
2017-12-18T12:15:09
110,093,262
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
from keras.models import load_model import matplotlib.image as img import numpy as np import glob img_rows, img_cols = 123,41 n = img_rows * img_cols model = load_model('rats_cnn.h5') data = glob.glob('datasets/untagged_set/*.png') sounds = [] probs = [] for image in data: current_image = img.imread(image) cu...
[ "gustaf@oxenstierna.org" ]
gustaf@oxenstierna.org
2153aae17d3b4a3870357396d7a997fcb7a55b5c
3a9b1fd11567aa85de75aeb8200893841724d9c2
/10.regular-expression-matching.py
c5bb70ebcc49b3d8cc97a3e1add1907e2a0554a0
[]
no_license
kubefay/lcode
b9fe0823157f23a8d5935ca8db5beaaea8e4448e
9e64ef626edbe7b416d14c89d4a9dd60427c456d
refs/heads/master
2022-08-13T01:35:12.851416
2019-08-23T08:18:27
2019-08-23T08:18:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
# # @lc app=leetcode id=10 lang=python # # [10] Regular Expression Matching # # https://leetcode.com/problems/regular-expression-matching/description/ # # algorithms # Hard (25.56%) # Total Accepted: 331K # Total Submissions: 1.3M # Testcase Example: '"aa"\n"a"' # # Given an input string (s) and a pattern (p), impl...
[ "wxj06@qq.com" ]
wxj06@qq.com
723eeca76900ebe35f0b732286e7bd9845b4ffac
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/powerbi/v20200601/__init__.py
ce0d971ca28040740542ec1f335f01eed4ab4889
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from ... import _utilities import typing # Export this package's modules as members: from ._enums import * from .get_private_endpoint_connection import...
[ "noreply@github.com" ]
noreply@github.com
c1aefb532f6e4bdf8478b322d44e6aa91a1db9fb
3f2ee79f5c223e5a6a18ac98dcd339029cfd9f61
/Q4.py
703616bf52ede3e796b31909c3206d8a6d77d5f4
[]
no_license
AnAnteup/DL-lab3
2f46413584ec087f4e6b72bb37c2ac93d0a13294
5ce02032e7aa0cf07fc6f422a4e187f214ae52f7
refs/heads/master
2020-05-18T10:44:38.041421
2019-05-01T02:33:47
2019-05-01T02:33:47
184,359,546
0
0
null
null
null
null
UTF-8
Python
false
false
3,508
py
import ssl ssl._create_default_https_context = ssl._create_unverified_context import numpy as np import pandas as pd import nltk from nltk.tokenize import word_tokenize from nltk.stem import WordNetLemmatizer from bs4 import BeautifulSoup import re from keras.utils import to_categorical import random from tensorflow im...
[ "noreply@github.com" ]
noreply@github.com
de0f9a0969befc4ee52c508a629262ec5867a468
0de3c4e1b1823888432a7b5e89d21377f916cde9
/simdo/preprocess.py
03edb06eef0216a496f410c89211df443354c9a2
[ "MIT" ]
permissive
huyhoang17/simdo
39d89eea28416107a83f5591df6d8395621bd450
b857bd433cf3752879ef7af16edac65fd70481e5
refs/heads/master
2021-08-22T06:20:56.912328
2017-11-29T04:25:00
2017-11-29T04:25:00
109,582,742
1
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
import re import string VN_ACCENTS = "aáàảãạăắằẳẵặâấầẩẫậđ₫eéèẻẽẹêếềểễệiíìỉĩị" \ "oóòỏõọôốồổỗộơớờởỡợuúùủũụưứừửữựyýỳỷỹỵ" WORDS = ''.join( set(VN_ACCENTS) | set(string.ascii_lowercase) | set(string.digits) ) # punct_re = re.compile('[{}]'.format(re.escape(string.punctuation))) punct_re = re.compile('...
[ "hoangphan0710@gmail.com" ]
hoangphan0710@gmail.com
e8fa74ebec29bbed16c53e93c31916cb6776ed8d
687c01148a02e83528b610d56355d7aa03d751d9
/lecture2/ch2_1_1_function_basics.py
497ff2e9b54701d06cae735ac7f1d4089f712a68
[ "BSD-2-Clause" ]
permissive
keonsunkim/MessyPythonCrashCourse
4e2f3190d54659408ffcfca08b2ad7f3f4af67ae
62a588c7c50810b87ec42ef863c6dbbd109edbde
refs/heads/master
2020-04-07T19:52:43.120052
2018-12-04T09:52:59
2018-12-04T09:52:59
158,666,966
3
0
null
null
null
null
UTF-8
Python
false
false
2,085
py
""" Python functions 1-1! """ def our_first_func(): print('our first function!') print('has been called!') print('congratulations!') return None """ We declare a function by first stating 'def' at the beginning. Then we set our function name 'our_first_func' then end it with a bracket '()', The consi...
[ "keonsunkim@gmail.com" ]
keonsunkim@gmail.com
d78351cac5b067cdb790722d8ec7af8a8e0fbe9d
eed50a18b778191027193d462db4d7c5f4bd0879
/titanic/anna/get_wrong_predictions.py
5a4bc97c52186a7691ff7705b3bfb4885c3452a9
[]
no_license
Timopheym/kaggle
cc691b2868c8e727856ab73ad7b5e991f26b235f
467c6f252a863aee39ab7d743f865e3f23540b9d
refs/heads/master
2021-01-10T15:14:28.118261
2015-12-03T16:31:24
2015-12-03T16:31:24
47,059,737
0
0
null
null
null
null
UTF-8
Python
false
false
3,084
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 29 18:04:36 2015 @author: timopheym """ # Смотрим ошибки на алгоритах RandomForest и GradientBoosting # Оба излишне убивают мужиков(до 100%) и 1 класс (до 90%) # Оба излишне позволяют выжить ж.(до 90%) и детям (до 75%) # Общая ошибка 88 шт. (из 90 для RF и 130 для GB) # ...
[ "anna.zhikhareva.1@gmail.com" ]
anna.zhikhareva.1@gmail.com
21e704030931914edc0c2bee01d31dd0a0ee085f
00fa86cd010b639f160b5ef3608cf7c200b39bce
/__init__.py
adb342167a720726f5016413404bcad45d049927
[ "MIT" ]
permissive
benEnsta/dataplotter
3f25b7c63cbf6b66abb781a6437b638e6364a20b
55fcd08b0cab8fbc63c42c07e64c04852e518ead
refs/heads/master
2020-04-07T15:57:17.207551
2019-11-11T13:16:22
2019-11-11T13:16:22
158,508,833
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
# -*- coding: utf-8 -*- """ /*************************************************************************** dataplot A QGIS plugin PLot data from layer using matplotlib Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ------------...
[ "ben.ensta@gmail.com" ]
ben.ensta@gmail.com
043307178b7d7b8116690cdf6d5d01d6bc09f501
7fae7c36f0c7b61f897da94bc340d9937c77e78d
/scheduler.py
dac0cd458f8770ac5a1ca79c167a92f51325cda4
[]
no_license
linpengstc/scanner
a026ae616f332a2b73b4ef2e7e3f812bf1c6d6cb
77577b72d0cfcf30eac35ebb2d284df03feafaa9
refs/heads/master
2020-04-15T14:29:00.971146
2016-11-10T08:23:22
2016-11-10T08:23:22
43,601,623
0
1
null
null
null
null
UTF-8
Python
false
false
1,911
py
#-*-coding:utf-8-*- from pluginThread import PluginThread # #根据策略,启动插件,就是启动一个线程跑插件 #插件运行完后会返回一个状态 #用一个链表表示一条任务,线程之间的关系怎么解决? #比如一个插件依赖另两个插件,利用锁,线程之间的关系用锁来表示 #一个scheduler可以对应一系列settings #解析策略表,策略表示这样一个结构url-->策略,现在开发阶段,先假设只有一个url,对应一些列策略 #plugin表示基本的插件信息 #PluginThread表示将插件包装成线程的类 #p表示线程对象 class Scheduler(object): def ...
[ "linpeng1219@gmail.com" ]
linpeng1219@gmail.com
1e5eb40e8891a9aec41548f6316f002fa7e071dd
a2f4c12c8bc5623cd1f89ca0deec36192ad89b20
/test.py
24ddc41a95bd822f7b12e6c028acfe3433265a33
[]
no_license
trstamp/PythonGUI
573bc21bfa310ba03a04e2ffb87e83a1e0c84d02
abe5a2819be624adc2c4fc79a4469e73f9554983
refs/heads/main
2023-01-21T09:34:30.307728
2020-11-28T00:50:22
2020-11-28T00:50:22
316,625,536
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'test.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCor...
[ "noreply@github.com" ]
noreply@github.com
7968e0c4b33b68c006c9719517fc103744e3248d
e92ead424d25fafba9c1f827120b32c43136dc82
/LinuxTimeMachine/confs/mihanLenovo.py
7ddc21c92d01715dc1bebb3914083cc2f261638b
[]
no_license
seregega/LinuxTimeMachine
c8d06e368ef8e375d6eea14354f005bac3e9864c
3773d706782f21de6903133e00c38e586725ee18
refs/heads/master
2020-03-17T10:37:45.441406
2017-04-05T16:43:08
2017-04-05T16:43:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,611
py
import passwords backup_root = "/home/backuper/backup" machine_backup_root = backup_root + "/machines/mihanlenovo" mihanentalpo_me_backup_root = backup_root + "/machines/mihanentalpo.me" backup_host = "backuper@terrarian" variants = { "home_mihanentalpo": { "description": "Домашняя папка /home/mihanentalp...
[ "mihanentalpo@yandex.ru" ]
mihanentalpo@yandex.ru
4ed6d2be5a2ecc6ee09256fdba5c04b51480cc9d
8f4e9d24de3dfbd2efae58877ab0043a7da57831
/Learn_PhythonEx/ex7.py
1861080da37db39156e10187a6ec090f43328003
[]
no_license
dersonnex/Python_learning
1cbcfe428a4765adabdca65d275b63c37acb0ea8
7827962c5f208b36c6511a20d220cba609494853
refs/heads/master
2021-01-12T06:00:52.179117
2017-11-14T09:43:54
2017-11-14T09:43:54
77,274,272
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
print "Mary had a little lamb." print "Its fleece was white as %s." % 'snow' #'snow' is string, isn't variable. print "And everwhere that Mary went." print "." * 10 #what'd that do? end1 = "C" end2 = "h" end3 = "e" end4 = "e" end5 = "s" end6 = "e" end7 = "B" end8 = "u" end9 = "r" end10 = "g" end11 = "e"...
[ "noreply@github.com" ]
noreply@github.com
654be719a246f7995c8a25fca2c29c51550e9820
2c18eefa2d6f623ccfb91f8cc95ae37a457e64a6
/RunIII.py
8d32be11f80741f0d93ba46281a012941586e886
[]
no_license
cheetahray/modbus
a7696976fb4a91121301a08d2abeb53b5296ddca
07e4a2e8feb19a562aa1656177acbc09ad1d6365
refs/heads/master
2021-06-14T15:20:41.876891
2019-11-30T14:31:33
2019-11-30T14:31:33
103,142,797
0
0
null
null
null
null
UTF-8
Python
false
false
17,504
py
#!/usr/bin/env python ''' Created on 12.09.2016 @author: Stefan Rossmann ''' from ModbusClient import * import time import OSC import _thread import sys import types import math import random import argparse IN = [False, False, False, False, False, False] def sec(idx, idx2): IN[idx] = False def click(X, Y): ...
[ "ray608@gmail.com" ]
ray608@gmail.com
926faf65adf7c2c4a5cbe0c87e1b975e6a4cfd0c
4ca7dd2dd6099b0118dfb48cf95f10b3a3849cf7
/invoicemanagement/settings.py
a492b6c9e41ec0d23bcb944756ead160f1231094
[]
no_license
kamwanasamwel/invoicemanagement
bfb6326b56c838829c4e79648869115f35d900c7
6291bcf03710f07defbf7de0e3889c2bb230d665
refs/heads/master
2023-04-09T04:10:02.660065
2021-04-23T12:48:42
2021-04-23T12:48:42
360,785,236
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
""" Django settings for invoicemanagement project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from...
[ "kamwanasamwel@gmail.com" ]
kamwanasamwel@gmail.com
e1ababfcc521c28a5c929c7239d6751c08fdb163
9ac6f422c4d6563064eb472764ba35947a6cdd34
/PyTorch-Deep-Image-Steganography-master/trans.py
8c6aec45336e109317d69b1003badb14b4ffc5d1
[]
no_license
AntiverX/SRA
7b0229d043a0d2eb7d01551527685326fdcf5a16
7df393471004195a1d9acb1f959a978c97f56d2e
refs/heads/master
2023-07-20T05:23:20.695967
2021-08-27T15:56:04
2021-08-27T15:56:04
390,915,137
0
0
null
null
null
null
UTF-8
Python
false
false
5,975
py
import argparse import os import shutil import socket import time import torch import torch.backends.cudnn as cudnn import torch.nn as nn import torch.nn.parallel import torch.optim as optim import torch.utils.data import torchvision.utils as vutils from torch.autograd import Variable from torch.optim.lr_scheduler impo...
[ "antiver@foxmail.com" ]
antiver@foxmail.com
91ed432c9b2c204c32bf486665b2c8e81b7188ae
a3b82ac947dea2aefac8e2f26279c75399c7f937
/poet_tea_app/urls.py
ea19078a373c5a2aadb8272a384aab8f736f0921
[]
no_license
dezrenmikell/Poet-Tea
e6ced003fbcdd79a5c5429d47f21d5739b82c0d5
8e100b0668300d1c68caa943f9136955577887b6
refs/heads/master
2020-05-12T18:55:49.911883
2019-04-23T17:57:22
2019-04-23T17:57:22
181,541,818
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
from django.urls import path, include from rest_framework import routers from . import views router = routers.DefaultRouter() router.register('teas', views.TeaView) router.register('ingredients', views.IngredientView) router.register('jewlerys', views.JewleryView) urlpatterns = [ path('', include(router.urls)) ]
[ "dezren.mikell@yahoo.com" ]
dezren.mikell@yahoo.com
c6b297aa3d27c55eef65942c1d5473946e95f019
7c9200c427910beab592d5064509d705e93c0554
/test/b.py
d96b6abf01834a536970687a6731d4d1c5ad488a
[]
no_license
gs88pansh/ppaper
280db5cced2168d83dd2b1f34f95f06f8b4d61f2
c36e54566034ceae99b52b7448cbfed34235f3dd
refs/heads/master
2020-04-11T23:02:16.385595
2019-01-12T01:18:56
2019-01-12T01:18:56
162,155,338
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
import tensorflow as tf i = tf.Variable(2, dtype=tf.float32) ra = tf.placeholder(dtype=tf.int32) cost = tf.pow(i, 4) def cond(a, n): return n < ra def body(a, n): n = n + 1 cost = tf.multiply(a, a) return cost, n b, v = tf.while_loop(cond, body, [i, tf.constant(0)]) i_grad=tf.gradients(b,[i]) ...
[ "gy.guiyue@qq.com" ]
gy.guiyue@qq.com
959f0281c21c373f74b1a67a809b5cba5f6918eb
a312efc2bcd8dbdaac2da037de9516c6c76f0cdf
/data/queries.py
bf80035b605a4517206120b560d40be6288fb027
[]
no_license
zfs95/MovieSeries
0d597803f6ade5ebbeec4a062aa604afafec3fcd
f1addb3f1f5d8ee4a382c0fae3dc8f076db4b7f9
refs/heads/main
2023-06-04T10:45:25.480003
2021-06-13T10:20:35
2021-06-13T10:20:35
376,502,714
0
0
null
null
null
null
UTF-8
Python
false
false
4,452
py
from data import data_manager from psycopg2 import sql def get_shows(): return data_manager.execute_select('SELECT id, title FROM shows;') def get_actors(): return data_manager.execute_select('SELECT id, name FROM actors;') def get_single_actor(id): query='''SELECT name FROM actors WHERE id=%s;''' r...
[ "zfs95@yahoo.com" ]
zfs95@yahoo.com
17a92b1f3e8481c39a88bfcce5206a41d042f85e
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03003/s061738428.py
e296bd1653a5eb16609ce574bdaa3369516bc4d2
[]
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,199
py
#ABC130-E Common Subsequence """ 問題: 整数列のリストが与えられる 空であるものも含めて、sとtの部分列として等しいものの個数を求めよ 解法: LCSのmaxではなくsumのバージョンでかつ、 数え上げなので重複をなくさなければならない。 具体的には、 dp[i][j]:sをi文字目迄見た時のtをj文字目迄見た時に、 dp0:横方向(j方向)を優先して遷移した後に、縦方向(i方向)への遷移を行った時の合計 dp1:縦方向、横方向への遷移を行った時の合計 として、dp1[-1][-1]が答え。 """ import sys readline = sys.stdin.buffer.readline d...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
7e830a4db04fb672068deb18e2a20094d64f9865
ca8143c74f738312ca19102b98a0e041e4f96b39
/Testtensorflow005_1.py
4cadf981457d44657fc158da236b57ccecc9b7ef
[]
no_license
kmustzjq/StudyPython
3eaa34804df74efcd9ffc72b3102b0e06ecb2645
b23861e9f64913bd94ace008495dda89f0a22866
refs/heads/master
2021-08-25T09:26:55.631878
2021-08-09T00:12:35
2021-08-09T00:12:35
174,287,048
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# -*- coding: utf-8 -*- """ Created on Mon Feb 26 09:51:43 2018 @author: Administrator 通过设定默认会话计算张量的取值 """ import tensorflow as tf a=tf.constant([1.0,2.0],name="a") b=tf.constant([2.0,3.0],name="b") result=tf.add(a,b) sess=tf.Session() with sess.as_default(): print(result.eval())
[ "noreply@github.com" ]
noreply@github.com
8ff5d228c6b139160f673b65fc3fdee4efa73821
f57b6dd374c5d417478b1b7fdf9f468dfba46d05
/Models/neural_network_(fasttext).py
f7547d2eef692f5d4e9058ac0c6e2aaf685ab4d4
[]
no_license
Nayeem064/SentNoB
8c24024858e16e7ca31c19b5863a78f4622700e0
d9249fc143a81eeaa153b2db9c8a359c17a97f7e
refs/heads/main
2023-08-06T10:12:47.006996
2021-10-10T14:45:15
2021-10-10T14:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,134
py
# -*- coding: utf-8 -*- """Neural Network (fastText).ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1gVekVQV4NUuA-DOcMSI6XUJOn2_6rre4 """ import os import torch from torch.utils.tensorboard import SummaryWriter import numpy as np # import torch....
[ "noreply@github.com" ]
noreply@github.com
d6c44a3ffa12b15844a15eec93e1fb8552b1bdaa
c09decad4cb64b151913c25192eaa13348f63833
/228_middle_of_linked_list.py
a6d7fca7e7cbd173247de187ff3f6bccce225a7d
[]
no_license
YI-DING/Lintcode
ef890e53282b9668064a7306329ecd0599dd114b
89a4cf703eb7a79bd62b6cc41f87242489692b88
refs/heads/master
2020-06-17T12:57:44.184391
2019-07-19T16:31:32
2019-07-19T16:31:32
195,931,377
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
""" Definition of ListNode class ListNode(object): def __init__(self, val, next=None): self.val = val self.next = next """ class Solution: """ @param head: the head of linked list. @return: a middle node of the linked list """ def middleNode(self, head): if...
[ "yiding1@uchicago.edu" ]
yiding1@uchicago.edu
500fc4e6c97a72dc6703594efe00e2d77f4fdff6
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/1935.py
793ff52e55241fc12bc0b977c6c0e8c244a5f7aa
[]
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,812
py
from itertools import groupby import math """ I KNOW ITS SLOW BUT I WANTED TO TRY THIS SOLUTION ANYWAY """ FREE = False OCCUPIED = True def get_stall_value(stalls, stall_index): left_free_space = right_free_space = 0 tmp_index = stall_index while True: tmp_index -= 1 if stalls[tmp_in...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
3b27a6cf5d29a1e3bed4a079fff7eba1493dbdca
7355aff2c6c96b2a547dcc7f511ff1235e750cdb
/example1.py
2e6d71a825477dfc9561bb58ff32586ba9b94c72
[ "BSD-2-Clause-Views", "LicenseRef-scancode-public-domain", "BSD-2-Clause" ]
permissive
Chuckbasstan/PyFeatureTrack
824b9ba26313c11d85175bac1a4d3a8cdcd59340
dc08768de02e1cb174bfdf47c089419064c36a65
refs/heads/master
2021-01-16T20:36:43.961380
2012-04-19T19:12:15
2012-04-19T19:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,933
py
#********************************************************************** #Finds the 100 best features in an image, and tracks these #features to the next image. Saves the feature #locations (before and after tracking) to text files and to PPM files, #and prints the features to the screen. #****************************...
[ "t.sheerman-chase@surrey.ac.uk" ]
t.sheerman-chase@surrey.ac.uk
f87bc50368ca40ec6af332bd9e73e7c5ecaf354d
e336bbe9ea2ad378b7cf801384109e1d1fdab6c5
/DeepDream/isprobavanjeGradijenta.py
92ccdbbb0fd29d8b95399d5e55413b5010570fa1
[]
no_license
viktor-ktorvi/Deep_Dream_PSIML6
531b0f0baaa8f43000c0f3ccc4a3d0cfccb2a03d
1bb8e2dbd1b959c1721041751e9c82dfcc1e8258
refs/heads/master
2022-11-28T17:24:42.956558
2020-08-12T15:47:19
2020-08-12T15:47:19
285,327,037
0
2
null
null
null
null
UTF-8
Python
false
false
2,053
py
import torch import os import numpy as np import cv2 from PIL import Image import torchvision.models as models import requests from matplotlib import pyplot as plt import torchvision.transforms as transforms from skimage.transform import resize from utils import * if __name__ == "__main__": image = ...
[ "noreply@github.com" ]
noreply@github.com
dba9081536b727de5f6fa261fcca19e44c3acbc6
5b4312ddc24f29538dce0444b7be81e17191c005
/autoware.ai/1.12.0/devel/lib/python2.7/dist-packages/vector_map_msgs/msg/_LaneArray.py
75571a42fa4d6bf0fb1530dd40fb1e960b288b9f
[ "MIT" ]
permissive
muyangren907/autoware
b842f1aeb2bfe7913fb2be002ea4fc426b4e9be2
5ae70f0cdaf5fc70b91cd727cf5b5f90bc399d38
refs/heads/master
2020-09-22T13:08:14.237380
2019-12-03T07:12:49
2019-12-03T07:12:49
225,167,473
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
/home/myr907/autoware.ai/devel/.private/vector_map_msgs/lib/python2.7/dist-packages/vector_map_msgs/msg/_LaneArray.py
[ "907097904@qq.com" ]
907097904@qq.com
b51d83ab8dfe3c254d196cc52af5051694828123
40c2b3ceba4e20ee3c9e7cb6e6a6f51a5be4f662
/deepctr_torch/layers/__init__.py
81fa2672bc6e8841d40df01945d67c30760f1b90
[ "Apache-2.0" ]
permissive
ajing/DeepCTR-PyTorch
40e02d40fca2f84ebd09d151b63143b5a2758b4c
cb2229e8bf88e1492be94fff832a19682353d7fe
refs/heads/master
2020-07-29T19:46:44.555770
2019-09-21T06:39:06
2019-09-21T06:39:06
209,937,774
2
0
Apache-2.0
2019-09-21T06:38:35
2019-09-21T06:38:35
null
UTF-8
Python
false
false
188
py
from .interaction import FM,AFMLayer,CIN,InteractingLayer,CrossNet, SENETLayer,BilinearInteraction,BiInteractionPooling from .core import DNN,PredictionLayer from .utils import concat_fun
[ "noreply@github.com" ]
noreply@github.com
412df02e10f67b5012b5a3d35027d0aec31b5eee
008089389e3e8498cfb5e14eec93dc85a59ab35e
/Importing.py
ad03f7db754fb45bc74f6c7a9c4f2d8c1a6f9f55
[]
no_license
hiren8347/Pandas-Importing-Exporting
f71cae3b1906e96d2151c5ea3094e98249c40341
8d68dac6c47d19046d845647249525ae7f262ed4
refs/heads/master
2022-12-01T16:48:42.024490
2020-08-17T08:05:07
2020-08-17T08:05:07
288,117,727
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
import pandas as pd ls = ['aa','bb','cc','dd',1,2,3,4,5,33.4,66.7,12.3] #ls1 = [1,2,3,4,5,6,7,8,9,10,11,12] ls1 = ['a','b','c','d','e','f','g','h','i','j','k','l'] data = pd.Series(ls,index=ls1) #default index start with 0 print("::: pd.Series() example::: \n") print(data) dict = {'num_legs': [2, 4, 8,...
[ "noreply@github.com" ]
noreply@github.com
bed312a40c079e9fe19ae3dc2998c51a123326ac
938d3b60e3b7e84b3954d043670c31e46f8d7cf2
/myapp/migrations/0014_women_cloth_women_cloth_stock.py
8a0bc9587e6800ad65fac8ce5a7433ed9acc1cf5
[]
no_license
Akilmohammad/E-Shopper
6a222e0007f7806ca4a88847e0ed2ec984a81afb
536b971805d83673fc690afffdf86dbc301fd3e2
refs/heads/master
2023-02-07T22:28:25.900806
2021-01-02T02:51:22
2021-01-02T02:51:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
# Generated by Django 3.1.2 on 2020-11-25 08:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0013_auto_20201124_1215'), ] operations = [ migrations.AddField( model_name='women_cloth', name='women_clot...
[ "patelakil420@gmail.com" ]
patelakil420@gmail.com
e929d2cfba8679d2fd8941b597c3e922d9e02a91
b93d939f18b427fb3518de481401a4f62e15efb9
/venv/Lib/site-packages/pyfbx/pyramid_marker.py
62744628d2adb7b0cb8143a3d75cf465fc8cbc98
[]
no_license
nannafudge/fbx_action_merger
55f6660b0b669f39608c46d015408c0138b166cb
1cf505882a98f489777b762fd9629a7202a503d8
refs/heads/master
2022-09-21T09:34:00.010421
2020-06-01T07:40:27
2020-06-01T07:40:27
264,981,752
2
1
null
null
null
null
UTF-8
Python
false
false
3,263
py
import fbx class PyramidMarker: def __init__(self, scene, name): self.scene = scene self.name = name def create(self, base_width, height): self.base_width = base_width self.height = height pyramid = fbx.FbxMesh.Create(self.scene, self.name) # Calculate the v...
[ "sophie.bissaker@gmail.com" ]
sophie.bissaker@gmail.com
35477a0a797d97badcfe3d3798613b7b446695c5
f753ad6a169fd58a25446cd76e5eebe508ce1d0d
/RealTime_MachineLearning/Solucion1/tiempo_real_v1.py
f7886b3d8ff45f66c436ba92a0b52f23d43f96e5
[]
no_license
franciscoarcos19/Proyecto_Protesis
08dbaf505e8aefc9dba6ed00edad42242c2f2d02
f95966164d7bceb3f27e123a516922acbbe83f74
refs/heads/main
2023-08-29T15:26:27.636769
2021-11-10T12:35:36
2021-11-10T12:35:36
377,869,518
0
0
null
null
null
null
UTF-8
Python
false
false
2,086
py
import itertools import time from bbb_pru_adc import capture import random import numpy as np import pickle clasificador = pickle.load(open('DTCPickle_file3', 'rb')) y0 = [0]*100 y1 = [0]*100 y2 = [0]*100 y3 = [0]*100 ii=0 with capture.capture([0,1,2,3], clk_div=1, step_avg=0, max_num = 25, target_delay=190000, auto...
[ "noreply@github.com" ]
noreply@github.com
dca54492ed6b6c0a549d2e791f152c030e6e0f41
12dcd169b2bbe1e446253194510e0c6f1f3344b7
/Valid_Sudoku/solution.py
ca43c32c5488650210fd47320726fafb976f7c2f
[]
no_license
LeoHung/myleetcode
48b6c73ed22a034a974d0f35b83ea4e6ebda84b4
017167910b510ed6fdc5ed878db9bcd4c6f31576
refs/heads/master
2015-08-15T04:57:26.774006
2015-06-16T04:51:09
2015-06-16T04:51:09
27,021,730
0
0
null
null
null
null
UTF-8
Python
false
false
1,645
py
class Solution: # @param board, a 9x9 2D array # @return a boolean def isValidSudoku(self, board): for i in range(9): tmp = [False for k in range(10) ] for j in range(9): v = board[i][j] if v == ".": continue ...
[ "c2016.tw@gmail.com" ]
c2016.tw@gmail.com
78e9b33222e78a0b72a0ad0b996df1944e46dc29
8cf769a78223a7320c7ad6db600c073e3984b37c
/implementation/organizer.py
2e7de363b05be3c1e36c45fbea01ab12a83b880d
[]
no_license
GACiobanita/Customer-Distance-Test
f76209278b328b18e9cccb76153ff8b5276dca4a
42dcea93fd5991d573bd4d480ec339977f4484ec
refs/heads/master
2020-06-04T21:53:56.849882
2019-08-11T16:15:10
2019-08-11T16:15:10
192,205,264
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
import json import os #The Organizer class will take the JSON file and verify if it is valid #It will either use a file passed by the user or the default one, as part #of the project class Organizer(object): def __init__(self): self.ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) self.CUSTO...
[ "ciobanita_alex@yahoo.com" ]
ciobanita_alex@yahoo.com
63255628e0bc3ec946d9225a5e66695612a125ad
2a8fc269c0ad8b398965f0a3af927cfaad445358
/RealPython/Part 1/00 Before github/test.py
9a36171fcae080b72df844df9ab2dc861ddc8dc8
[]
no_license
eirikhr/noroff
24b45479df74ed06e165358bdf09662ac071a2a4
b01b0da877ac7be9bca786950b82d75be6180486
refs/heads/master
2021-01-10T12:33:38.623757
2019-01-07T20:18:16
2019-01-07T20:18:16
45,453,477
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
def addering(n1, n2): nummer = int(n1)+int(n2) return nummer def subtraksjon(n1, n2): nummer = int(n1)-int(n2) return nummer def gang(n1, n2): nummer = int(n1)*int(n2) return nummer def deling(n1, n2): nummer = int(n1)/int(n2) return nummer print("print(addering(1, 2))") print(ad...
[ "erynning@gmail.com" ]
erynning@gmail.com
8186b52af985f3646dfe9bb9ffcc24f3f9393175
9e72334a9895fc5948374554c6e96fab09736048
/WorkingFolder/MTEC/merge_csv_files.py
5bd2b8db3299d8a60e1c65b3f58c63e21996c35c
[]
no_license
meistalampe/MTEC
f541e874309266533e9b7349db3acfd9faf437df
ddd61abd3b7e157394031c5a92fd0fac4fb44969
refs/heads/master
2020-05-25T05:00:23.879703
2020-01-23T21:02:52
2020-01-23T21:02:52
187,617,344
1
0
null
null
null
null
UTF-8
Python
false
false
3,076
py
import os import csv import collections from empatica_data_extraction import * # Initialize named tuple Sample Sample = collections.namedtuple('Sample', 'tag, time, value') def main(): verbose = False # print header label = 'MERGE CSV' print_header(program_label=label)...
[ "meistalampe.dl@gmail.com" ]
meistalampe.dl@gmail.com
0ae899d23ae015fa404ce12fddaeb90360443dcc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_374/ch26_2020_03_23_11_49_24_338094.py
cc35e8b2f881012697174064d14183bc52630ce9
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
val = int(input("Digite o valor da casa ")) sal = int(input("Digite o valor do seu salário")) ano = int(input("Digite o tempo em anos que pretende pagar ")) calculo = (val/ano) if calculo <= 0.3*sal: print("Empréstimo não aprovado") else: print("Empréstimo aprovado")
[ "you@example.com" ]
you@example.com
892f85307d03df55febc4f0795a971099d199ba3
ce164424e6a40d8c317e185007e631f90f3c6459
/Classification2/speaker.py
3c958c364ffdffd8fe3c912b4d3e7abe8232b24e
[]
no_license
cdamhieu/Speaker_Identification
803e0ba5ad592bfc86fac2a7eb5d759adf524339
e847d5b87714085f9319f1353f59ab2d9d051356
refs/heads/master
2020-03-20T21:41:28.182831
2018-06-19T15:51:04
2018-06-19T15:51:04
137,754,576
0
0
null
null
null
null
UTF-8
Python
false
false
2,201
py
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- """ @author: Caroline Dam Hieu """ import os def speaker_list_TIMIT_train(): """ Return the list of all speakers of TIMIT_TRAIN Returns ------- speaker_list List of all speakers in the TIMIT TRAIN """ speaker_list = []...
[ "caroline.dam-hieu@inria.fr" ]
caroline.dam-hieu@inria.fr
05618f0fd49a1b08ac2d37a8c4844d6b6ad7cfb3
3bacafe94f5dcd312e94753fee7d1e949f5f724e
/experiments/apps.py
437d94d1252cfef9726f3062e95604b1bb69525c
[]
no_license
courageousillumination/django-experiments
39a55997f91fd86516cb73f67e3b1381a6ced312
78f4c7a1051b52bcf0afec1d764e6b70a4e18352
refs/heads/master
2020-12-02T22:23:54.977008
2017-07-21T02:56:38
2017-07-21T02:56:38
96,127,501
0
0
null
null
null
null
UTF-8
Python
false
false
182
py
"""Application config for the experiments app.""" from django.apps import AppConfig class ExperimentsConfig(AppConfig): """A very basic app config.""" name = 'experiments'
[ "tristanr93@gmail.com" ]
tristanr93@gmail.com
67f9eb131a4fe209142b2e9cde4c78e0d5898318
f0cddf6fb1b58f4e80e169eda4897a3ab864cd48
/login/app.py
aee1a989b6b7a52299d82633094ed169ca07511c
[]
no_license
skrstv123/LEARNING-FLASK
8a3134bf2198051601a2ff8f92df8cd2a2ed7b90
2d3912fd251b763deb5f7f7468d9a5e79bf7ef4f
refs/heads/master
2022-12-10T19:06:28.623200
2020-01-19T20:08:28
2020-01-19T20:08:28
229,042,034
0
0
null
2022-12-08T03:27:21
2019-12-19T11:38:17
Python
UTF-8
Python
false
false
2,279
py
from myproject import app,db from flask import render_template, redirect, request, url_for, flash,abort from flask_login import login_user,login_required,logout_user from myproject.models import User from myproject.forms import LoginForm, RegistrationForm from werkzeug.security import generate_password_hash, check_pass...
[ "skrstv123@gmail.com" ]
skrstv123@gmail.com
c91e1d388a8ad1a81929970ac153c257cf42b320
0f51242c7e8b84a28f0370b4e346381b291638db
/web_progress/models/ir_actions_report.py
83a6b6478f3795ee0d5204f055e7ef0378f45ec6
[ "Apache-2.0", "LGPL-3.0-only" ]
permissive
007gzs/odooDingDing
83bb9679bc09a2267f10caed430919f66cec6e89
deaf38151d022a621096e84c8495b1a51265a991
refs/heads/master
2020-07-06T16:54:54.050751
2019-08-15T09:29:22
2019-08-15T09:29:22
203,084,366
2
0
Apache-2.0
2019-08-19T02:31:06
2019-08-19T02:31:06
null
UTF-8
Python
false
false
1,377
py
# Part of web_progress. See LICENSE file for full copyright and licensing details. from odoo import models, api, registry, fields, _ class IrActionsReport(models.Model): _inherit = 'ir.actions.report' @api.multi def render_template(self, template, values=None): """ Add progress_iter to th...
[ "lxd@ongood.cn" ]
lxd@ongood.cn