blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3ffa3a1025a8bcc8aa95470516b4fee41eef8e44
d3e34ab2952a9fe8cd24e2852ceb114f74922143
/tools/codechecker_report_hash/setup.py
9cc17562fb031af56e7a6d46f83cc347a3c63ee4
[ "LLVM-exception", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
nettle/codechecker
e2d2f24a669996118af56c7d43160e1f287adf61
1cc5855c7c2820b2a1dccb8c2a6fac1e19b344ab
refs/heads/master
2023-03-30T14:07:25.190423
2021-04-06T09:32:00
2021-04-06T09:32:00
347,065,829
0
0
Apache-2.0
2021-03-12T12:53:37
2021-03-12T12:53:37
null
UTF-8
Python
false
false
923
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="codechecker_report_hash", version="0.1.0", author='CodeChecker Team (Ericsson)', description="Module to generate report hash for CodeChecker.", ...
[ "csordasmarton92@gmail.com" ]
csordasmarton92@gmail.com
d6b79f195e1024837521c156da24a89a80dfdd1a
7cde5f3c213573310c030e272b3075270106962b
/venv/Scripts/pip3-script.py
edcdaea0e93e091203d7cf78469c821f41e5baa4
[]
no_license
sumitpagrawal/battle
85f2b76efebb7795cd99db9420ea661710e18242
03a1f964e89b425d1f97c0d1705bfe2300060ba8
refs/heads/master
2020-03-11T03:22:56.787408
2018-04-19T02:39:37
2018-04-19T02:39:37
129,745,510
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
#!C:\Users\Sumit\PycharmProjects\battle\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])...
[ "sumitpagrawal@gmail.com" ]
sumitpagrawal@gmail.com
f5540a46a0e86c10dd37d5d964135414abbf3679
4cbf8f80a2e3df5e02bf78328374dab3ac5ddc88
/jianzhi/i32_level_order.py
4eb964424ccc3bad46d969d850faace9797b12ed
[]
no_license
achenachena/leetcode
be8d3d49135ea1f564beb5ea0c298ead471d4d4d
f76a7da009cb0819b53c4d59576ce9a8c95834fd
refs/heads/master
2022-07-30T15:09:04.495430
2020-05-24T18:08:01
2020-05-24T18:08:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
''' @Author: your name @Date: 2020-05-06 04:26:37 @LastEditTime: 2020-05-15 12:20:50 @LastEditors: Please set LastEditors @Description: In User Settings Edit @FilePath: /leetcode/jianzhi/i32_level_order.py ''' # -*- coding: utf-8 -*- from collections import deque # Definition for a binary tree node. class TreeNode: ...
[ "lmcmelon@gmail.com" ]
lmcmelon@gmail.com
7c16ce3294db35fdd9a9ef74ef3c1c7093c613b0
6100001f412c42f5ab98c77abbf0ae4a921dba97
/src/ui_main.py
cd08ea9df2421962ccb8ad03daa6483d02ecc41b
[]
no_license
WllRod/ARX
df151fe82794a8d25ba8c76173bd56f18d2ec9f2
54767709b2b5da7a5e23d2238159299f8f78fa89
refs/heads/main
2023-04-10T19:33:13.106139
2021-04-21T21:29:17
2021-04-21T21:29:17
358,576,361
0
0
null
null
null
null
UTF-8
Python
false
false
106,889
py
from PyQt5.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint, QRect, QSize, QUrl, Qt, QThread, QTimer, QDate, QTime) from PyQt5.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont, QFontDatabase, QIcon, QLinearGradient, QPalette, QPainter, QPixmap, QRadialGradient, QPixmap) from PyQt5...
[ "wll_rodrigues@outlook.com" ]
wll_rodrigues@outlook.com
e8cbd664bb69965259aed7df9ffda6a6e1708bd8
e7fd253ddf7665083abe125a37dafea1e2380c47
/venv/bin/rst2xml.py
1e8a82f2c809316cacab5c5be1b233a1ff61a9e0
[]
no_license
amitgupta1985/albums
b788d3558c59c97b4f3c24ea337c294334fe37da
a5acc07403221f817c62a665c4830c40e79b0e9a
refs/heads/master
2020-06-24T01:06:29.082521
2019-07-25T09:40:50
2019-07-25T09:40:50
198,802,425
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
#!/home/kiwitech/albums/venv/bin/python3 # $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing Docutils XML. """ try: import locale locale.s...
[ "amit.gupta@kiwitech.com" ]
amit.gupta@kiwitech.com
844516a06966170662e625b945a48b97ae21e0a8
9112f8c89ece1d613db4ce6a4bf2c944d068a526
/hrms/leave/migrations/0001_initial.py
5dc20343349e95608346904d09e081b95f4628fe
[]
no_license
vinodp9200/vinodp9200-Ecommerce
0f03306f8461738148f422765040813207066545
c33b35fd51e877e0ed370eafdaeca67f334e0569
refs/heads/master
2023-01-31T17:42:31.629313
2020-12-16T05:04:14
2020-12-16T05:04:14
321,437,398
0
0
null
null
null
null
UTF-8
Python
false
false
1,186
py
# Generated by Django 3.1.1 on 2020-12-09 05:09 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='emp_Leave', fields=[ ('id', models.AutoFiel...
[ "vinodpalr2020@gmail.com" ]
vinodpalr2020@gmail.com
0e10bb119dad92159c84d65e61fbe16a80bca333
10f0193389a161c447061d06a87c4fae8fc31bb5
/huobi/model/orderupdatenew.py
51c567837fd5cfda68b30d5a52efdf3ac769b7be
[ "Apache-2.0" ]
permissive
neosun100/huobi_Python
1d9fca2c24673076516d582c263445c17626bd8e
70b280f751e6159b76f0cc43251896a754c1b559
refs/heads/master
2021-01-14T16:47:30.471992
2020-02-24T08:45:40
2020-02-24T08:45:40
242,685,209
0
0
Apache-2.0
2020-02-24T08:38:33
2020-02-24T08:38:32
null
UTF-8
Python
false
false
2,896
py
from huobi.model.constant import * class OrderUpdateNew: """ The detail order information. :member match_id: The Match id for make order. order_id: The order id. symbol: The symbol, like "btcusdt". state: The order state: submitted, partial-filled, cancelling, filled, canc...
[ "devin0thinking@gmail.com" ]
devin0thinking@gmail.com
494b5076431ac1e464e23d07bb6a2af77496a1af
83a922ce0e7eb5ca873ce914da22c103aa16796a
/auto_deeplab.py
3cf8cd2a54637909a85e5321248ea17c9de43594
[]
no_license
vdesgrange/PC-AutoDeeplab
db81ed920847427638fb8f4d200d05f6837764b6
4f54cf4d61937c9ab7fbe076d1a4756441643cf4
refs/heads/main
2023-06-27T09:43:45.517883
2021-07-27T18:54:32
2021-07-27T18:54:32
345,980,928
0
0
null
null
null
null
UTF-8
Python
false
false
28,790
py
import torch.nn as nn import cell_level_search from genotypes import PRIMITIVES import torch.nn.functional as F from operations import * from decoding_formulas import Decoder class AutoDeeplab(nn.Module): def __init__(self, num_classes, num_layers, criterion=None, filter_multiplier=8, block_multiplier=5, step=5, ...
[ "viviane.desgrange@gmail.com" ]
viviane.desgrange@gmail.com
d422fa3d83e6acc40a32edb54233865e7f7b1346
8c09bff52e088ed120138f891d4f7e8a2c846d1c
/market/admin.py
36d8acb314d189fe1cd2774fcc8b1ac121a80574
[]
no_license
evjeny-23/it-class
1d23e466a0a1a8546db556caf2888323c4aae2ee
807a8ff4d0adc15c5bf9e00591d24adc3f74081e
refs/heads/master
2022-12-23T21:26:45.377278
2020-10-01T12:46:28
2020-10-01T12:46:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
from django.contrib import admin from django.utils.safestring import mark_safe from .models import MarketProduct, BoughtProduct class MarketProductAdmin(admin.ModelAdmin): list_display = ("show_image", "product_name", "product_size", "product_color", "price", "remained_amount") search_fields = ("product_name...
[ "karimhamid@yandex.ru" ]
karimhamid@yandex.ru
83cfcf533360789fef7232e6dfebd4bffaa64316
aad5ec1eb9988e53ca6e12dc49f21e11c28c2094
/flask_app/__init__.py
08ee534b5b5bec673e7720426ebdcdd4d5a034ed
[]
no_license
jase-k/validationsample
a93615abbf62cb900d733d587f51613588e46a8c
e02a5aba475daf93b0ad40ca2a522577d388d6dd
refs/heads/master
2023-08-03T01:07:29.313926
2021-09-14T22:58:05
2021-09-14T22:58:05
406,251,914
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from flask import Flask app = Flask(__name__) app.secret_key = "I Don't Have a Secret"
[ "jase@perfectmypodcast.com" ]
jase@perfectmypodcast.com
76105866fd352439a4e5356f8e3a949276b3454d
8bc55ae3b8ed4835f2aeb7c971db9526a96a2da7
/exercise/ex_if_else.py
809ce4e4422f951317d6d6f15ce889302fb79d98
[]
no_license
pavichaya0509/workshop2
f67f916bee18a694243a9950a6220b1d8b954c09
d87b4095393c1bddaf3c3791db71ebc9c3a6b4f5
refs/heads/master
2023-03-16T17:07:28.950426
2021-02-20T15:54:38
2021-02-20T15:54:38
328,288,537
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
score = int(input("Enter your score : ")) if(score >= 80): print("grade : A") elif(score >= 75): print("grade : B+") elif(score >= 70): print("grade : B") elif(score >= 65): print("grade : C+") elif(score >= 60): print("grade : C") elif(score >= 55): print("grade : D+") elif(score >= 50): pr...
[ "pavichaya.so@gmail.com" ]
pavichaya.so@gmail.com
de4704ed4cdba217c126a66d51738d3393fbff47
ff4b1c283a7a73935843ca6476eda1bef4ee604b
/test/sample_from_the_prior_test.py
04e5c6b2cbe7690eeff94254513eaf61cc4eee4c
[ "MIT" ]
permissive
WuShichao/bilby
2e367838e827d49a416d3bf96c8fc32ad6837fc2
70aa5fd2becc82eb0a0ab939928fd11197a27790
refs/heads/master
2020-06-18T09:33:31.567302
2019-07-07T07:29:08
2019-07-07T07:29:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,105
py
from __future__ import absolute_import import shutil import os import logging import unittest import numpy as np import bilby from scipy.stats import ks_2samp, kstest class Test(unittest.TestCase): outdir = 'outdir_for_tests' @classmethod def setUpClass(self): if os.path.isdir(self.outdir): ...
[ "gregory.ashton@ligo.org" ]
gregory.ashton@ligo.org
b9a405d1957f9cf5a3cbaa1f556f7b98e1945f42
18c91e716b153a87750cb1eea590af8992841d2a
/19_jan.py
4c94bb15af37a647a1b30fe023f602d488035705
[]
no_license
willowkim8/basic_python
570c75d6f3de566444ce4599e8dc7bd749d91abf
e34b4d6fd50cac24534f295a1be053733a29194c
refs/heads/master
2023-05-10T08:33:59.665097
2021-06-24T14:38:54
2021-06-24T14:38:54
377,054,233
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
n = 1 n += 1 print(n) # n++ print(n)
[ "[kin7605@naver.com]" ]
[kin7605@naver.com]
71d0fc6b7b0fe5866403206456913e6071645006
b5a49ef919765317aa503d31d1374a7425d73e88
/ghost/modules/click.py
881feae1b864bd8cbb95440eab3d3c869dd29168
[ "MIT" ]
permissive
THURA99JAY/Ghost
8c664953ccab64ace8bd45aade2ce06870284a39
6b1f853541e235032b21cbdaba6a7cee38a9f944
refs/heads/main
2023-07-01T21:30:57.301720
2021-07-31T21:15:20
2021-07-31T21:15:20
393,474,665
0
0
MIT
2021-08-06T18:59:47
2021-08-06T18:59:46
null
UTF-8
Python
false
false
1,736
py
#!/usr/bin/env python3 # # MIT License # # Copyright (c) 2020 EntySec # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use,...
[ "noreply@github.com" ]
THURA99JAY.noreply@github.com
0f5f1969684853c5bfb82e37ea39ef023dc5a7fa
747ef767341c4e6ecd1cad733fc84781951f2424
/class2/problem4/leap.py
c9cde162e417916a303fe7251559b4d4d150c666
[]
no_license
islami00/csc102
4cdfd761814bab0d7ef45f2270aa70bf411d233b
93c89f7b087ff90c34b508b12d654c42857adbd2
refs/heads/main
2023-06-19T06:27:47.620859
2021-07-15T16:25:10
2021-07-15T16:25:10
348,317,933
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
# write a program to determine if a year is a leap year # using the assumption that leap years happen every four years year = int(input("Enter the year: ")) if (year % 4) == 0: print("This is a leap year") else: print("This is not a leap year")
[ "islam@gmail.com" ]
islam@gmail.com
afb65c01688b4d643cf2e36b64b8448bb6412dec
d93ffd55c429d1969da3a2d469f97a474acaca7d
/338_counting_bits.py
10493e9e122dae27dcc4dfdcae4b17694e26e355
[]
no_license
kingofyeti/leetcode-py
ed03a1f20f15c7711874b70d88740d99c8942823
a7923bf36825b89279e2aa7a0f6cf868992b62b0
refs/heads/master
2021-01-10T08:26:53.189298
2016-09-28T01:44:56
2016-09-28T01:44:56
54,414,953
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
class Solution(object): def countBits(self,num): res = [0] * (num+1) res[0] = 0 for i in range(1,num+1): res[i] = res[i>>1] + i%2 return res solution = Solution() str_in = raw_input() print solution.countBits(int(str_in))
[ "kingofyeti@gmail.com" ]
kingofyeti@gmail.com
07b3b40ad34aff216a91bb3b4c459a5c01394154
3ed20d944d33c7c94300f323056d2819b74063cb
/census_builder.py
d8270df429d4f69fa6b22cd957dd49114bcd2820
[]
no_license
millerg09/covid19_viz
c784be3c6c854f4741ff49c7fcd8c0d583a88f42
0632e12c83b305c2cc5a8c5cb152abf4262de52b
refs/heads/master
2023-07-28T18:13:08.938347
2021-09-11T12:29:12
2021-09-11T12:29:12
288,297,803
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
county_df = "raw county_df" state_df = "raw state_df" print (county_df) print (state_df) def census_build_county(): import pandas as pd path = '/Users/gabriel.miller/Desktop/python/covid19/census/' county_file = 'county_pop.csv' county_filepath = (path + county_file) global county_df county_d...
[ "noreply@github.com" ]
millerg09.noreply@github.com
41f084ac87473ee0652c70eb453cc78620f158e5
0c683c2859cee467f05dc0a60b44f3bf4548af7b
/tencent_job_spider.py
89cd17cb7e3047e31fc6b2f02053c4d4ef4b3ccf
[]
no_license
MapleFoxWyl/Spider
2d3df051d17d1b278e63cdc963708ee30e666cd5
d79c777368c750e8be30eb696b0c0112f8dfd7fc
refs/heads/master
2020-07-06T08:16:44.930009
2019-08-18T03:09:46
2019-08-18T03:09:46
202,952,007
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
import requests import json import time import random from useragents import ua_list class TencentSpider(): def __init__(self): self.one_url = 'https://careers.tencent.com/tencentcareer/api/post/Query?timestamp=1563912271089&countryId=&cityId=&bgIds=&productId=&categoryId=&parentCategoryId=&attrId=&keyword=&pag...
[ "522068055@qq.com" ]
522068055@qq.com
6f3fe8d723163b4d35395847a920491d85c4098b
7f880fc333b41738ba438ebe000e050f4c9a5e73
/bin/loc/install_drop.py
60c49edb4155348d45e273081637d78062315dd9
[ "Apache-2.0" ]
permissive
Gamezpedia/PicEditor
4d684d99bf8349928dfdefe4f4073d67eaf22087
cc131b0a1aeb27cc070c9834239db46ccf970efa
refs/heads/master
2021-05-27T12:23:04.365047
2013-02-28T18:15:58
2013-02-28T18:15:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,876
py
#!/usr/bin/env python # Copyright 2011 Google Inc. 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...
[ "darrin@massena.com" ]
darrin@massena.com
1ad8e97dd542ba0a2310670381e40b114cef0bc8
cd67fbaec6ba71fdd10ac8dd23e034d7df706aa3
/bootstrap/urls.py
1db8a20ee1f67439cdb7324c6c4e7e6e93525396
[]
no_license
ssyctlm/feb27
009310d09bc866d7432576d4a867b63591009cbb
8c666cf584e1589d06be16ba8b1266cb27646f39
refs/heads/master
2020-04-25T15:16:55.957159
2019-03-19T13:41:07
2019-03-19T13:41:07
172,873,078
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from django.urls import path from .views import ( index_view, about_view, services_view, contact_view ) # app_name = 'articles' urlpatterns = [ path('',index_view,name='home'), path('about',about_view,name = 'about'), path('services',services_view,name = 'services'), path('contact',cont...
[ "none" ]
none
720efd4d9680f6c52878542ad045aff577e5aa38
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/RecoBTag/Configuration/test/test_cfg.py
7fc7d9770ab2228f60b31accaf28c59b6b4e80a7
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
843
py
import FWCore.ParameterSet.Config as cms process = cms.Process("GeometryTest") process.load("Configuration.StandardSequences.Reconstruction_cff") process.load("Configuration.StandardSequences.FakeConditions_cff") process.load("Configuration.EventContent.EventContent_cff") process.load("Configuration.StandardSequenc...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
131e5f7675a08201bf174f5743a478c12c0adf35
895bf09d8d5edb3166a84b7c63844e6e9ee9285d
/pages/civs/script.py
1483a4c28e0c9c7041fcec893b86b8e2081b8cb6
[]
no_license
masouto94/MikeEmpiresPage-Souto
673923d92eef721049a0d91b07cf692f3761fdd3
5a83bc2dae3e11af80efe449b51500e661b057a0
refs/heads/master
2023-08-02T02:10:24.438621
2021-09-18T19:35:09
2021-09-18T19:35:09
356,630,181
0
0
null
2021-09-18T19:35:10
2021-04-10T16:01:29
HTML
UTF-8
Python
false
false
4,468
py
civs = ["Aztecs", "Berbers", "Bohemians", "Britons", "Bulgarians", "Burgundians", "Burmese", "Byzantines", "Celts", "Chinese", "Cumans", "Ethiopians", "Franks", "Goths", "Huns", "Incas", "Indians", "Italians", "Japanese", "Khmer", "Koreans", "Lithuanians", "Magyars", "Malay", "Malians", "Mayans", "Mongols", "Persians"...
[ "masouto94@gmail.com" ]
masouto94@gmail.com
1590c8a21953b984ab6718b7973bacc186669add
05bbf60e4694567eab0067b98e460375b8279b74
/goPython/client.py
f4a4fdd86d82e7c69286ebf7a8fac6cf16020b7c
[]
no_license
mariabiubiubiu/gotest
c9eb2756314c6f0f7dfc97ca5277c3b495df499e
5dd9c156d6884269f9bbdd5506485273edd9f292
refs/heads/master
2020-04-04T14:03:36.392780
2019-02-20T07:30:22
2019-02-20T07:30:22
155,985,333
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
#client.py #!/usr/bin/env python # -*- coding: utf-8 -*- import sys, glob, time,datetime #sys.path.append('./') #print glob.glob('libpy/lib.*') #sys.path.insert(0, glob.glob('libpy/lib.*')[0]) from gen_py.my.test.demo import ClassMember from gen_py.my.test.demo.ttypes import * from thrift import Thrift ...
[ "muweijia@zhuge.com" ]
muweijia@zhuge.com
681bf3f5e02101ef7c28f29c40342638dcfc7dc1
20bb54d94706882747f882a7b0d0112d9a5e28d7
/path_recorder.py
2fa3f4286c0ffcbc209a7cfde3f45318c63d90cd
[]
no_license
l1th1um/carla_indy
f09484331a6eebe6eb030c63449b35a46caf4d5a
c9e2720d1b10490ca0f007459afa7913aa9348ef
refs/heads/master
2023-04-15T12:39:47.605327
2020-10-02T21:10:38
2020-10-02T21:10:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,311
py
import carla import matplotlib.pyplot as plt import numpy as np import math import time import pandas as pd actor_list = [] df = pd.DataFrame() def main(): global df global actor_list ### CONSTANTS ### target_lane = -3 #Center lane is -3 target_speed = 30 #Target speed of vehicle i =...
[ "charleydorn@gmail.com" ]
charleydorn@gmail.com
54b3fb09a714ec5a1351f654d18607bf36a6fb43
6c3aee35622a0c95a3db23caf3569879266e36ec
/bla.python
e75c9a82d0a28625e378d341b8ffa98ec05de34f
[]
no_license
grahamjenson/Thesis
d1e0b8642412729d1a5aaa706b91509d5cbbd77f
1e46123f8717db911a99bb3ce6ddcc602d6e4892
refs/heads/master
2021-01-10T21:36:23.421145
2013-02-21T01:36:35
2013-02-21T01:36:35
1,709,658
1
0
null
null
null
null
UTF-8
Python
false
false
467
python
#!/usr/bin/python import os, shutil files = os.listdir("frames") files = sorted(files) day = 86400 firstday = int(files[0].split(".")[0]) files.reverse() def finddate(time): for f in files: if time >= int(f.split(".")[0]): return f days = map(lambda x: x*day+firstday, range(550)) files = map(lambda x: finddate...
[ "grahamjenson@maori.geek.nz" ]
grahamjenson@maori.geek.nz
ab6270346ec3364faec84bb9685d71a0d7fede34
f9d428a3340c21437dad0b02bbf7025984969c7f
/pca_main.py
4e48a2fb5016adb52b09581fba0bb7bf572328fe
[ "MIT" ]
permissive
amrufathy/face-ification
c9ed9fe953a40f780d908671830a56b9687fc6dd
409b851df1777dd987450ff5bf767d594f9dc8a8
refs/heads/master
2021-05-08T03:01:43.113591
2017-11-02T21:00:08
2017-11-02T21:00:08
108,113,610
1
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
import matplotlib.pyplot as plt from sklearn.neighbors import KNeighborsClassifier from lib.data_handling import * from lib.metrics import get_accuracy os.environ['MKL_DYNAMIC'] = 'false' test_split = 0.3 all_data, train_data, test_data = generate_random_data_matrix(test_ratio=test_split) data_matrix, labels = all_...
[ "amruafathy@gmail.com" ]
amruafathy@gmail.com
0776ae797be800d35b6d8aeecc601238fd8aba5a
d605f88c4502558ffdce5de49f482fdebda958ec
/blog/forms.py
85f14773f24ebb0dc960e04fedbd6701315f84b5
[]
no_license
conorcunningham/cunningtek-blog
23cafde32ca5442c00cd0f00162c499da8cbe824
1720c8d6a5f1d22d50b2290089b495c3e7b11e15
refs/heads/master
2022-12-28T08:46:19.493758
2021-09-13T17:31:05
2021-09-13T17:31:05
187,885,116
0
0
null
2022-12-09T05:19:31
2019-05-21T17:34:49
JavaScript
UTF-8
Python
false
false
267
py
from django import forms from .models import Post class NewPostForm(forms.ModelForm): class Meta: model = Post fields = ['title', 'content'] class PostForm(forms.ModelForm): class Meta: model = Post fields = ['content', ]
[ "conor.cunningham@gmail.com" ]
conor.cunningham@gmail.com
9c236b8cb977e6a818081e19adca391095b1ac2e
421dfd22cbe7466a2810bb5e583629065575d2a2
/app.py
fbdc641effede456cd18b4af0055f05f3a9e290d
[]
no_license
anbellouzi/playlist
025918f57bfe45ea10f0c218c3a590390fa1af88
828517b881e8243b47dfa759b10e19aea45c5914
refs/heads/master
2021-06-27T02:28:44.039159
2019-10-02T19:33:24
2019-10-02T19:33:24
210,905,665
0
0
null
2021-03-20T01:42:23
2019-09-25T17:45:37
HTML
UTF-8
Python
false
false
3,668
py
from flask import Flask, render_template, request, redirect, url_for from pymongo import MongoClient from bson.objectid import ObjectId import os from datetime import datetime # client = MongoClient() # db = client.Playlister # playlists = db.playlists # comments = db.comments # db = client.get_default_database() h...
[ "com.anas.idms.appleid.prd.001784-08-5d674918-865b-4553-9bf0-c2326b981e34@AB-Macbook.local" ]
com.anas.idms.appleid.prd.001784-08-5d674918-865b-4553-9bf0-c2326b981e34@AB-Macbook.local
2916366b0cb513dc1d3202a8dfbddd0de74eb197
37bd7fc903d1a16dc82c245ce11465b7c593d0e7
/apicode/query.py
73cf81e8a39dd60dff1ec29db1b82b4a1f4918f7
[]
no_license
dsconnelly/ezra
873f2601905935f2f5056f16ff6f3a6a6497cfb9
00184d7fb7dceee9ee11ce734c86031e3d3f6837
refs/heads/master
2022-12-16T12:38:50.372187
2018-09-03T15:35:32
2018-09-03T15:35:32
141,584,528
0
0
null
2021-06-01T22:29:41
2018-07-19T13:36:19
Python
UTF-8
Python
false
false
6,654
py
"""Various functions for querying the Cornell Scheduler API and returning objects with class information as defined in the courses module.""" import requests import apicode.courses as courses import apicode.classtime as ct class ClassNotFoundError(Exception): pass class InvalidSearchError(Exception): pass c...
[ "dsc254@cornell.edu" ]
dsc254@cornell.edu
173f9b783d3033c4edc6bd203f6145a9d52d9831
160dc0671926415b3ec06fa5ef62a2ffb1839722
/process_video.py
44ed25931c8dcf1c80980b14fa2c4004a5b9fb79
[]
no_license
arbuzov751/STC_toloka_project
ee4d66e60f019ecfdade8906199906d96d53e07d
10675013e2e1cff47fbfe2e983439f82a1fbf995
refs/heads/master
2022-11-11T12:58:44.752949
2020-07-07T19:26:32
2020-07-07T19:26:32
244,383,433
2
0
null
null
null
null
UTF-8
Python
false
false
3,731
py
#!/usr/bin/env python3 import argparse import requests import os import sys import glob import pandas as pd from tqdm import tqdm # import cv2 import datetime sys.path.insert(1, '/home/arbuzov_misha/STC_toloka_project') import settings # def modification_date(filename): # t = os.stat(filename)[8] # #t = o...
[ "arbuzov751@rambler.ru" ]
arbuzov751@rambler.ru
7edcaba43b7db97969164085d4cab9802ba6f756
30a88276aa31367ca79d56058d750582291017fb
/python7.py
3b64ff40e5abd9f86d0d7e2806db28c88f12e5c4
[]
no_license
sajandc/Python-Tutorial
56317f1ef8ee4697cac7359fdbebba645eb8251b
c3f0ba8a36d339a8057ced02d0da38fa1b3d4124
refs/heads/master
2020-03-09T13:12:10.411816
2018-04-09T16:59:29
2018-04-09T16:59:29
128,804,619
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
x=input() y=x.split(',') r=int(y[0]) c=int(y[1]) multilist=[[0 for i in range(c)]for j in range(r)] for i in range(int(r)): for j in range(int(c)): multilist[i][j]=i*j print(multilist)
[ "noreply@github.com" ]
sajandc.noreply@github.com
f9348d48ee596bc1cd89fca043043b4b52b931d2
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/impairment/profile/accumulateandburst/accumulateandburst.py
091ec9d83b6e627d30bda819aaea8952ba46111d
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
7,559
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
04d7257f32a3f938799894bfcbb0c0d08c6b6ae4
53b806edd25909d1eab29d3e827fe43e33130a9a
/manage.py
7bfdb4ffa9639ea918c4759d66f94c8a5ece2b47
[]
no_license
SaiManojBotchu/producthunt-project
84c129f8e30789a1a3a6d9411333815b605d698b
cdc44887141c565877657481dfaa6d56773d3393
refs/heads/master
2022-03-21T18:09:43.466371
2019-08-29T15:49:18
2019-08-29T15:49:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'productshunt.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "saimanoj2826@gmail.com" ]
saimanoj2826@gmail.com
c58a2822a8b2f076e9a160e83586e96d05145cb5
12587cb1f583b9f540b24d92eb19eb6eee449b12
/extractFeatures/aligner.py
561fe94ad0d8879a672c0077dd68b2fb0775db28
[]
no_license
daltonfury42/EarningsCall
a023166b2a3fbe63a7c626a9705fe34ff5674efd
6d5ef7faea6219f6b9151d8d33ad9cdf22fa7446
refs/heads/master
2020-04-25T14:13:28.692206
2019-07-29T08:23:26
2019-07-29T08:23:26
172,834,054
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
import os from aeneas.executetask import ExecuteTask from aeneas.task import Task def getAlignmentBatch(mp3sDir, transcriptsDir, outDir): for mp3FileName in os.listdir(mp3sDir): mp3Path = os.path.join(mp3sDir, mp3FileName) base, _ = os.path.splitext(mp3FileName) transcriptPath = os.path.j...
[ "daltonfury42@disroot.org" ]
daltonfury42@disroot.org
c2ca14ffa72965d066e857dff2719c1fd22cc942
019fc8d5fcf54af9b4551dd85ce4c04b28faa899
/tests/test_feer.py
00d0c851f209447bc5f2635d21e28584fb15afc2
[ "MIT" ]
permissive
danilosoba/feerci
fbdbe9e461a9b3c8a480d519e53946dffe9db03d
801a44af6768556dc9fadc44ede496ec06d48764
refs/heads/master
2020-04-10T20:00:06.199225
2018-06-21T14:31:36
2018-06-21T14:31:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
from feerci import feer from unittest import TestCase import numpy as np class TestFeer(TestCase): def test_feer_happy(self): genuines = np.linspace(0, 1, 100) impostors = np.linspace(-.5, .5, 100) eer = feer(impostors, genuines, is_sorted=True) assert eer == 0.2525252401828766 ...
[ "feerci@example.com" ]
feerci@example.com
f7e0ca4f8faa4f0f72846a1c2ba9af5e5b7bac40
2f36dc886195b67fd6fe0de48984e0268b3e0d71
/invoke_retry/code/src/zato/invoke_retry/__init__.py
762926718385ed9c1c066b15d87f47485bebbe93
[]
no_license
aek/zato-labs
84d52b3d1eea515c91fa6e7d4a439af3ee35ca05
302e40b8825f8fba5e3ea065280af742904fb25b
refs/heads/master
2020-12-26T08:17:38.664195
2014-02-16T21:30:27
2014-02-16T21:30:27
16,894,545
0
1
null
null
null
null
UTF-8
Python
false
false
9,393
py
# -*- coding: utf-8 -*- """ Copyright (C) 2013 Dariusz Suchojad <dsuch at zato.io> Licensed under LGPLv3, see LICENSE.txt for terms and conditions. """ # stdlib from traceback import format_exc # anyjson from anyjson import dumps, loads # bunch from bunch import Bunch # gevent from gevent import sleep, spawn, spa...
[ "dsuch-github@gefira.pl" ]
dsuch-github@gefira.pl
52e03ca63270d41a152fe5e55ebf6b771c5b7f1b
7d35b37a2f080e004b5589966a66ab9504b313d3
/cms_support/__init__.py
17f6d0061461571753d4600f8160777f1074ed38
[ "MIT" ]
permissive
4quarks/CMS_Grid_Support
78168527e0d19f2ab487d8fecc5e3700c1a53ad4
27e9e15ac89fda1690c9d1ef0fe0f0da97bd0659
refs/heads/main
2023-06-08T13:43:58.962896
2021-01-15T06:22:11
2021-01-15T06:22:11
301,188,673
0
0
MIT
2021-01-15T06:22:12
2020-10-04T17:39:27
Python
UTF-8
Python
false
false
160
py
# coding=utf-8 from cms_support.utils.constants import Constants __version__ = Constants.VERSION __author__ = Constants.AUTHOR __credits__ = Constants.CREDIT
[ "paucutrina@gmail.com" ]
paucutrina@gmail.com
37c0ca0fd9d1fcb6f979b46b2a277b4f4b655dff
af37bf1c9b0be9e1b1c0c1f9f8b730b6b48dd11f
/models/attention_gnn_modules.py
b8fd480b1ba364c62bc19d6b20d512dc205dcba8
[ "Apache-2.0" ]
permissive
Fenix0817/modnet
e45a7af661074afa32cf0aa328940b07807f3504
2d43084804851cbc879d12deba0e3eab023044ee
refs/heads/master
2020-12-28T04:17:20.793190
2019-04-25T14:53:01
2019-04-25T14:53:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,610
py
import graph_nets as gn import sonnet as snt import tensorflow as tf import numpy as np class Head(snt.AbstractModule): def __init__(self, num_heads, hidden, name="head"): super(Head, self).__init__(name=name) self.num_heads = num_heads self.hidden = hidden def _build(self, inputs): ...
[ "i.lobov@criteo.com" ]
i.lobov@criteo.com
6776e80c22de34a113e05c6441930036545a19d3
5d038bc83d8ef64bf8ca5f2f1033df55b945e5cc
/app.py
9360f2b82b9da36fa15b9e78b11f47b83bd6c155
[]
no_license
faldyif/faldy-line-bot
24b4eab94ed54c2eee498a6bbd720cd34868729b
6847e09d34a45828f48fc2d719793a264f0fad6c
refs/heads/master
2021-03-22T03:34:08.213299
2017-03-08T14:28:26
2017-03-08T14:28:26
83,983,819
0
0
null
null
null
null
UTF-8
Python
false
false
11,851
py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "faldy.if@gmail.com" ]
faldy.if@gmail.com
6736108084a7ef88d1f8e57f8add913df63d5b12
598b4da68d1bbfa72628048cd8b590af117d576a
/using_FLC_in_washing_machine.py
6a5278ca4ba45ecfbab864ee7aa0606dfb2ede6f
[]
no_license
mansidhall29/simulation-of-washing-machine-using-FLC
b84f44eecc95838d7e42cc2dd4796bcc204c0109
85b95bafa9d3213e0825b8262c7b055a2424f15a
refs/heads/main
2023-02-13T04:57:37.590624
2021-01-12T11:37:30
2021-01-12T11:37:30
302,924,761
0
0
null
null
null
null
UTF-8
Python
false
false
6,304
py
#!/usr/bin/env python # coding: utf-8 # In[2]: import numpy as np import skfuzzy as fuzz import skfuzzy.control as ctrl from mpl_toolkits.mplot3d import Axes3D import matplotlib.pyplot as plt # In[3]: # variables to hold values of washing time, clothes weight and stream of water Weight = ctrl.Antecedent(np.aran...
[ "noreply@github.com" ]
mansidhall29.noreply@github.com
0dc7ba881a38e47eb3224fc79c1c858023cd34df
7f769d209a429b8a3dae9ce4362fc8ce5c6f2a31
/test_wjx2/venv/bin/pip3
90ac619f12a632dce94ecd989604bdbf16a7ed0e
[]
no_license
18301096410/test_dev3
65bfb584a47bb7114d4407aa4d05eabc137d85ab
9a735f860ecab4f38986855a62af6ddced9d37b1
refs/heads/master
2020-08-28T19:16:25.050314
2020-04-21T10:19:51
2020-04-21T10:19:51
217,796,320
0
0
null
null
null
null
UTF-8
Python
false
false
282
#!/Users/wangsijia/PycharmProjects/untitled6/test_wjx2/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "wangsijia@wangsijiadeMacBook-Pro.local" ]
wangsijia@wangsijiadeMacBook-Pro.local
907cee420daa4d2150abc8995995b45c5a41b8aa
ccb325ff688649d236b37b4cd31c5da248d61dde
/visual/visualisation.py
40870b1a4383d19e612c3b589389481eea0aff37
[]
no_license
Barbacamanitu/particle_filter_localization
8280341f70e2b3637699399cf610ea35cd22f172
92ab767bfd551f3eda27ea55a22deca9a180a34e
refs/heads/master
2020-04-21T19:43:56.401542
2019-02-15T18:37:37
2019-02-15T18:37:37
169,817,698
0
0
null
null
null
null
UTF-8
Python
false
false
3,923
py
import pyglet import math from pyglet.window import key import sim import numpy as np import dmath as dm def center_image(image): """Sets an image's anchor point to its center""" image.anchor_x = image.width // 2 image.anchor_y = image.height // 2 def createGraphics(): pyglet.resource.path = ['./reso...
[ "russmbiz@gmail.com" ]
russmbiz@gmail.com
3948df57c4da697119c8d9df0bfa7ee2f3f8f9ff
46983e92030970e3921ed3ad44eebcdda5c95f82
/graafikud.py
2e7dca72d66175c7178e36cc6bf5c7f5b90516dd
[]
no_license
IlvesPriit/Projekt
0e06dd15f17eb96822e99760d664df011100f255
762f1e79ee1fb7c75eda5367449e7ff804b72d8a
refs/heads/master
2020-05-18T15:11:19.976095
2014-12-18T05:22:17
2014-12-18T05:22:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
684
py
from tkinter import * info_aken = Tk() info_aken.title("Statistika") info_aken.configure(background="white") tegevus="tegevus" sektor_diagramm = Canvas(info_aken, bg="white", width=400, height=400) sektor_diagramm.grid(column=3, row=3, padx=5, pady=6) coord = 360, 360, 10, 10 osa = sektor_diagramm.create_arc(coord, st...
[ "karin.kruup16@gmail.com" ]
karin.kruup16@gmail.com
5aeca95ef87fb14a6a3fb97de6fc224b58a6d9a7
4f4c76a15daec86fe185953d4421902ca8962674
/test/functional/p2p-segwit.py
e1421a6a6bcdd4b9c10ab51ecd5f5b7b26e14b57
[ "MIT" ]
permissive
raymaker/deft
a71a70ef38f5c3fae9d167b1945e0b8b6e8c6f15
8d5d3f65828b52f5df6661786a271b6144b2cc32
refs/heads/master
2020-04-15T22:15:43.731675
2018-10-04T01:32:35
2018-10-04T01:32:35
165,065,919
0
1
MIT
2019-01-10T13:36:51
2019-01-10T13:36:51
null
UTF-8
Python
false
false
90,684
py
#!/usr/bin/env python3 # Copyright (c) 2016 The Deft developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test segwit transactions and blocks on P2P network.""" from test_framework.mininode import * from test_framework.te...
[ "admin@deft.host" ]
admin@deft.host
531a249844fca891544a673ad19ecb26f8145614
9cb43a47faef0d3f5c7a6986cb2b21a0a89b6972
/file-operations-02/clonefootage.py
5e3b060fc83ff787e47778f2f1c91a95909bb04b
[]
no_license
fsiddi/generic-tools
3e0f2c7ecaf469dcb8f173e191cd7d891fff8bc6
432463ec468a695551d7093c4851d5248f1d7764
refs/heads/master
2021-03-12T19:56:53.373367
2013-01-13T14:17:15
2013-01-13T14:17:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
import subprocess import os import shutil FOLDER_SRC = "/Users/fsiddi/Desktop/clonefootage/footage_src" FOLDER_DST = "/Users/fsiddi/Desktop/clonefootage/footage_dst" for dirname, dirnames, filenames in os.walk(FOLDER_SRC): for filename in filenames: if "linear_hd" in dirname: filename_src = os.path.join(dirnam...
[ "francesco.siddi@gmail.com" ]
francesco.siddi@gmail.com
2582be4a1861d40ece795a0beb0a30470be1b7b5
1d49c3b135c04a58ca25fd9d8e7e073daa26ff51
/steam/pipelines.py
cefa2f6f0193df72b56a0b20af253b1ae532b675
[]
no_license
clioo/steam-scraping
08dabb1968080e1951cc9a1dac0279865fa24e8f
9f401e331dcecc51238fa1c52e9c6ffb4c6a483b
refs/heads/master
2022-10-05T23:33:16.544375
2020-06-05T17:42:56
2020-06-05T17:42:56
269,166,605
0
0
null
null
null
null
UTF-8
Python
false
false
117
py
# -*- coding: utf-8 -*- class SteamPipeline(object): def process_item(self, item, spider): return item
[ "jesus_acosta1996@hotmail.com" ]
jesus_acosta1996@hotmail.com
a9251d10ca9cb74e69e8b68b2a7f5b2932a0857a
4569d707a4942d3451f3bbcfebaa8011cc5a128d
/roadmapfilterplugin/0.11/RoadmapFilter.py
86aa176db484f5440f1f4a46266dfd99c2539d37
[]
no_license
woochica/trachacks
28749b924c897747faa411876a3739edaed4cff4
4fcd4aeba81d734654f5d9ec524218b91d54a0e1
refs/heads/master
2021-05-30T02:27:50.209657
2013-05-24T17:31:23
2013-05-24T17:31:23
13,418,837
0
1
null
null
null
null
UTF-8
Python
false
false
6,080
py
from trac.core import * from trac.web.api import IRequestFilter from trac.web.api import ITemplateStreamFilter from genshi.builder import tag from genshi.filters import Transformer author = "daveappendix" class RoadmapFilterPlugin(Component): """Filters roadmap milestones. """ implements(IRequestFilter, ...
[ "daveappendix@7322e99d-02ea-0310-aa39-e9a107903beb" ]
daveappendix@7322e99d-02ea-0310-aa39-e9a107903beb
a2ac5030018622f024f8ca2435442ccd4f597f21
8ffc07a5240be5e6bb3106b20e11aee38cb8808a
/syloga/utils/symbols.py
aaf3a96c6a1d1b704aa3654833e56b44a3d8a098
[ "MIT" ]
permissive
xaedes/python-symbolic-logic-to-gate
315a242d2000123bf09ea15a439dc6437ea457cb
a0dc9be9e04290008cf709fac789d224ab8c14b0
refs/heads/main
2023-09-02T15:37:53.750722
2021-11-08T12:51:51
2021-11-08T12:51:51
425,550,839
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
from syloga.ast.core import Symbol from syloga.ast.containers import Tuple def symbols(string): return Tuple(*map(Symbol,string.split(" ")))
[ "xaedes@gmail.com" ]
xaedes@gmail.com
10e88b36981db0ea499be88491530663033fe837
321250570ec01098e9995dd1624aab5e25b12fc1
/modules/__init__.py
ef9c4eae4936d7fe17634ae038228ddd2a40b2e5
[ "MIT" ]
permissive
yijxiang/dnac-ise-inventory-compliance
c4a964657174a5c74cdf817c8712187d7eb9f16e
9903abcf5fa115dc0dcd07c75fbef808792480de
refs/heads/main
2023-05-04T02:37:04.095912
2021-05-11T10:11:30
2021-05-11T10:11:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from .misc import check_compliance, get_dnac_access_devices, get_ise_devices __all__ = ["check_compliance", "get_ise_devices", "get_dnac_access_devices"]
[ "ebc@conscia.com" ]
ebc@conscia.com
64765314abb3f1daa11e18f0f3f06465242daf37
ed0ead8389adb7cd81ade57f972afea7de896ffc
/haffa/Badge.py
14d280ec8b20140e125365d399cdae00e046556e
[]
no_license
rblack42/haffa
4e55664e1274b9ceec25fdfbc4603a03592229c0
526814e4024c1289cb2a79115d173772c82b5a88
refs/heads/master
2022-11-18T14:00:52.443335
2020-07-12T13:28:55
2020-07-12T13:28:55
273,238,463
0
0
null
null
null
null
UTF-8
Python
false
false
3,706
py
from svgelements import * from Shapes import paths, boxes from svgelements import Path SVGDIR = "svg" class Badge(object): def __init__(self, height): """ load shape and position data""" print("Generating SVG file for height %d" % height) self.paths = paths self.boxes = boxes ...
[ "roie.black@gmail.com" ]
roie.black@gmail.com
78a04c3d70d0ee2be98cdebd5e8f62bc2396235d
d3dbec4b696fd57a9aaa040b677a0ce69434d219
/api/views.py
ad55a8c8d7f472b9bb06906bd11b2a3c74724a87
[]
no_license
abhishekdraut/Rest-Framework-First-Implementation-
19a497056bb50e7d03413c2e70ddb3ef8e623d73
f6125c393f2f061cc0538e00a91356717d3ad03d
refs/heads/master
2023-08-15T08:19:46.720079
2021-09-30T09:31:06
2021-09-30T09:31:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,917
py
from functools import partial from django.core.checks import messages from django.core.validators import validate_email from django.db.models.query import QuerySet from rest_framework import views, response, status,viewsets from rest_framework.serializers import Serializer from . models import blog as BlogModel from ....
[ "68543904+abhishekdraut@users.noreply.github.com" ]
68543904+abhishekdraut@users.noreply.github.com
279f479e82952b38967adc04859a7b4d27be86a0
a07670110dd4ec5440583f06fe322807dc3b9963
/Inventory_System/userinterface.py
510e8396ad3f81936d4f6f00c29d2d9e8f823ccd
[]
no_license
MLHafizur/Python_Fun
a5364d1dda69c739e15b21d33fe500bb963f2a39
23a87050e0ac9e096d0523c01b62bfed32831730
refs/heads/main
2023-06-17T22:19:21.773873
2021-07-14T23:29:11
2021-07-14T23:29:11
385,762,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,035
py
# Module implements the user interface for the application. import datastorage def prompt_for_action(): """ Prompts the user for an action. "QUIT" "ADD" "REMOVE" "INVENTORY_REPORT" "REORDER_REPORT" """ while True: print() pri...
[ "noreply@github.com" ]
MLHafizur.noreply@github.com
420842b0219e3ccd792e723077cfe936f2ace650
b59613edcf6edb88d9d4b26404f5c15ff49aa370
/pyharoo/haru/hpdf.py
77a7f9d235e8517c3c81c3dde6e65f33d4704864
[ "MIT", "Zlib" ]
permissive
normanlorrain/pyharoo
0121a3afff029b1a7c34b2cc14492180fb98e303
4e690f3e4f27683052488be82fb829890ffbea74
refs/heads/master
2023-01-11T06:42:07.451185
2022-12-27T14:42:34
2022-12-27T14:42:34
238,064,968
1
0
MIT
2022-12-27T14:42:35
2020-02-03T21:23:30
Python
UTF-8
Python
false
false
64,467
py
## ## * << Haru Free PDF Library 2.0.8 >> -- hpdf.h ## * ## * URL http://libharu.org/ ## * ## * Copyright (c) 1999-2006 Takeshi Kanno ## * ## * Permission to use, copy, modify, distribute and sell this software ## * and its documentation for any purpose is hereby granted without fee, ## * provided that the abo...
[ "normanlorrain@gmail.com" ]
normanlorrain@gmail.com
fc6b16aacd2c5eb9924c98c120e85092a8d4ec26
233b2958c853dc57dfa5d54caddbc1520dcc35c8
/ava/cmds/pod.py
51fe03691017ccf91af0b199173ecdc252918607
[]
no_license
eavatar/ava.node
6295ac6ed5059ebcb6ce58ef6e75adf1bfa24ed7
71e3304d038634ef13f44d245c3838d276a275e6
refs/heads/master
2021-01-19T06:13:01.127585
2015-06-03T03:10:59
2015-06-03T03:10:59
33,645,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,159
py
# -*- coding: utf-8 -*- """ Command for managing local pod directory. """ from __future__ import (absolute_import, division, print_function, unicode_literals) import os import shutil import click from ava.runtime import environ from .cli import cli @cli.group() def pod(): """ Pod manage...
[ "sam@eavatar.com" ]
sam@eavatar.com
873ade6ecd0fa8b28c06c4920b7cc621fc22af94
4d97b3a00fa373e309c933750e70405cb2b75afa
/denavit.py
f82e685efd710f6ff6773decf35b9ac6229ee487
[]
no_license
ThomasDuvinage/IK_2axes_python
f3c9f7fcaa8a113ff8c9e3e66b06cb8bd9ead355
c6abef34e553364c79f5660e4d9dc4faff2de137
refs/heads/master
2022-06-24T23:15:05.803447
2019-02-28T12:45:17
2019-02-28T12:45:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,085
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Nov 30 18:00:52 2018 @author: thomasduvinage """ from statistics import mean import sympy as sp from sympy.physics.vector import init_vprinting init_vprinting(use_latex='mathjax', pretty_print=False) from sympy.physics.mechanics import dynamicsymbol...
[ "noreply@github.com" ]
ThomasDuvinage.noreply@github.com
acb8348fecf068802da63c27c4edb3dfd4a38d12
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_i_ospfv3_neighbor_configuration.py
63449143673653979dfb3179399a45495a40dc62
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,308
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
4694a7f7236b4321589260d7612ca34804981e4f
5eaaf401a18b129283545142184e86bede1f8212
/compareVersionNumbers/main.py
e33878422fba03e215e4132ae6a05973f1811674
[]
no_license
hnguyen89212/leetcode
5c9b9c9198f27df4804a657b0cffa11a770cae70
d34f4a8dc02cbef461308d2de298269d57a2c569
refs/heads/master
2023-03-27T14:28:45.403394
2021-03-18T04:38:47
2021-03-18T04:38:47
336,839,909
0
0
null
null
null
null
UTF-8
Python
false
false
1,005
py
# def stripLeadingZeros(revision: str) -> str: # onlyZeros = True # j = 0 # for each in revision: # if each != '0': # onlyZeros = False # break # j += 1 # return '0' if onlyZeros else revision[j:] ''' Accepted 02/07/2021 15:50; runtime 28 ms, memory 14.4 MB. ''...
[ "hnguyen@echidna.ca" ]
hnguyen@echidna.ca
bdc0e3f4bf90ef80c3e1cbf6474771ad81912cc5
be1762141886e27e2e542324ffb4650546aee58d
/setup.py
24ce1ea64205555595d2b03b54e784c4b012fea5
[]
no_license
rgleason/pypilot
71c2aad9a9894c84a1a9819078887ea041ff0e7b
66eabcc63a11c96b84f58588c87b6ef710ed5826
refs/heads/master
2023-06-12T09:26:42.846470
2021-06-29T06:38:37
2021-06-29T06:39:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,879
py
#!/usr/bin/env python # # Copyright (C) 2017 Sean D'Epagnier # # This Program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public # License as published by the Free Software Foundation; either # version 3 of the License, or (at your option) any later version. impo...
[ "seandepagnier@gmail.com" ]
seandepagnier@gmail.com
6bde236442816e4396c0371a1e6792f448a9376e
85ffbd5d61cd123d60c3b37c13f4f8c82f70627d
/Instagram/http/Response/CheckEmailResponse.py
53032deb1307085c68fa6f97a6ffed16e2e5a85b
[]
no_license
ishandutta2007/Complete-Instagram-Private-Api
87262dceb111f76c14813805c73880c1be856bd2
0b85f892bddff4daa55ba6ef7f21a2c4a21ecddf
refs/heads/master
2021-01-09T19:17:12.687001
2016-12-15T16:10:05
2016-12-15T16:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
class CheckEmailResponse: username=None confirmed=None status=None valid=None username_suggestions =None
[ "yomid4all@gmail.com" ]
yomid4all@gmail.com
7dc97366d633f77383f6583d6130cf3b33f3367b
164ae54c1aaf1cf84f339ec672e4426f53ff83ea
/app_pedidos_django/applications/usuarios/managers.py
16b91163a44b4dadd465f2e79f4b436a4c0f39b4
[]
no_license
JaviOlaya/Pedidos_Django
39a28ac0eba96c16e1df54e0678dd195dbf9c96c
8706f1f9ae114ed32bccf85036c47317eeb0b674
refs/heads/main
2023-06-22T04:22:56.907521
2021-07-17T11:46:48
2021-07-17T11:46:48
382,832,141
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
from django.db import models # from django.contrib.auth.models import BaseUserManager class UserManager(BaseUserManager, models.Manager): def _create_user(self,username, email, password, is_staff, is_active, is_superuser, **extra_fields): user = self.model( username = username, ...
[ "jjosaez@gmail.com" ]
jjosaez@gmail.com
a837d47d4ac54189d869c407586eec393886f70f
0c40305d38e2572338c9a9bd214b6dbb59301e69
/bross/tinymce/widgets.py
4e70dd6d9a4ee4bf12514350e96b8fffee6d3ce0
[]
no_license
Genuscastor/bross
93f8af9273f290093cbd7e88d283085946c43b1d
ba53b128bc57fe68e604e7abb237542863fa1980
refs/heads/master
2021-01-01T16:34:38.600364
2013-06-24T03:48:24
2013-06-24T03:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,499
py
# Copyright (c) 2008 Joost Cassee # Licensed under the terms of the MIT License (see LICENSE.txt) """ This TinyMCE widget was copied and extended from this code by John D'Agostino: http://code.djangoproject.com/wiki/CustomWidgetsTinyMCE """ from django import forms from django.conf import settings from djan...
[ "rickdoesburg@gmail.com" ]
rickdoesburg@gmail.com
c0b601caa4a8d3f7cb52a7caf089d7d8ef853609
1c488092180c638285d4d5e071abde64599b97cb
/tests.py
f9a6805cd58e8daa8481d3855c8ed7eef05a7f5a
[]
no_license
ayhandoger/idman
84db03e9fda020ce1f728180cf7fe179c89147a9
37ad95ab3e1b12a429f0c0662dab026f09f070d5
refs/heads/master
2020-11-30T18:59:00.944571
2019-12-27T14:34:03
2019-12-27T14:34:03
230,458,927
0
0
null
null
null
null
UTF-8
Python
false
false
4,316
py
from django.test import TestCase # Create your tests here. import datetime from django.utils import timezone from django.test import TestCase from django.core.urlresolvers import reverse from .models import Idea class IdeaMethodTests(TestCase): def test_was_published_recently_with_future_idea(self): """ was_p...
[ "info@ayhandoger.de" ]
info@ayhandoger.de
7d2fa8d0c6bc8d33437bfae3fc23157e405a27d4
dd61af4b07153f1f1e1b17863f3cd74929158e53
/api/skill_app/admin.py
88382a07a577368282b5e04b5c126824952b0011
[]
no_license
gabrielcandrade/AngularWithDocker
19e5f007ad69051fde4c1f6a13af7154bd5167f1
656c60a7af43b3bc8df89d4ae709382e4ea07771
refs/heads/master
2023-01-28T05:40:48.901382
2020-12-06T16:47:23
2020-12-06T16:47:23
305,735,850
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
from django.contrib import admin from .models import Skill # Register your models here. @admin.register(Skill) class SkillAdmin(admin.ModelAdmin): exclude = ('element', )
[ "gabriel.andrade@huia.haus" ]
gabriel.andrade@huia.haus
ddda974d497d99b8896555a8b4c4ca6df75d65cd
53662d3cb19f44f1a344a48e10d65c0c36b0d50e
/components/tvGamesAdmin/src/specificworker.py
1dee25fb714e040690bce156837f19bc4a0df506
[]
no_license
robocomp/euroage-tv
7b639338169ecb67470abde056732a4cbcebedf9
8aaa4c668a46ad1dea869ff3b6c826769b20eac6
refs/heads/master
2021-06-24T19:59:26.425779
2019-08-29T11:07:01
2019-08-29T11:07:01
140,541,711
0
1
null
null
null
null
UTF-8
Python
false
false
1,976
py
# # Copyright (C) 2018 by YOUR NAME HERE # # This file is part of RoboComp # # RoboComp is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any...
[ "orensbruli@gmail.com" ]
orensbruli@gmail.com
49ff62be527f4004b1b29f637b93bd7b8557570d
3c89f575b5fb85c4605bad2f525fe08f5e4bdce2
/2_selenium_test_script/od_selling_page_test_module.py
a0a2974e3c2cd75f0ce1dd2c8188a221d25c7bd6
[]
no_license
QualsonJinseok/qualson_backup
9d22f15af90919ebaa1ab3a724a5afea60adf4a0
bec66effe3433c2a627959eb34acb7c756a2a717
refs/heads/master
2022-10-23T07:07:05.569576
2020-06-23T11:19:06
2020-06-23T11:19:06
274,386,554
0
0
null
null
null
null
UTF-8
Python
false
false
8,855
py
from variable_info import * import time ############################################################# class sellingPageApply2: #@unittest.skip("demonstrating skipping") def test_1(self): print('test_1 is done') def send2apply(url_set, driver, phone_result): try: driver.get(url_...
[ "jinseok.lee@qualson.com" ]
jinseok.lee@qualson.com
9ec4476e210155413539ae364990e788ddc3dff0
d2041c8582e2b359182032c5062fea307edb6a12
/src/gacollector/misc/date/week.py
5dd0128a851b364ee88f362097842766b88a1b77
[]
no_license
Kaper156/GA_collector
1ce4d0cf08f19ac9fc3c9c40e5c3baeba24ba3b5
c31cb1ac2663eed6a43655b1787805b5cd6a9171
refs/heads/master
2022-04-21T21:06:44.236448
2020-04-25T16:30:25
2020-04-25T16:30:25
210,452,953
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
import datetime def get_previous_week_range(from_date=None): from_date = from_date or datetime.datetime.now() if type(from_date) is datetime.datetime: from_date = from_date.date() d1 = from_date - datetime.timedelta(days=from_date.weekday(), weeks=1) d2 = d1 + datetime.timedelta(days=6) re...
[ "156-oi@i.ua" ]
156-oi@i.ua
833bea0ef1d9979797aa3dea66c2133f88368c6e
16523b72247cead4a864466a4aacf901b234bcaa
/DailyCode04052021.py
2db30088de4fa847216119c3b59badb1cb6435a8
[]
no_license
Banehowl/AprilDailyCode2021
e457b341af22bfd3bb283c757c8a1a7e23859aff
c13e3e5d79e78fe7c3c3539e5c715d42f8ff043c
refs/heads/main
2023-04-14T15:51:49.212643
2021-04-30T13:30:53
2021-04-30T13:30:53
353,748,146
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# ------------------------------------------------------------------- # # Daily Code 04/05/2021 # "Triangle and Parallelogram Area Finder" Lesson from edabit.com # Coded by: Banehowl # ------------------------------------------------------------------- # Write a function that accepts base (decimal), height (...
[ "noreply@github.com" ]
Banehowl.noreply@github.com
2f843a5a6636096898e6d88b815cab294ef623ae
aee84700a63e5b2415687de148e5abb2d5d4131b
/superlists/settings.py
5ce2f6cb7d9a4df6ba877873c03020a04e827407
[]
no_license
ndevendran/NirosToDoList
e1f6413317ef65fe36dd3cf9ff012ac43fa0577a
1e5c046002de7b988b4673ab33a0832a83dbe5a0
refs/heads/master
2020-05-31T02:41:17.170485
2019-09-20T06:22:58
2019-09-20T06:22:58
190,070,810
3
0
null
2019-09-20T06:21:57
2019-06-03T19:40:49
Python
UTF-8
Python
false
false
4,074
py
""" Django settings for superlists project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os...
[ "ndevendran@Niroshans-MacBook-Pro.local" ]
ndevendran@Niroshans-MacBook-Pro.local
0030fcf22dbc77c896437faa18ec33a89a2f6c56
29625c33dc9642d984d7cf68763d57a9de62743e
/Bot/cogs/snipe.py
cd84e9a5d14d06e388ec6620f7a1eaee678360d7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
DevRKJha/EpicBot
7fe508d828ad6cde087213cdd1fbb3a480529905
33eb8b7d5ee1120865da91b9a31dc559657c318c
refs/heads/main
2023-06-07T14:12:26.975039
2021-07-04T09:51:53
2021-07-04T09:51:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
import discord from discord.ext import commands class Snipe(commands.Cog): def __init__(self, client): self.client = client self.client.sniped_messages = {} self.client.edit_sniped_messages = {} @commands.Cog.listener() async def on_message_delete(self, message): if messag...
[ "hellonirlep@gmail.com" ]
hellonirlep@gmail.com
0a67b63bd6b6368a48071d43d0a7c705503ca674
db2e1818e87d24b8c63dcc5d983dda56c81f1fab
/analysis2.py
7ee405f75a544a254b0e2ece969dfa00071d20df
[]
no_license
mobm65/IrisDataSet
c4f8526d71a02dd918bdc0d27b3e91b2184bfab5
f3360ac7367693fd888c8055922e3104d50bee2d
refs/heads/master
2022-04-24T12:17:26.168075
2020-04-30T10:59:22
2020-04-30T10:59:22
255,666,137
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
# a summary of each variable to a text file import matplotlib.pyplot as plt import numpy as np import pandas as pd import seaborn as sns # import the iris dataset iris = pd.read_csv("iris.data") # separate the iris variables for analysis data = pd.DataFrame(iris, columns=['spl','spw','ptl', 'ptw', 'Species']) # extrac...
[ "60409970+mobm65@users.noreply.github.com" ]
60409970+mobm65@users.noreply.github.com
02594a0628527d5a727933e55884e5da274eb26f
53832bd168b797827be77bface570a2bea8952f1
/aidlyapi.py
7639a37116f1edd0735568b2643646a7a52352be
[]
no_license
Bryan1010/AidlyBackend
840bbdf290d65577a37b17cc99fc1162177e0f02
f0fd9215374713a077460876ab3069d5d556c66f
refs/heads/master
2021-02-09T02:36:37.825383
2020-11-08T04:22:38
2020-11-08T04:22:38
244,229,180
2
0
null
2020-11-08T04:22:40
2020-03-01T21:50:21
Python
UTF-8
Python
false
false
274
py
from mainapp import MAIN_APP # from models.company import Company from flask import request, Response from models import db @MAIN_APP.route("/") def hello(): return "<h1 style='color:blue'>Hello There!</h1>" if __name__ == "__main__": MAIN_APP.run(host='0.0.0.0')
[ "7885194+derekstephen@users.noreply.github.com" ]
7885194+derekstephen@users.noreply.github.com
ec9297a88691396c6f74f0a6c42d9afc70dafa1d
aed701e4aa8cac8084988ff59ac84954f617bff3
/Udacity/Data Science Foundations II/Intro Machine Learning/evaluation/evaluate_poi_identifier.py
3e6cca75dedbd7f75570ed78cde591e5c2574f25
[]
no_license
lebaruch/Courses
4f1e4fe69c14931eebcd12374fffc90af1283d33
446a6e53359f06840abc97770dbe535168e7d96c
refs/heads/master
2020-04-12T21:10:44.670379
2019-02-06T16:17:11
2019-02-06T16:17:11
162,755,672
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
#!/usr/bin/python """ Starter code for the evaluation mini-project. Start by copying your trained/tested POI identifier from that which you built in the validation mini-project. This is the second step toward building your POI identifier! Start by loading/formatting the data... """ import pickl...
[ "32648733+lebaruch@users.noreply.github.com" ]
32648733+lebaruch@users.noreply.github.com
73bc81c737025f384a2d55f27dbb83a3292b5dc9
ba9387ad04a79e5e89204b2f292d01323c7198ad
/backend/chat_user_profile/migrations/0001_initial.py
89ad1019538532877afb9c0211c55783492d29f1
[]
no_license
crowdbotics-apps/message52-19836
b9ec7d032a1548ba71153c443486a3b7c38da5f9
fde8c1c0b0de9e939e156e29bb2cb4dce1607cad
refs/heads/master
2022-12-04T23:48:19.002965
2020-08-28T02:37:50
2020-08-28T02:37:50
290,932,742
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
# Generated by Django 2.2.15 on 2020-08-28 02:37 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9f392b573c634006cfc5fd730554e5c91b8e509a
30d31b9a81806eac8c97ebb6a57fc2193c1a9eeb
/python/websocket-example/app.py
1a6aa6d8ed452e71bcd317f4133c510857079e99
[]
no_license
lucaswiman/stuff
1ec5f80297882d95d203c398ceeeab695d475473
11765e015577c0ee6e10a5636cb24fe04cd2a17a
refs/heads/master
2023-08-08T16:21:27.331024
2023-08-06T06:44:27
2023-08-06T06:44:27
2,363,776
2
1
null
2021-02-01T19:32:16
2011-09-11T02:47:47
Jupyter Notebook
UTF-8
Python
false
false
967
py
#!/usr/bin/env python from fastapi import FastAPI, WebSocket from typing import Optional import random app = FastAPI() @app.get("/") async def root(): return {"message": "Hello World"} @app.get("/foo") async def foo_endpoint(foo: Optional[str]): return {"foo_query": foo} @app.websocket("/ws/foo") async de...
[ "lucas.wiman@gmail.com" ]
lucas.wiman@gmail.com
9a4651cdd448a39f6dd4e40bcb2d32997fd09687
d275a7231380e25d22239254f57d7ed59406a97b
/fp_Growth/tree_builder.py
5da1df442e5554b6d561d0f9e88d85d5979599ae
[]
no_license
mongolia19/.spyder2
2b927920ddcf28a6ec88b585261cb02b70d1da8c
498a0a34efd998e2a01837d33c5b4b5724cc8f2f
refs/heads/master
2021-01-23T14:03:50.047923
2018-03-31T09:40:44
2018-03-31T09:40:44
39,151,010
1
0
null
null
null
null
UTF-8
Python
false
false
1,999
py
#coding=utf-8 import tree_actions class tree_builder(object): def __init__(self, routines, min_sup=-1): self.routines = routines self.min_sup = min_sup self.items = self.getItems() #获取所有项 self.sortedItems = self.getSortedItems() #对所有项进行统计个数,并排序 self.i...
[ "mongolia19@gmail.com" ]
mongolia19@gmail.com
d09505bafc21ab4e8f1fe4744290ac440aa5a648
a17eeaedb059b11dbaaf7dd2dedf31bc5251008b
/Python/third-module/pillow.py
f5469fa22ad207cdc1d0db9d86a265231849201c
[ "MIT" ]
permissive
KrisCheng/HackerPractice
b94c575bf136c06b4ea563147ac94cae74947d22
778948db4836e85c9af90267dc9b03d50f29d8e9
refs/heads/master
2021-01-19T20:24:35.466720
2017-10-09T05:47:11
2017-10-09T05:47:11
88,504,300
1
0
null
null
null
null
UTF-8
Python
false
false
309
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PIL import Image im = Image.open('test.jpeg') # 将图片尺寸缩小一倍并保存 w, h = im.size print('Original image size: %s*%s' % (w, h)) im.thumbnail((w//2, h//2)) print('Resize image to: %s*%s' % (w//2, h//2)) im.save('thumbnail.jpg','jpeg')
[ "kris.dacpc@gmail.com" ]
kris.dacpc@gmail.com
bb85bfeefda18246abd529dadf4fa84544f0b7d3
71b8ab2cb1166e88f743a3f78cdc5ae23ff3294c
/Backend/ScanIt/urls.py
1c1e13811f31c009ca0cff2517c701296dc57174
[]
no_license
Nirav-1999/ScanIt
9260c44e91060f600dd609364995e36f5701b415
24b1fa613888cb003dcc2f3a5c7cf899f9335323
refs/heads/master
2023-02-05T18:01:16.392857
2020-12-19T11:27:24
2020-12-19T11:27:24
322,300,191
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
from django.contrib import admin from django.urls import path from django.conf import settings from django.conf.urls.static import static from django.conf.urls import include, url urlpatterns = [ path("admin/", admin.site.urls), path("auth/", include("djoser.urls")), path("auth/", include("djoser.urls.auth...
[ "niravjain1709@gmail.com" ]
niravjain1709@gmail.com
2cbf5758e46478db0c2adedb0c1158e442574bfb
13bed5cd72c63182592297e88e3eb5acc574d5ab
/src/iis.tac
dac670e8c4dbac064e986c93116a12d8922dcb4c
[]
no_license
itsbth/itsinfoscreen
951ddc5a772adfa27bf5258733ed20e8e3f65a36
b6921c7734297bd49144e68e6c9ccb67b055cea8
refs/heads/master
2016-09-06T12:38:41.490698
2010-01-12T19:05:12
2010-01-12T19:05:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,752
tac
import os, sys sys.path.append(os.getcwd()) from twisted.application import service, internet from nevow import appserver from nevow import rend from nevow import inevow from nevow.static import File, Data import json, random from widget import WidgetManager man = WidgetManager() class JSONData(re...
[ "itsbth@itsbth.com" ]
itsbth@itsbth.com
cf6376e6af8f1a00eae337b2e9749c36ad813de8
033bcbd457f745324951a2e655b0156aedc71ccc
/Obligatorisk innlevering 5/skop.py
ac5e42796b7bc20a9087beacb90a0e5e49be5e75
[]
no_license
massouji82/UiO-IN1000
7cf1ffbb1fd221ecd5867833a4fc92b480d60fd5
b288b5d553208f6f75306f8a32fd25bb5f8969b9
refs/heads/master
2020-04-24T09:30:38.380027
2019-04-03T08:25:49
2019-04-03T08:25:49
171,864,827
0
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
def​ minFunksjon​(): for​ x ​in​ range​(​2​): c ​=​ 2​ print​(​c) c ​+=​ 1 b ​=​​10 b ​+=​ a​ print​(​b​) return​(​b​) def hovedprogram(): a ​=​​ 42 b ​=​ 0 print​(​b​) b ​=​ a a ​=​ minFunksjon​() print​​(​b​) print​​(​a​) hovedprogram() # # 'Først defineres funksjonen "minFunks...
[ "masval444@msn.com" ]
masval444@msn.com
e921b0a4952a5165f6b62a4404df543360cc2a60
4cce9cd38bb82ee0a7bb5099b4d4db4ec4acce78
/src/util.py
de37b5de4c7057f4adad5f3e5280faffff0db0f6
[]
no_license
VertexToEdge/othello-server
08f26748b577eae308517788a4e86296974c0aa0
06c59e6b5ac6adb4c53bb2d0eb523c86f9b1e7a5
refs/heads/master
2020-04-23T15:17:03.108482
2019-02-18T10:16:16
2019-02-18T10:16:16
171,259,893
1
0
null
2019-02-18T10:05:51
2019-02-18T10:05:51
null
UTF-8
Python
false
false
478
py
import struct import json def serialize(msg): body = json.dumps(msg).encode() msg_len = struct.pack('>L', len(body)) return msg_len + body def deserialize(sock): _msg_len = sock.recv(4) if len(_msg_len) < 4: raise ConnectionResetError msg_len = struct.unpack('>L', _msg_len)[0] msg...
[ "umbum7601@gmail.com" ]
umbum7601@gmail.com
033387d82b08688a1a0116cf6376f7a4fe20721f
320706f5ab560855d8b71b5d5c6bcca16f59fac2
/Blender/select_by_color.py
6ba0551a9a49c55910db989dbf09f727e758acbb
[ "MIT" ]
permissive
brlrt/creativecoding-sketches
e9250a10a16b0a2ca11c22644e388d193b667c13
9dfff455614916118e964b3b6826a68815594b8a
refs/heads/master
2020-05-29T15:27:37.990798
2018-10-18T15:56:34
2018-10-18T15:56:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
import bpy col = bpy.context.object.data.materials[0].diffuse_color mess = [o for o in bpy.context.scene.objects if o.type == 'MESH'] for obj in mess: list = [] for mat in obj.data.materials: try: list.append(mat.diffuse_color) except: pass obj.select = col in list
[ "marcin@mm.st" ]
marcin@mm.st
e8332063e0fe1703dea1764e0fdac64bd3a7e363
12c7049292248be58d8fa90a0fefb7bdc02f6ba8
/backend/backend/urls.py
8033f9d0994cadaede274e798b369eeef7f44730
[]
no_license
Vickytommy/Pro-L-Model
028b5ef549a206f584a65a810a931ce260d6a2df
988f007982e34c0b52f4d1afdfee95a7f1b044df
refs/heads/main
2023-04-21T03:08:15.916435
2021-05-08T10:26:56
2021-05-08T10:26:56
359,562,391
1
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
"""backend URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "noreply@github.com" ]
Vickytommy.noreply@github.com
1f0bf5a3dd27a4dd078d0aad47999b7ab0f0ac0c
ec038a8ab77ce2e62316d91ef06cab6c5d02256a
/MPSI/CH02/TP.py
23dc4c70d57d42e647f884c44eba4939a317f51e
[]
no_license
brahimbakkas/cpge
b4d9a9fe4b54dde2e4b5d40406aa3e6dcac59cc9
632f6da5c15806cf6aa48b4787c716bb73481d24
refs/heads/master
2020-05-26T01:44:32.468383
2019-10-25T23:08:30
2019-10-25T23:08:30
188,064,895
1
0
null
null
null
null
UTF-8
Python
false
false
35
py
# # for i in range (n): print(i)
[ "noreply@github.com" ]
brahimbakkas.noreply@github.com
386a897fb365463990e575d0f7bd43e6960680a1
11c85154cd3e7c2e706f9a90f68aee80ca0bd453
/popGame/cross_verify.py
9f1b707506956a0d02d13b5b9b305bdf90560275
[ "MIT" ]
permissive
raingggg/Proof-of-Play-Flow-Demo
a78e38751d0c3866275d5e11d305b54c51e2790d
018ec382801f1363711b7680e728535a2ac94d26
refs/heads/master
2022-04-24T15:50:56.746135
2020-03-18T11:19:50
2020-03-18T11:19:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,553
py
from Crypto.PublicKey import RSA from Crypto.Hash import SHA256 from Crypto.Signature import pkcs1_15 import rehash import time, pickle class cross_verify: def __init__(self, plyrData, myConf, key, gameConf, sk): self.plyrData = plyrData self.myConf = myConf self.gameConf = gameConf ...
[ "andy897221.work@gmail.com" ]
andy897221.work@gmail.com
0ad5c07617722f7b2b34d3993e6f969784a7bcd9
80a92f0aab314b590d718e9fa602551d75a3728f
/rules.py
6cbbc80819bf26074836953c046115143af06c0c
[]
no_license
clauszitzelsberger/Schafkopf_RL
54b3040a1db6f01b781cd56fd6ef04b423cd0828
7be0515472d6b9f488deea8e63c1fc43bf9ff343
refs/heads/master
2020-03-20T11:05:40.410251
2018-10-21T09:45:26
2018-10-21T09:45:26
137,392,936
7
0
null
2018-06-16T18:15:58
2018-06-14T18:12:18
Python
UTF-8
Python
false
false
4,800
py
import numpy as np #from random import shuffle import random import copy class Rules(): def __init__(self): self.card_number = ['siebener', 'achter', 'neuner', 'zehner', 'unter', ...
[ "noreply@github.com" ]
clauszitzelsberger.noreply@github.com
7dda60f128bc4578497e8aab41bcc3504e0f2038
7c0b611f13346e24970ae6d59829cc11f43f7168
/backend/api/endpoints/lobby.py
590cc11302dc7c9abf915e1bbd756ea78be94320
[]
no_license
dl-eric/zhao-peng-you
e7e5823762d366d63e13225b2c361179fbdb898c
0cc5954fbd33bcd9ba8c0aae1778ce7cee477f45
refs/heads/main
2022-12-28T16:24:35.007146
2020-10-12T03:14:57
2020-10-12T03:14:57
302,989,051
0
0
null
null
null
null
UTF-8
Python
false
false
2,780
py
from fastapi import APIRouter, HTTPException, WebSocket, WebSocketDisconnect from backend.core.lobby_manager import LobbyManager from backend.core.exceptions import SessionsFullException, LobbyNotFoundException, LobbyPlayerExistsException router = APIRouter() @router.get('/count') async def get_num_lobbies(): l...
[ "ericdl712@gmail.com" ]
ericdl712@gmail.com
05ddc563f09df6c2a00055a5ba8f276528375068
86e258551cfb04b5188877548038526ca91e90db
/joystick.py
04e8a607f8c08379a423b3e7e1b30374547d0f3e
[ "MIT" ]
permissive
amywillis/forestfighter
b902237f258e09e451787fd99fd8c25ac4538407
dfb022fd07cf951d1558bf69e340b0029c6f7c30
refs/heads/master
2021-05-06T20:16:48.909477
2017-11-26T17:45:50
2017-11-26T17:45:50
112,378,496
0
0
null
2017-11-28T19:19:47
2017-11-28T19:19:46
null
UTF-8
Python
false
false
3,500
py
import pygame import os import time import logging import sys LOGGER = logging.getLogger(__name__) class Joystick(object): def __init__(self, axis_up_down=1, axis_up_down_inverted=False, axis_left_right=2, axis_left_right_inverted=False, button...
[ "charlotte.godley@hotmail.co.uk" ]
charlotte.godley@hotmail.co.uk
016c75557647665c5a3773b8cf354ade5c11502f
941c912f44beff33a072e086c1f561f6cdd64626
/LeetCode/codes/22.py
84f0db4955118accd480b9d684a7ae03a363e1dc
[]
no_license
adreena/MyStudyCorner
3a13a743769ed144965b767f547c16df4d0fa0dd
355c0dbd32ad201800901f1bcc110550696bc96d
refs/heads/master
2023-02-20T07:39:32.391421
2021-01-25T01:46:21
2021-01-25T01:46:21
255,104,133
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# time catalan numbers (2n n)*1/n # space: catalan numbers class Solution: def generateParenthesis(self, n: int) -> List[str]: self.outputs = [] def helper(n_left, n_right, output): if n_left == 0 and n_right == 0: self.outputs.append(output) else: ...
[ "kim.hszd@gmail.com" ]
kim.hszd@gmail.com
329f9eafe1d26549edbba889ab22e61a9a78e6f5
364ea21f8ba91cf74b710ac070c12facb8553c11
/tools/coco_prepare.py
4600e9995258d0ebc252c54301bf52f32104db53
[]
no_license
BUAAHugeGun/diploma-project
7b187258be2c5452631b9a668a8b71ce88c16416
879beb29defddb0d068e4c669dc0b2fd7def27c2
refs/heads/main
2023-07-18T00:11:28.799385
2021-08-31T11:33:11
2021-08-31T11:33:11
309,675,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,459
py
import os import argparse import warnings from pycocotools.coco import COCO import numpy as np import skimage.io as io from skimage.draw import polygon from tqdm import tqdm warnings.filterwarnings("ignore") annotation_dir = os.path.join("..", "data", "COCO", "annotations", "instances_val2017.json") input_dir = os.pat...
[ "1019658949@qq.com" ]
1019658949@qq.com
9dbc9b99391ec3ee0fcee010a242cc45ecae4939
1c954cbc9bc93d2a30e1cbdf9c0a925608271879
/app/accounts/forms.py
c6300625cddb4dfe53194c761ac73038a4164145
[ "MIT" ]
permissive
benning55/AsiaMarket
15d689916a92d224107744a6626d5cdab3a8e3ba
825e3e5e053d420587433a7a5a505622a4a026fa
refs/heads/master
2023-06-15T20:11:18.091488
2020-04-27T06:08:20
2020-04-27T06:08:20
233,580,744
0
0
null
null
null
null
UTF-8
Python
false
false
954
py
from django import forms class ResetPassword(forms.Form): password1 = forms.CharField(label='New Password', min_length=8, max_length=100, widget=forms.PasswordInput) password2 = forms.CharField(label='Retype Password', min_length=8, max_length=100, widget=forms.PasswordInput) def clean(self): cle...
[ "60070109@kmitl.ac.th" ]
60070109@kmitl.ac.th
2764e974be54c42119a3c178925548b4bf99e8df
08e84e6190e7fa25a3948344defd73c602c168cc
/views.py
722f56acace4cda306b93e446543d881716c2259
[]
no_license
dimmoon69/django-cdbforms
f053bc19765e4c8ebe512feef2b55d4632bc7c8d
58c1e3aab4455073176da7c28d23cdfd7badad94
refs/heads/master
2021-12-04T11:44:07.989876
2011-03-18T14:08:57
2011-03-18T14:08:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
from datetime import datetime from django.http import HttpResponse, HttpResponseRedirect from django.template.loader import get_template from django.template import Context, RequestContext from models import * from forms import * def cdbform(request, template): if request.method == 'POST': form = CDBForm(templat...
[ "fedor.tyurin@3da375b8-c7c2-11dd-94fd-9de6169c3690" ]
fedor.tyurin@3da375b8-c7c2-11dd-94fd-9de6169c3690
c457fc3993e52b37cad25eb3ea48d975ab0adb32
f71b66b2f2d99d146293f31f148dd9b025f070fb
/Django/Books/apps/books_app/models.py
a47c3827b8065ad96ed288b2153f3b450e0cbdcb
[]
no_license
enecatalina/Python
24bf01ad9fb02bbfba305c8552c4a095bf454c91
429f6b725045e56a74b36c9686c3050f095f6edb
refs/heads/master
2021-08-23T03:26:09.689305
2017-12-02T22:17:27
2017-12-02T22:17:27
112,881,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from ..logreg_app.models import Users # Create your models here. # class ReviewManager(models.Manager): # def review_validator(self, postdata): # errors = {} # if len(postdata['title']) < 5: # e...
[ "ene.catalina@ymail.com" ]
ene.catalina@ymail.com
c114e9e4c5fbe43f5efbc36d8ddc04c35dd32490
af82475dc7eb45c478414372c222e7b6016359d4
/python书籍/Python For Finance Code/Code of Python For Finance/4375OS_08_Code/4375OS_08_12_Series.py
f279f6cc3587504d87af31fda1b21a119cea0200
[]
no_license
enfangzhong/PythonBaseCode
8f58c8b817eb9f4b0f0a5be437a52d5b5fab3433
9ab4a578b2692fdbb6aeeacb310251d51f72e953
refs/heads/master
2020-05-17T16:26:02.598344
2019-04-27T20:49:40
2019-04-27T20:49:40
183,817,172
4
1
null
null
null
null
UTF-8
Python
false
false
365
py
""" Name : 4375OS_08_12_Series.py Book : Python for Finance Publisher: Packt Publishing Ltd. Author : Yuxing Yan Date : 12/26/2013 email : yany@canisius.edu paulyxy@hotmail.com """ import pandas as pd x = pd.date_range('1/1/2013', periods=252) data = pd.Series(randn(len(x)), ...
[ "944727327@qq.com" ]
944727327@qq.com
5aff9b875a75909d4eff76490b5af20a8c81766e
543dc102cebcd77da2978d4357c178edb95fffaf
/analysis.py
36dd0b941ae5af91d1253397a5eb1968c47d1c6c
[]
no_license
carllacan/VNAmeasures
71a6ff6608c1f2099d60b8d20385297caad83367
def236335c878778e98f4743c0384a5b0ff16f39
refs/heads/master
2021-01-12T05:43:16.540136
2017-04-06T14:22:09
2017-04-06T14:22:09
77,178,303
0
0
null
null
null
null
UTF-8
Python
false
false
11,139
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt colors = {"S11":"red", "S21":"green", "S12": "orange", "S22": "blue"} sparams = ["S11", "S21","S12","S22"] data_dir = "data" tables_dir = "tables" latex_dir = "report/data" plots_dir = "report/images" chann...
[ "carles.llacer@gmail.com" ]
carles.llacer@gmail.com
087d6cf19f4743bba424fb5759ae4dfc7444dac8
72521bf31e438e49e6a26941e44523a9b54ef351
/f1_robot/build/testbot_description/catkin_generated/pkg.installspace.context.pc.py
4ac95d36922a9dbd7d67dba34464dfcfde047276
[]
no_license
rossonet/braccio_ros
04d8ccc8c70b62fdc28f166a8da58b4289414b5c
bde03a827f92c8c90764bd3ba606fbd2eeded8a2
refs/heads/master
2021-07-08T22:30:10.856911
2017-10-04T15:52:47
2017-10-04T15:52:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "testbot_description" PROJECT_SPACE_DI...
[ "andrea.ambrosini@rossonet.org" ]
andrea.ambrosini@rossonet.org
37e13363eb6b9e5e21e31b62d71599a7689a8d2b
9f0c70aa21251d17be472a2c2db1940f2e4d0fcb
/SSEFinder-groupR/users/admin.py
51657f3ae2ba3f9814be7517c2fe95fb98c5548c
[]
no_license
Alkmeerd/SSEFinder
b0c1d145edceaaa9a5261a0de66d2f769339a057
e92fba9795cb5e6b476ff5be2727fc599c3c0f80
refs/heads/main
2023-04-15T19:39:58.617910
2021-05-06T18:45:52
2021-05-06T18:45:52
361,321,356
0
1
null
2021-04-26T08:23:38
2021-04-25T03:24:38
Python
UTF-8
Python
false
false
1,003
py
from django.contrib import admin from .models import * from django.contrib.auth.admin import UserAdmin from .forms import CustomUserCreationForm, CustomUserChangeForm # Register your models here. class CustomUserAdmin(UserAdmin): add_form = CustomUserCreationForm form = CustomUserChangeForm model = CustomU...
[ "21shreeya@gmail.com" ]
21shreeya@gmail.com
78d8ba3bfd0a0ad477fab02f6eeebd2339a00816
8ddf91936f1628c83ea4624bbb237fb8c976b393
/MITx_CS_and_DataScience/P2_stochasticPrecesses.py
a2c97030d498e5bedde9a4a4379d41fb95fa3fe6
[]
no_license
lboz/training
f0c33812c71384fa1d52e4b754012f954b7b7a60
196837d5b508b7bc8c43246cf4a9adb2ec48a849
refs/heads/master
2020-05-31T19:38:07.571912
2019-08-14T20:02:04
2019-08-14T20:02:04
190,459,121
0
0
null
null
null
null
UTF-8
Python
false
false
4,528
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 28 18:46:17 2019 @author: User """ ''' Stochastic thinking - Copenhagen Doctrine - at its most fundamental level, the behavior of the physical world cannot be predicted - Predictive nondeterminism - Stochastic Precesses - ongoing pro...
[ "noreply@github.com" ]
lboz.noreply@github.com
382879de143cc3ef780b3c978f986a11db227dfb
f04e9d6cc8318f3ebd5a613e6eb87a08d1da9f03
/Lesson35_PIR_LED/code/python/Lesson35_PIR_LED.py
bd8ecd9c95bd94d580d42f45f917e6259648dbc5
[]
no_license
adeept/Adeept_Ultimate_Starter_Kit_for_RPi
bef331c62aeb9d6bde19b8606380f7cf491979f6
2fc3655cd2de187d2388dd78b37e4d8b883d5c68
refs/heads/master
2022-11-04T10:12:15.869910
2020-06-20T10:01:53
2020-06-20T10:01:53
258,106,856
1
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import RPi.GPIO as GPIO import time PIR_OUT_PIN = 13 # pin11 def setup(): GPIO.setmode(GPIO.BOARD) # Numbers GPIOs by physical location GPIO.setup(PIR_OUT_PIN, GPIO.IN) # Set BtnPin's mode is input def destroy(): GPIO.cleanup() # Release resource class Led: def __init__(self, p...
[ "1553491000@qq.com" ]
1553491000@qq.com
6eb0cbbd5cdb86716c307e30723cfd85aba6ed88
29a22f83a55197fcb80a1b2d4143595998361ec2
/USAcovidtesting.py
510802c518a7bb32b8a4602a25585ea911447c30
[]
no_license
theaddies/COVID19
4630614adf8de72f87684cc3f8d934f977658338
a04cc27979fbcdbc359049f2f29030a76c6b2909
refs/heads/master
2022-11-18T08:44:55.950075
2020-07-08T12:42:30
2020-07-08T12:42:30
254,989,232
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# -*- coding: utf-8 -*- """ Created on Mon May 18 08:36:44 2020 @author: theaddies """ path = 'https://covidtracking.com/api/v1/states/daily.json' import num import pandas as pd df = pd.read_json(path) print(df)
[ "theaddies@neo.rr.com" ]
theaddies@neo.rr.com
e1c5d4e673bec81279d06a0f9df24cc150fee5d6
c2911877d9e892c0ffa31399af8f326b1fcc14b3
/flaskPojects/flaskBlog/__init__.py
97fa28ec0bd4bb636bb877ae02272222dfbc1c2e
[]
no_license
MuneebSheikh/Python-Flask-
d313955aa6fb566cd80b19b3333f45802174531c
a29ac9aedc622597f6efdc45e2bde1bf7d53860a
refs/heads/master
2020-07-15T08:15:50.398176
2019-10-24T11:51:11
2019-10-24T11:51:11
205,519,896
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt from flask_login import LoginManager app = Flask(__name__) app.config['SECRET_KEY'] = '0e4cc2d780d7f2b9a1be03e1a42e84c9' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db' db = SQLAlchemy(app) bcrypt = Bcrypt(app)...
[ "sajjadmuneeb686@gmail.com" ]
sajjadmuneeb686@gmail.com