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
6d54a92bf0bd184903f31a70c5f35706ae721edd
09694fabd63979e4e33a110f67d60f61fc62235e
/app/models.py
988f9b87c30e4e1e7d82f7c6b0f4e3b49f94f09a
[]
no_license
magbroxwt/RookieDocum
1feea7026f407a178780908ed2ddeee311982524
f60db43deacbc926caf72688b4d454a9aeb7480d
refs/heads/master
2022-11-30T16:34:56.697756
2020-08-10T04:08:36
2020-08-10T04:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
# -*- coding: utf-8 -*- from django.db import models # Create your models here. class User(models.Model): Username = models.CharField(max_length=64)
[ "lyh3024@163.com" ]
lyh3024@163.com
6a59eb575683dbf700ea669d40428d6a1b5b91f2
d74913eda69ee1799c887a645c574fa5a4da8fba
/code/metric_functions/metric_model1_func.py
1b710aff7f2d5c9b1716dee526ab7dcf74bca1c0
[ "Apache-2.0" ]
permissive
Fweek/pyMETRIC
efd6fe8c6ea74f5c87d19ecbb6653549fb3ba943
0e7eec57fedd33b81e6e7efe58290f50ebbebfab
refs/heads/master
2021-05-03T10:23:15.066106
2018-02-06T19:32:36
2018-02-06T19:32:36
120,534,046
1
0
null
2018-02-06T23:00:49
2018-02-06T23:00:48
null
UTF-8
Python
false
false
51,068
py
#!/usr/bin/env python #-------------------------------- # Name: metric_model1_func.py # Purpose: Calculate METRIC Model 1 # Notes: GDAL Block Version # Python: 2.7, 3.5, 3.6 #-------------------------------- import argparse import datetime as dt import logging import math import os import ran...
[ "dgketchum@gmail.com" ]
dgketchum@gmail.com
1a5fcbe3cf683bc0f17d12e6d6d317704ae403a9
c492a0618e2c9a77ce9a2d6eefee4986eae14beb
/udemy/Tuples_Sets/set.py
837a9b2cdd37a18046a3080c48ad31162c12b0e5
[]
no_license
ronnynijimbere/python_academy
7d6ae5172995c63bdd0ee9a14e025c421ce5eab0
0e422f757afbcf11244c95519acb1df145fc320f
refs/heads/master
2022-12-14T08:54:22.389441
2020-09-28T10:10:07
2020-09-28T10:10:07
295,337,297
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
# a set is a collection of unique elements set = {25,66,4,45,9,7,8} #it does not follow the sequence of how you entered the values #print(set) #output {66, 4, 7, 8, 9, 45, 25} random values #indexing is not supported and it does not support duplicate values set.add(125) print(set)# output {66, 4, 7, 8, 9, 45, 25, 125}
[ "ronny.nijimbere86@gmail.com" ]
ronny.nijimbere86@gmail.com
9495010dba72a3f07c353fdf45a84141ec971f8f
58e33242520b8d3010cf3ed821f2da06e58e3082
/sysbio_wiki_wordcloud/__init__.py
49ef39f54ee74f598fd16a130faf2cc2bfaf1811
[ "MIT" ]
permissive
zachary822/sysbio_wiki_wordcloud
f134d32092c1813542a8b7d0219ffbde2352dd3e
7417dcbd399de02bc49bae801863724d1f7461bb
refs/heads/master
2021-01-23T08:34:52.607782
2017-09-07T19:58:54
2017-09-07T20:00:04
102,538,642
0
0
null
null
null
null
UTF-8
Python
false
false
3,675
py
import os from datetime import datetime from math import floor from typing import Generator, Set, Union from urllib.parse import urljoin import matplotlib import requests from PIL import Image, ImageDraw, ImageFont from bs4 import BeautifulSoup, SoupStrainer matplotlib.use('Agg') from wordcloud import STOPWORDS, Wor...
[ "zacharyjuang@gmail.com" ]
zacharyjuang@gmail.com
8472d86514ae90b830f831df18680d8c34decaef
e302cb5eaf7c232f00d99a3d8c0b7501a14ff0eb
/python_program.py
ee857db7febd566a7dfca868a63e528b0915419c
[]
no_license
RHDZMOTA/saifi_database
b0332b72186200b62c14556b353e85ada9bc1fcb
b36300a61e7ddeefac3cceec96675b7ff7ff5392
refs/heads/master
2021-01-17T17:08:38.669048
2016-08-12T19:17:54
2016-08-12T19:17:54
65,534,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,537
py
# -*- coding: utf-8 -*- ''' Authors and contributers: >> Rodrigo Hernandez Mota >> [ add ] ''' import os import pandas as pd import numpy as np import matplotlib.pyplot as plt from load import load_data print('Initializing...') def quit(): print('Okay, thanks for using.') os._exit(1) def show_tabl(): m...
[ "rohdzmota@gmail.com" ]
rohdzmota@gmail.com
5cc08736ee1a4a46dc715ec08d68617e1e1dcff5
34cd72dd62d1b1e36631945ba675eb3784686c9a
/middlewares/AuthMiddleware.py
b02fb9ba33e37d3ddb7df08fb473fcc0e2cedb43
[]
no_license
maihuysl1999/gr1_backend
e223959efeec98b455a8ca746d6fbab695d12e16
b48e40ee41b46e5e130d903841de1be124cc9484
refs/heads/main
2023-06-23T15:36:11.762259
2021-07-18T05:24:30
2021-07-18T05:24:30
372,288,022
0
0
null
null
null
null
UTF-8
Python
false
false
828
py
from bson.objectid import ObjectId import jwt import common.Constant as constant def isAuth(request, mongo): jwt_token = request.headers.get('x-access-token') if jwt_token: JWT_ALGORITHM = 'HS256' try: payload = jwt.decode(jwt_token, constant.Constants["ACCESS_TOKEN...
[ "maihuysl1999@gmail.com" ]
maihuysl1999@gmail.com
299277230c20b2ff6a0b9c3af7cc38f898ddc7f8
06ff1c8056cf5408e6acd5396d4c2ea4fb50cd92
/04Prototype/Students/2019/JarzembinskiBartlomiej/deep_prototype/computer/cpu_model.py
b24dd1f2cb899cecd41c32ac79a4905120812af4
[]
no_license
kasa4565/DesignPatterns
b654dc8072940634ffcae52d297dc7da5d93c0b2
56dfac636b49266aa86f5b61cce0f9fb76a2b859
refs/heads/master
2020-08-23T08:10:09.661667
2019-08-15T07:54:30
2019-08-15T07:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
class CpuModel: def __init__(self, generation, model_name): self.generation = generation self.model_name = model_name
[ "bjarzembinski@yahoo.pl" ]
bjarzembinski@yahoo.pl
5f860e3d0392dedb51eab2840d55bf6af6fcf35d
39909846e79e3681d449f54f358338506ca91c86
/api/migrations/0001_initial.py
b1850438c5d41459180703b5a34e69195ab7eae8
[]
no_license
danylott/lab_3course_db_back
60fbed58f7e1c565e35dba580272024422505442
ad85a1c80bd637b63fd5215459340d4d2c5d6b15
refs/heads/main
2023-01-25T04:56:24.111485
2020-11-30T19:04:00
2020-11-30T19:04:00
317,303,102
0
0
null
null
null
null
UTF-8
Python
false
false
3,030
py
# Generated by Django 3.1.3 on 2020-11-30 18:36 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Passenger', fields=[ ...
[ "d.tuytuyshkin@gmail.com" ]
d.tuytuyshkin@gmail.com
083c5e1c61d744cb780194d0db6a863467a1b72d
33e19c28234207dcdaf993536343660174e3480d
/Quan.py
8df637822daa719ef6720fc84911ca6b2248e54a
[]
no_license
ruanhuabin/ScreenAndQuanProcessor
f69e4ba6e9d02baf31e960a360428819cf4e9cb8
65aeea95c7859aa14104e924e1ba83bf9bb0ee16
refs/heads/master
2020-08-31T17:40:08.664255
2019-10-31T11:10:48
2019-10-31T11:10:48
218,746,482
0
0
null
null
null
null
UTF-8
Python
false
false
8,116
py
#!/usr/local/bin/python2.7 # encoding: utf-8 from openpyxl import Workbook from openpyxl import Workbook from openpyxl.compat import range from openpyxl.cell import get_column_letter from openpyxl import load_workbook import time import math from openpyxl.styles import colors from openpyxl.styles import Font, Color fro...
[ "ruanhuabin@tsinghua.edu.cn" ]
ruanhuabin@tsinghua.edu.cn
4074ccc9524357ff4d85c3bd86584bd3ef35977c
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/17-password-checker_20200413015442.py
c3dbd472448138f2e12538cd9a3c725139ae119c
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
# input ('testingpassword') # input ('secret') # print('{username}, your password {*******} is {6} letters long') print('*')
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
4754fe5804c970d90d6430bf2ec6d076523323de
4de053f4b44edb974d9fceda4edfd6af099e1960
/lesson18/homework/lesson18_task1/lesson18_task1.py
a66fa57ec8b6270a61ca34f1bede06d6122a600a
[]
no_license
t1fan-prog/Homework
2b21f59970ef5c5856d6c0232d6e8eb4ac6f46b0
839bf14c45c56433caa1dbf684e164bc577a2cb5
refs/heads/master
2023-07-18T08:13:09.617393
2021-08-27T09:53:06
2021-08-27T09:53:06
358,657,368
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from module import add from random import randint def simple_adder(): first = randint(-9999999999999999999999, 9999999999999999999999) second = randint(-9999999999999999999999, 9999999999999999999999) result = add(first, second) return result print(f"If it's '0' I'll give you 1000$ :)\n{simple_add...
[ "artem.t1fan@gmail.com" ]
artem.t1fan@gmail.com
8313e63bef38262d0f1773f2573bc8d68f7e982c
dd33aa883161398ecf15620b6da936973a96815c
/cnn_17class/main.py
693d70cfc6104aec5093098f440c55789e1a022f
[]
no_license
zhangwbcoding/CNN_17
5e45f6f261dae9a3683b1b0e87527a2c8a855355
fc98e6150106d296b9a9ab213ce845c4b8ddf011
refs/heads/master
2021-10-08T20:18:41.276231
2018-12-17T11:52:16
2018-12-17T11:52:16
162,008,817
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
from model import CNN_17 import tensorflow as tf # parser = argparse.ArgumentParser(description='CNN_17') # parser.add_argument('--train', type=bool, default=False, help='train the network') # args = parser.parse_args() flags = tf.app.flags flags.DEFINE_string("mode", "validate", "True for training, False for testing...
[ "zhangwenbo@zju.edu.cn" ]
zhangwenbo@zju.edu.cn
dc09cdaec3c03284af7ad862df0455257b1c0b7f
49d9ea5dc50965dbaa0b5067ca64524dc041ada5
/neobug/blueprints/downloads/views.py
f813ec9fbadb2d905b99052fc8142c3fe8205af1
[]
no_license
ForNeVeR/neobug
7ed0e0aad16dd9a4f902db13c2bb1b1e4d7b2d13
8098fcf8ba25deb1d6085c7a6c03ea8eccc80acb
refs/heads/master
2021-01-18T15:09:02.538918
2015-11-17T13:11:33
2015-11-17T13:11:33
46,348,131
0
0
null
2015-11-17T13:16:47
2015-11-17T13:16:46
null
UTF-8
Python
false
false
1,092
py
import os from flask import Blueprint, render_template, redirect, request from werkzeug.utils import secure_filename from neobug import neobug from models import Download from forms import DownloadForm downloads = Blueprint('downloads', __name__, template_folder='templates') @downloads.route...
[ "hotkosc@gmail.com" ]
hotkosc@gmail.com
4f588bd8ab31dd6b3dda107923cd4b4fdcd18900
fa33ecd44ec16040209ae0839513bed4076499b2
/model.py
0c6a00cb8f93582ec55b04ab5018fc3f98e376b9
[]
no_license
laurensila/skills-sqlalchemy
be8227f742bcd9e08962f095112a0f3c7d25d5e2
5bd5bdeab3dc56491ce50252309e7a0f99ec5f59
refs/heads/master
2016-09-13T01:53:32.048055
2016-05-09T05:16:22
2016-05-09T05:16:22
58,350,186
0
0
null
null
null
null
UTF-8
Python
false
false
2,529
py
"""Models and database functions for Ratings project.""" from flask_sqlalchemy import SQLAlchemy # Here's where we create the idea of our database. We're getting this through # the Flask-SQLAlchemy library. On db, we can find the `session` # object, where we do most of our interactions (like committing, etc.) db = S...
[ "LaurenSila@MilleniumFalcon.local" ]
LaurenSila@MilleniumFalcon.local
068f96efe76c47f5efac13077d0ef68903ed2c7e
e88eead7f37c0d1891fedc6367ea651298e666f5
/exercises_5/neural_network.py
3d7c8a36d884b75d5a37cbae7dacd59f5906e44f
[]
no_license
stefan9090/applied-AI-practicum
726cea6b7ebf9f78160c4f0b97d589169d58f2f0
edcc7c90f7fd80e054603ce3b678cb30b27b7bed
refs/heads/master
2021-09-02T05:47:32.162131
2017-12-30T21:06:42
2017-12-30T21:06:42
110,838,455
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
import numpy as np def main(): if __name__ == '__main__': main()
[ "stefan.debeer@student.hu.nl" ]
stefan.debeer@student.hu.nl
2a77a718ffbdbc464f97c5ca76a467aa39f50735
1335659a2bce75234770a88aa5adea649b0f4ff1
/setup.py
c079fd8d50a7ff6299bc09cefb561ee0284863ed
[]
no_license
goldlee/auto_cython_so
a6fa05ab8571db0c9265713bbf4a4fbf171bde8e
fdfd0b7e43fb1b28a7929a1128da9b98fb8e646f
refs/heads/master
2020-03-21T20:41:19.408398
2018-06-28T13:29:28
2018-06-28T13:29:28
139,020,603
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from distutils.core import setup from Cython.Build import cythonize setup( name='part one pyx', ext_modules=cythonize('part_one.pyx') ) setup( name='part two pyx', ext_modules=cythonize('part_two.pyx') )
[ "noreply@github.com" ]
goldlee.noreply@github.com
09a20fc08bd4c36c320dd80bd12158ff8b3dd30e
0549916a0d04943a0d944a2794e103aed2d1299c
/docs/conf.py
1e9f35385b8904bab54fa8a27ed5d249e4bc4fcb
[ "MIT" ]
permissive
stephtdouglas/thejoker
20d6eac36520477b0478ae84effa519fde625f2f
b1f2681cd72b6c04d19b24aadf818639c5f59ad0
refs/heads/master
2020-03-18T10:26:55.842576
2018-04-16T20:24:47
2018-04-16T20:24:47
134,612,547
0
0
null
null
null
null
UTF-8
Python
false
false
7,806
py
# -*- coding: utf-8 -*- # Licensed under a 3-clause BSD style license - see LICENSE.rst # # Astropy documentation build configuration file. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this file. # # All configurati...
[ "adrian.prw@gmail.com" ]
adrian.prw@gmail.com
bf3f44f29fe22e3eacac89c1ff2363bcbe881b4f
5aa89e81a30cdbdc11841814ff4fef63834f298c
/CODE/Map-Visualization/mapdata.py
40d80b40078a7b6b67e0657293e67e594a4dddb0
[ "BSD-2-Clause" ]
permissive
jinwang7/US-Car-Accident-Handling-Time-Prediction
ab373b9bc98c60492dfc14bee8b9c99326b18b3e
ce15c969cd9cb3c9dda792d11dfb3c9bbe070f7e
refs/heads/master
2023-03-12T17:46:58.882845
2021-02-24T19:34:20
2021-02-24T19:34:20
169,827,304
0
0
null
null
null
null
UTF-8
Python
false
false
2,393
py
# -*- coding: utf-8 -*- from flask import Flask, render_template, jsonify, request, g import json import database import sqlite3 db = database.sql() def loadDB(): try: conn = db.create_connection("m97") except: print(" * Database Creation Error.") try: res = db.create_table(conn)...
[ "jlwon53@hotmail.com" ]
jlwon53@hotmail.com
7ea41cc1b3b7ec813dcbda021d03ba3f5c27f75c
087a0c581167b5a60189aef199eb79dc2a96d88d
/Lab6/lab6.py
a9c7a33528bb3faeb31cbfbffed82d92cb2f579e
[]
no_license
sgomez29/CS-2302-Labs
b7817c4cba11c2b7671d68f2647e18808183c328
ee157b2044d07daa8ac8325829eb7db73f68e963
refs/heads/master
2020-04-22T14:45:37.967317
2019-05-14T04:26:59
2019-05-14T04:26:59
170,454,976
0
0
null
null
null
null
UTF-8
Python
false
false
4,794
py
# -*- coding: utf-8 -*- """ @author: Sebastian Gomez Course: Data Structure 2302 Assignment: Lab 6 Instructor: Olac Fuentes T.A: Anindita Nath and Maliheh Zargaran Purpose: Modify the given code to function with disjoint set forest and display the correct maze. """ import matplotlib.pyplot as plt import num...
[ "noreply@github.com" ]
sgomez29.noreply@github.com
560c5a2629750b464208d25395266f44c2f9d6ef
9d4bc96e5ab8c7018f38f0043a556d5a66021d3c
/etl.py
dbafc960f7d7f53128aef74ecf8946ce882228dc
[]
no_license
chrisk2b/Data-Lake
a7b3df83c079f3d9f88c2698147b66909ad3f006
3c0c96377f7d92dd866d856ee068e6ffe80bbe7c
refs/heads/master
2020-08-04T00:37:56.234368
2019-09-30T20:17:43
2019-09-30T20:17:43
211,939,321
0
0
null
null
null
null
UTF-8
Python
false
false
6,531
py
import configparser import datetime import os from pyspark.sql import SparkSession from pyspark.sql.functions import udf from pyspark.sql.functions import year, month, dayofmonth, hour, weekofyear, date_format from pyspark.sql.types import TimestampType config = configparser.ConfigParser() config.read('dl.cfg') os.e...
[ "myEmail@xxx.com" ]
myEmail@xxx.com
e4e057c7bce6cf4c39cb200472afede0bb9d82a4
30808fdc7c85f769325a06be6084639801eabebc
/3-imdb/imdb.py
285fa8073cdf44ce84dd194809a9f9019533f1a4
[]
no_license
fazzams/dsdm-bs4
91fff93171cbab40760f8b9dd3842bfda2f51080
a0537469cda07a740e22c3c83ba39aecb031ba10
refs/heads/main
2023-05-28T00:05:00.271734
2021-06-20T02:15:40
2021-06-20T02:15:40
378,374,237
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
import requests from bs4 import BeautifulSoup res = requests.get('https://www.imdb.com/chart/top/') html = res.text soup = BeautifulSoup(html, 'html.parser') tbody = soup.find('tbody', {'class': 'lister-list'}) trs = tbody.findAll('tr') # for tr in trs: # td = tr.find('td', {'class': 'titleColumn'}) # prin...
[ "varokahdotnet@gmail.com" ]
varokahdotnet@gmail.com
a60fbcbbc69958f5ae30440671c2b1bad5233bf5
2de8bd4350c175cb9b2b5bdb9083b9c0c286186c
/climate.py
e8d3477618e56b920294544d4ebd0e7fe110fe28
[]
no_license
JoseCarvajal-0061/Surfs-Up-SQLAlchemy-
ce3a51d0d8a11294ee02edceb6a73fe9cd1470d1
f21285d6d98a68248adbad947d63b5e540bde7b0
refs/heads/master
2020-06-16T12:15:09.159157
2019-08-13T21:05:01
2019-08-13T21:05:01
195,567,989
0
0
null
null
null
null
UTF-8
Python
false
false
3,082
py
##http://flask.pocoo.org/docs/0.12/patterns/sqlalchemy/ ## using modules from the flask orm classwork import numpy as np import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func from flask import Flask, jsonify import...
[ "noreply@github.com" ]
JoseCarvajal-0061.noreply@github.com
1189b27244f3de06caf8dbdaa63d2e041229981b
333f2c966ecc210aa8ea91e0e1e6eac8b2e87e7c
/utils/torch/models.py
708d505d7b5d9dc7e50e67c04668467597e1e12d
[]
no_license
yingsihao/image-vae
9a288d318875047b45fac67c7509d1e5dc4b0752
707038c8f3c1614f35c8450bf460b850f3204928
refs/heads/master
2021-04-28T01:37:42.451976
2018-02-21T04:31:33
2018-02-21T04:31:33
122,282,656
1
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
import torch import torchvision from .misc import load_state_dict model_paths = { 'alexnet': 'https://download.pytorch.org/models/alexnet-owt-4df8aa71.pth', 'vgg11': 'https://download.pytorch.org/models/vgg11-bbd30ac9.pth', 'vgg13': 'https://download.pytorch.org/models/vgg13-c768596a.pth', 'vgg16': 'h...
[ "1040296932@qq.com" ]
1040296932@qq.com
8ce8db81c319da4f219a0a674322a8274e059700
bf483f9389e6733685eb92f5e376a8a000200b2c
/morgan-and-string.py
dcfa099e46046324a0ca673e11ee2ff2af42bd3c
[]
no_license
perestoandr/hackerrank-challenges
23b40d57df27d04d7bf4a0acc8871b7719c00977
822235bbd1ba1f445d3d4699cae1285e29589e7f
refs/heads/master
2021-01-10T05:28:26.682998
2015-10-26T09:03:29
2015-10-26T09:03:29
44,862,096
0
0
null
2015-10-26T09:03:30
2015-10-24T10:48:10
Python
UTF-8
Python
false
false
1,578
py
__author__ = 'Andrey Perestoronin' def commonprefix(m): "Given a list of pathnames, returns the longest common leading component" if not m: return '' s1 = min(m) s2 = max(m) for i, c in enumerate(s1): if c != s2[i]: return s1[:i] return s1 def solve(f_str, s_str): # """...
[ "per4ik256@gmail.com" ]
per4ik256@gmail.com
453b1c254a73d6ca3f23e25571f460f0270bd009
1816378da612c7db376934b033e4fd64951338b6
/gui/system/migrations/0053_auto__add_registration.py
4a22f895de85bfa55c644ca8410ecc3045f62741
[]
no_license
quater/freenas-9.2-xen
46517a7a23546764347d3c91108c70a8bd648ec6
96e580055fa97575f0a0cb23a72495860467bcfb
refs/heads/master
2021-01-16T22:21:38.781962
2014-02-07T05:59:13
2014-02-07T05:59:13
16,609,785
2
0
null
null
null
null
UTF-8
Python
false
false
18,183
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Registration' db.create_table(u'system_registration', ( (u'id', self.gf('django....
[ "john@ixsystems.com" ]
john@ixsystems.com
7669acaa0139374e57a42a7a5e950e3fd981b1cf
3ca6b34676a0adeaba85a2953a8c9abf5d6ef3e4
/cap 5/pizza.py
44790867aae04d53d68213989d73d8dcd4ef7e96
[]
no_license
giusepper11/Curso-intensivo-Python
34fb8e94c7c9afb09f54d8fc67136b337d0ef106
613cd502af3ff877dac0d62d9eb09b290d227838
refs/heads/master
2021-08-30T11:41:42.824065
2017-12-17T19:47:15
2017-12-17T19:47:15
114,535,941
1
0
null
null
null
null
UTF-8
Python
false
false
637
py
available_toppings = ['mushrooms', 'olives', 'green pepper', 'pepperoni', 'pinapple', 'extra cheese'] requested_toppings = ['mushrooms', 'extra cheese', 'french fries'] # if 'mushrooms' in requested_toppings: # print('Adding mushrooms') # if 'pepperoni' in requested_toppings: # print('Adding pepperoni') # if '...
[ "giusepper11@gmail.com" ]
giusepper11@gmail.com
90bc649d8e37a8a2ab464de17e845eb4c6b5059d
d93aaca102205ae01e9df1973323cf57bbf75285
/huffman.py
9b4a7e8feff72af1d23eb186217a3d22d88db319
[]
no_license
NDU-CSC325/inclass
1369688d9563e8b2733db8cf1ed5c58b2d74b3fb
6ab75f332bc527577560047fb1758d75ce32616b
refs/heads/master
2022-12-07T13:41:04.186769
2020-09-08T04:37:48
2020-09-08T04:37:48
293,701,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,562
py
import queue class Node(object): def __init__(self, left=None, right=None): self.left = left self.right = right def children(self): return((self.left, self.right)) freq = [ (8.167, 'a'), (1.492, 'b'), (2.782, 'c'), (4.253, 'd'), (12.702, 'e'),(2.228, 'f'), (2.015, 'g'), (6.094, '...
[ "hfarhat@ndu.edu.lb" ]
hfarhat@ndu.edu.lb
393f9f99efe0ef78a30c5e833c4afc259743ad65
ef78df56568965c520e976647a059c7f2b0d6800
/homeassistant/components/yale_smart_alarm/coordinator.py
4e3468d90d9b03beb8e523e9466bf6b5d4a360e6
[ "Apache-2.0" ]
permissive
Mr-Grover/home-assistant
250c22fde380b349b0a4138dc97ba84c2bfb09dc
17bf51a855d981b757299be53cdb3ca488176c5b
refs/heads/dev
2023-03-03T22:49:28.723627
2022-01-11T19:20:15
2022-01-11T19:20:15
240,709,637
0
0
Apache-2.0
2023-02-22T06:15:55
2020-02-15T12:44:38
Python
UTF-8
Python
false
false
5,377
py
"""DataUpdateCoordinator for the Yale integration.""" from __future__ import annotations from datetime import timedelta from yalesmartalarmclient.client import YaleSmartAlarmClient from yalesmartalarmclient.exceptions import AuthenticationError, UnknownError from homeassistant.config_entries import ConfigEntry from ...
[ "noreply@github.com" ]
Mr-Grover.noreply@github.com
a04ff5d4bae9109384d468f2375916651f0782c8
fe1d3a2e3b51d1440a5c431c32afc334841dcdc6
/view-point-server/tests/landmark_objects/perform_modeling.py
a351aa50fa3ffb0b0128eba0135d867485c7742d
[]
no_license
vyzuer/view_point
5a9b2251880de93a6ac41058f7d05eac2f4d814d
3ae071f8b5eca883f5d8790ad441d8ae419e9242
refs/heads/master
2020-06-15T23:35:26.027690
2016-12-01T05:35:33
2016-12-01T05:35:33
75,258,808
3
1
null
null
null
null
UTF-8
Python
false
false
1,189
py
import sys # add the package sys.path.append('/home/vyzuer/Copy/Research/Project/code/view-point/view-point-python') import landmark_object.classify_objects as cl_obj import landmark_object.gmm_modeling as gmm_model import landmark_object.geo_pixel_map as gpmap def process(cluster_model_path, dump_path, model_type):...
[ "ysrawat.cse@gmail.com" ]
ysrawat.cse@gmail.com
198f417c20f548b5837d62bb3ea3650d6729a7b7
a66460a46611483dfbdc94c7996893f427e60d97
/ansible/my_env/lib/python2.7/site-packages/ansible/modules/source_control/github_hooks.py
df0f0f2199b9d4b047c892050d52ba99640ae995
[ "MIT" ]
permissive
otus-devops-2019-02/yyashkin_infra
06b57807dde26f94f501828c07503d6bf1d70816
0cd0c003884155ac922e3e301305ac202de7028c
refs/heads/master
2020-04-29T02:42:22.056724
2019-05-15T16:24:35
2019-05-15T16:24:35
175,780,718
0
0
MIT
2019-05-15T16:24:36
2019-03-15T08:37:35
HCL
UTF-8
Python
false
false
5,874
py
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2013, Phillip Gentry <phillip@cx.com> # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_version': '1.1', ...
[ "theyashkins@gmail.com" ]
theyashkins@gmail.com
3effdaf97d97d55e915f10ae63b2a6434af592da
ce6acdee77405c988bf4cf719e493c054b7682a6
/code/trainmore.py
9978d0c42a237bfc5913074b9e8fea5aa201dd2b
[ "Apache-2.0" ]
permissive
ssharpe42/query_completion
ffaf769eb42bdad853578bd0f47c8b9b52ccbe07
0928a02a25a2c1f33e2122e4e55777b33afe36e3
refs/heads/master
2020-05-02T17:08:51.372608
2018-10-21T03:03:38
2018-10-21T03:03:38
178,089,729
0
0
Apache-2.0
2019-03-27T23:27:21
2019-03-27T23:27:21
null
UTF-8
Python
false
false
2,435
py
import argparse import logging import os import pandas import numpy as np import tensorflow as tf import helper from dataset import Dataset, LoadData from model import Model from metrics import MovingAvg from vocab import Vocab parser = argparse.ArgumentParser() parser.add_argument('expdir', help='experiment directo...
[ "ajaech@cs.washington.edu" ]
ajaech@cs.washington.edu
1aa5f30f75d756e2d60d09e99a08e0c7a06a8549
cd5746f8cc7aee1f20606a65b4fae0d5e8ee78dc
/Python Books/Athena/training/exercises/exercises/software_craftsmanship/code_check/code_check_solution.py
503dc3833b752d73aa4ecca182f07f0d07cda69b
[]
no_license
theGreenJedi/Path
df24fca355590efef0c6cb5c52e7216c6b5d2464
b5ed2805dbb046480929e49e550bfd8af5bb4d6f
refs/heads/master
2023-07-27T14:23:37.694546
2021-07-16T01:38:55
2021-07-16T01:38:55
87,686,563
8
2
null
2023-07-11T22:49:03
2017-04-09T05:57:30
Jupyter Notebook
UTF-8
Python
false
false
1,073
py
""" Code Check ---------- This code has an assortment of bugs, and its style doesn't conform to PEP-8. Use pyflakes and pep8 to find and fix the code. You may have to install pep8 with the command: $ easy_install pep8 It might take a few iterations before pyflakes doesn't complain about something. """ from math i...
[ "GreenJedi@protonmail.com" ]
GreenJedi@protonmail.com
b8ac2843fb89853745a7f93dbe72c3393a114360
429b8a9fadc7874c4be217802b7af9ac2db7b95f
/yahoo_placemaker/geoplanet.py
3849a612d5794232e17966b1d1084471b7eb96ef
[]
no_license
lraucy/newsBoard
3ec904fb3e6971724bd6f4d11e5ba9e5a11153a9
23565a36425ba911f67f960193705ea3cd8baf85
refs/heads/master
2021-01-01T05:59:51.483954
2011-07-07T03:31:05
2011-09-13T07:30:48
1,701,641
0
0
null
null
null
null
UTF-8
Python
false
false
11,581
py
# When using ElementTree to parse the XML returned by the API, # each tag is prefixed by the schema URL. We need to use this # prefix when finding tags in the document. TAG_PREFIX = '{http://where.yahooapis.com/v1/schema.rng}' # API Key to be able tu use Yahoo PlaceMaker API_KEY = '3hgLZdrV34E4RaJ_HZQPov0IGkLCJ6QWSv8PN...
[ "florian.thorey@ŋmail.com" ]
florian.thorey@ŋmail.com
61743d58740d3117bc40d7b3150ef5b73d95e09c
bdf4cdfcc8a73fae72386b65a4b94ab15bf4e125
/airflow/models/dagrun.py
1bfce45c093f5aa043ebfb849b137f6812fe5376
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "BSD-3-Clause", "Python-2.0", "MIT", "BSD-2-Clause" ]
permissive
Orpheus11/airflow-forked
de294cc1e2cf1c1c3150851eb29d72115209883e
8de45f8f0bc72c565a36ddc2379b42217c73ab93
refs/heads/master
2023-01-20T03:44:14.915714
2019-07-09T01:56:11
2019-07-09T01:56:11
195,912,890
0
0
Apache-2.0
2023-01-13T23:37:40
2019-07-09T01:52:46
Python
UTF-8
Python
false
false
16,000
py
# -*- coding: utf-8 -*- # # 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 #...
[ "xuyiyi@daixiaomi.com" ]
xuyiyi@daixiaomi.com
20e6d3a3c1c4875111e84bc5d7da64095384a652
c2e5db237c4907e6bbfd4c2ff8b7d9720cddea7a
/timp_web/wsgi.py
190d087c91b45ad2fd10a4befc21158427c55f0e
[ "Apache-2.0" ]
permissive
nicolasmontenegro/timp-transportes-web
a7a212e4ba4ecbb0d03b4dd752e3068557ea6bfe
bbbaca61991996c1131a3eed7cf1ad4406d96c91
refs/heads/master
2021-01-18T23:59:56.235910
2016-11-16T23:58:54
2016-11-16T23:58:54
72,861,137
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
""" WSGI config for timp_web project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Djan...
[ "niko_nmv@live.cl" ]
niko_nmv@live.cl
78294f6a8aef669474858e616f2609a6d163080a
bef7c41e7b51417f9cc5c3d30a7f94b59286e2b7
/Algorithms/subsets.py
eb73b6b90fe89a9c354b65f360339b14b82bdd11
[]
no_license
algometrix/LeetCode
40dd6ea93c370cabe57ba672d820f261e0595cae
3dc885ac2a93781c36fbe2735061da29194caba4
refs/heads/master
2021-07-01T19:45:08.018784
2021-06-03T05:38:13
2021-06-03T05:38:13
235,496,179
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
import pprint def generateSubset(array): temp = [] result = [] def search(k): if k == len(array): result.append([array[index] for index in temp]) else: temp.append(k) search(k+1) temp.pop() search(k+1) search(0) return...
[ "ashishnagar31@gmail.com" ]
ashishnagar31@gmail.com
3a6a1d0868492e7109e545a0087c02f4ff9559d0
7c6e33495bc5fe0861edeed4f28538f79957c5f3
/run_climpact.py
4ca3021c019a3d794dae624ad091c819e09d255d
[ "OGL-UK-3.0" ]
permissive
rjhd2/era5_etccdi
b8fd1c864867c7e96ebc3b6275fd54909e305ea2
3e0d375b05da67833618f3a26b3931a6256d0a2d
refs/heads/master
2022-04-10T17:39:52.485491
2020-04-08T10:21:32
2020-04-08T10:21:32
254,041,565
1
0
null
null
null
null
UTF-8
Python
false
false
9,148
py
#!/bin/env python """ Wrapper for the Climpact2 code Run as:: python run_climpact.py --batch N --total M --batch ID of the tile --total Total number of tiles """ #******************************************* # START #******************************************* import os import datetime import numpy as np im...
[ "robert.dunn@metoffice.gov.uk" ]
robert.dunn@metoffice.gov.uk
b216d0f072c2e1c156b59d7618b849f5928627d9
5d5f6ba3bdcb52b4750a5f28afa8a1a1019bfc9e
/django/extras/miniRegisterProject/miniRegisterProject/wsgi.py
611c6dc7765e6df4a6c4145df88f0e835082e8e1
[]
no_license
eDiazGtz/pythonLearning
06e96f2f5a6e48ac314cb815cf9fbf65d0b7c2c8
57d7b2292cf5d9769cce9adf765962c3c0930d6c
refs/heads/master
2023-06-18T02:16:09.293375
2021-05-03T18:09:52
2021-05-03T18:09:52
335,090,531
0
0
null
2021-05-03T18:09:53
2021-02-01T21:35:24
Python
UTF-8
Python
false
false
415
py
""" WSGI config for miniRegisterProject project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('...
[ "ediaz-gutierrez@hotmail.com" ]
ediaz-gutierrez@hotmail.com
2928b28f75fb6d3b76b45bacd92d4dc6e5fa4665
2558a0d70c954f3efe7b63b2cce87c377ca9b002
/DB_Programming/Get_configinfo.py
8f5e0551d290ca46754edf2902f9fc6e92c1f317
[]
no_license
khazi5/Web_crawler
0012d4ee7fa7616a5d984297c3c0ebaa97df70e6
4bdb576e7877a7e00b0ac1ab71aea2f530e168ea
refs/heads/master
2020-05-31T14:47:00.337412
2019-06-10T06:57:20
2019-06-10T06:57:20
190,337,907
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# !/usr/bin/env python3 # --coding:utf-8 -- # @Time: 2019/1/3 # @Author: Wujiaqi import pymysql import configparser def get_config(): parser = configparser.ConfigParser() parser.read(filenames='config.ini', encoding='utf-8') config = dict(parser['mysql']) config['port'] = int(config['port']) ret...
[ "13802883424@139.com" ]
13802883424@139.com
335cb720b5dde330d81b001a276b57b83c8761f8
dfc77d784a20bd42f8ca946d51ed64554a112f74
/01_一个简单的爬虫实例.py
099333fc3462df8a904caeb7fe4b92ba165f312e
[]
no_license
luzhonghe999/WebCrawler
9dc12b0fb5ba2bb4e76963c034c4ce1e5097c170
1278d3bad18705fbaa69cc530f1d40732857843b
refs/heads/master
2021-04-27T13:51:55.822443
2018-03-07T14:07:26
2018-03-07T14:07:26
122,447,546
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
from urllib import request # 引用urllib中的request if __name__ == "__main__": response = request.urlopen("http://58921.com") #获取网址请求返回值 html =str(response.read(), encoding='utf-8') # 返回bytes转为utf8 print(html)
[ "luzhonghe999@gmail.com" ]
luzhonghe999@gmail.com
2a06374a0a793b1371880df1dcb25fa45b93da2c
aea74a8c1d4ad17eb65b7c70da5342c01fd1a930
/websites_mongo/scraper_military_shop.py
b0d8f9173ceff9468d92e846a3b1818f303f0b09
[]
no_license
savusebastian/angular_project
4e6d8b398e17ca91842d7579d8f4da8650e7a13a
9c28c25e4b9875abf346f7e9a7e8baa34bc3f9ee
refs/heads/main
2023-04-17T07:03:32.016850
2021-05-09T09:07:55
2021-05-09T09:07:55
365,710,891
0
0
null
null
null
null
UTF-8
Python
false
false
3,161
py
from bs4 import BeautifulSoup from bson.objectid import ObjectId from pymongo import MongoClient import pymongo import requests def military_shop_DB(): cluster = MongoClient('mongodb://localhost:27017/vrem_reduceri_db') db = cluster['vrem_reduceri_db'] collection = db['military_shop_products'] all_links = [ 'h...
[ "savusebastianf@gmail.com" ]
savusebastianf@gmail.com
1def5be0b51e055f3389540b66364e0974814105
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_159/624.py
cf0d31f0a91c8e0ded44e2339ac0e8cf0e446e08
[]
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
3,099
py
#codejam 4/17/15 import math as m import time #import codejam import sys sys.setrecursionlimit(100)#1100) #we need 1000 max #filename = r'c:\g\1A\1-test.in.txt' filename = r'c:\g\1A\A-large.in' #filename = r'c:\g\A1\1-large.in' foutname = r'c:\g\1A\1-out-large.txt' #foutname = r'c:\g\1A\1-out-large.txt' ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
78b3c1d487ea82b9aa85ad4770df38546553ffad
52a560dfc83df3109987a530f63b0afb30ebf1a3
/chapter2/연습문제!!.py
5263ccee822c04319dab9c376f97d4a65b6c82b0
[]
no_license
Jihyeonji/Mypython
a38dafaad9aa030c2d777b02827bc0ea7c2d4207
acc65e3f098a54fe5a8a4048d1808ae56c909971
refs/heads/master
2020-04-10T08:51:12.146533
2018-12-29T06:57:54
2018-12-29T06:57:54
160,917,302
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
radius=int(input('반지름을 입력하세요')) size=3.14159*radius*radius#radius**2 print('반지름이',radius,'인 원의 넓이=',size)
[ "noreply@github.com" ]
Jihyeonji.noreply@github.com
965ec1b48a577acb3a068e99a125e4191c4e2dbc
808e4e22e8c37d9119c97f4a0709ccb58d484291
/app.py
5d912ac724271f0de07bcb6923760f29ddf22e7b
[]
no_license
gsaiprathyusha/image_captioning
2b77e570875667c873c84d446820452dc4f7da50
8b47d4d715bb7005c0da98c12914fc261c6c7b16
refs/heads/master
2023-05-02T08:41:23.684408
2021-05-27T05:37:08
2021-05-27T05:37:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,288
py
from flask import Flask, render_template, request import cv2 from keras.models import load_model import numpy as np #from keras.applications import ResNet50 from tensorflow.python.keras.applications.resnet import ResNet50 from keras.optimizers import Adam from keras.layers import Dense, Flatten,Input, Convolution2D, Dr...
[ "saiprathyushagidugu71847@gmail.com" ]
saiprathyushagidugu71847@gmail.com
5f9f6b8d6eebedc454d11fdeac2df05d858b1f2c
8bba26a1e97f4b5ac316c04db96eddf2788aedf8
/api/server.py
f1dffccd5e8ec52d5375220c08a322c83fee2457
[]
no_license
yusuke-saruya/banana-classification
e68a73572362d06abb339c1dd5de0a47198f10fc
045440826a78450ec98b5d1e5b1d8eb918abdd9b
refs/heads/master
2020-06-29T17:53:09.065631
2019-08-05T04:57:43
2019-08-05T04:57:43
200,584,537
3
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
from flask import Flask, render_template, request, redirect, url_for, send_from_directory import numpy as np import os import string import random import tensorflow as tf import keras from keras.preprocessing import image from keras.applications.vgg16 import decode_predictions # 美味しいバナナかどうかを判定するモデル model = keras.model...
[ "b1035028@gmail.com" ]
b1035028@gmail.com
4e09b2610a1de447484dfa0b2a454a2e60fbe606
c1c7f9e400f788c296d9464117ba6cac553b03ca
/src/datasets/soilmoist.py
4985c8c3541822a678276e354a53aac02b638597
[ "MIT" ]
permissive
nasa/RHEAS
1d8e0d6cb2df13713d458db07c0348fcf18eb9e1
27d0abcaeefd8760ce68e05e52905aea5f8f3a51
refs/heads/master
2023-08-03T23:05:47.535575
2023-08-01T16:55:13
2023-08-01T16:55:13
46,281,533
88
63
MIT
2023-08-01T16:55:15
2015-11-16T14:57:18
Python
UTF-8
Python
false
false
4,223
py
"""Definition for abstract soil moisture class. .. module:: soilmoist :synopsis: Definition of the Soilmoist class .. moduleauthor:: Kostas Andreadis <kandread@jpl.nasa.gov> """ import numpy as np import dbio import logging class Soilmoist(object): def __init__(self, uncert=None): """Initialize SM...
[ "kandread@jpl.nasa.gov" ]
kandread@jpl.nasa.gov
d92c1f75a07e2f04df5fb19959372baad498e65a
f0ebdcd9e96f257a8c7b0a65e6303bfd6d09fe86
/taskmanager/tasks/models.py
8322037d432a17ea0328ce737739a02aec51392c
[ "MIT" ]
permissive
GeorgeZhukov/taskmanager
e2d9ad37bddd7c9b9287c752e285a9baeb33138b
5d3badcbab56cfcf89af3d82412e3314609fed94
refs/heads/master
2021-01-15T12:26:16.973231
2015-03-29T23:01:22
2015-03-29T23:01:22
32,614,787
0
0
null
null
null
null
UTF-8
Python
false
false
2,543
py
from django.db import models from django.contrib.auth.models import User from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from datetime import date # Create your models here. @python_2_unicode_compatible class Project(models.Model): name = mo...
[ "scofield.cross@gmail.com" ]
scofield.cross@gmail.com
1ee0c3ef6c2b1da94c83597d3f8bfbbbb296b44a
287a39dcae45d197dca06f723f599a5ce31323c5
/Week7/import_json.py
50511503e40284790c1e455ab24f95c8b59cdb67
[]
no_license
albertsuwandhi/Python-for-NE
1a9db780b2f133d1b92f4200139b49c142b203d4
aae6f92fa2a9d867986c22e0e720666b765c1bf5
refs/heads/master
2020-04-05T20:17:52.925464
2018-12-06T08:48:13
2018-12-06T08:48:13
157,173,606
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
#/usr/bin/env python import json filename = input("Please specify the JSON file : ") #json_output1.json #json_output2.json with open(filename) as f: output = json.load(f) print(f"Type of output is :", type(output)) print(f"Content of {filename} : ") print(output)
[ "AS40011@ds.smart-tbk.com" ]
AS40011@ds.smart-tbk.com
194d98d1d0d45aef000079592aa04d7d962ac081
43ab00abae60c3d016e59065fa9bbe3ab4d40add
/libscampi/contrib/multilingual/admin.py
da40450e038da87419e9b71b6a6b982e5445272e
[ "BSD-3-Clause" ]
permissive
azpm/django-scampi-cms
29ab99c996568b33aed8278e18e0d03125e07d7c
7ed96496ef79b47ac8685c0d2b83291be6e6a809
refs/heads/master
2023-05-13T14:45:56.743864
2023-04-28T20:12:09
2023-04-28T20:12:09
5,610,789
2
1
NOASSERTION
2019-04-26T02:43:25
2012-08-30T05:16:39
Python
UTF-8
Python
false
false
122
py
from django.contrib import admin from libscampi.contrib.multilingual.models import Language admin.site.register(Language)
[ "leingang@arizona.edu" ]
leingang@arizona.edu
c9638f69e003e3ca5295542b355296380dba5ac6
1ddff626efb405aeab4ec4bc2296154d43a59627
/get_data.py
b473a0ea4c22337c19d2f40a11d1954dfc5a12bd
[]
no_license
morgan222/trading_bot_fun
cc4493f162fc968cbc788281efa1c668787a3dda
829cbb2e3b84841fba78dd8eff348203fee9ccf9
refs/heads/master
2021-01-12T11:22:06.335964
2017-05-17T04:13:07
2017-05-17T04:13:07
72,903,499
1
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
""" Author: M Wood The purpose of this module is to download data from yahoo finance for machine learning applications pandas_datareader is very good at downloading table of stock price terent data needed to implement own class extension to get good quote data - yahoo quote """ import pandas as pd imp...
[ "morgan.wood30@gmail.com" ]
morgan.wood30@gmail.com
c09e738a65a63a9205d71eecf0d10d4efcb5b816
cd2aaf0097f2e244aa4a22c9da7133dd0e2f2fb8
/Saylani/python-code-master/23July2017/hello/first.py
3447c8c7a278396583b817b155ad18eece3784af
[]
no_license
EnggQasim/SSUET-2017-Module-I
349ea6e9b0554fa8c55899622bf0ee97fd19b685
cd41ab8e768616ca56ddaa1d7662283f653674f9
refs/heads/master
2020-03-25T10:36:38.330710
2018-09-30T13:17:38
2018-09-30T13:17:38
143,698,684
1
2
null
null
null
null
UTF-8
Python
false
false
190
py
print("Hello New world") name = "Mughal" name = 'Mughal' age = 45 email = "zeeshanhanif@gmail.com" print(name) name = 67 print(name) name1 = "My father\"s name is M. Aslam" print(name1)
[ "m.qasim077@gmail.com" ]
m.qasim077@gmail.com
f0a78184f60c70fe10ad402417889766bd580a34
a91c54c611f3cde6c1438403c9dfb6a8b1ac06c0
/helpers.py
b0a5d2efda656b37edd7b70e9dddee4308bd342b
[]
no_license
taimurshaikh/Zabaan
9a5e494e637534abc75537206194fd34bd412dda
7010b5f5e13173021e1ee01399cdcec335c9efc0
refs/heads/master
2022-12-21T13:48:37.751361
2020-10-03T17:23:13
2020-10-03T17:23:13
283,689,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
from googletrans import Translator, LANGUAGES from flask import redirect, render_template, request, session from functools import wraps def login_required(f): """ Decorate routes to require login. http://flask.pocoo.org/docs/1.0/patterns/viewdecorators/ """ @wraps(f) def decorated_function(*...
[ "noreply@github.com" ]
taimurshaikh.noreply@github.com
126d0e9088aaa1fee514e75d4029b408bce6ffd6
0e7a4a6926dc83b0ae415a2a9430c3e5274c8602
/my_modules/my_table.py
24f1005d0437b59515b91776b7c9e6d9413adc12
[]
no_license
madmadcat/QtCookBook_Demo
9b0b3fb36c0786b186e42ad83a78ccdb31e2f002
8287964874fd9cafe5024118a2611af226e936d3
refs/heads/master
2023-02-27T11:59:44.736598
2021-02-05T13:03:56
2021-02-05T13:03:56
325,999,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
import sys from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QLabel, QHeaderView from PyQt5.QtWidgets import QAbstractItemView, QTableWidget, QTableWidgetItem d = [['a', 'b', 'c', 'd'], ['a1', 23, 66, 78.9], ['a2', 343, 54, 56]] class MyTable(QWidget): def __init__(self, row=1, col=1, hea...
[ "xdong@wandtec.com" ]
xdong@wandtec.com
f20f68c5084a1ab59b8f818acf765c7c14d3daef
0ab73db1fe43137607b1e98698a3fb2e7a563da2
/microspeech/GCC_ARM/gcc-arm-none-eabi-8-2018-q4-major/arm-none-eabi/share/gdb/python/gdb/command/xmethods.py
2baf9ba22fa8b1217b0400f0d1cfcf43768a3055
[ "Apache-2.0" ]
permissive
villasen/ML-KWS-for-MCU
8fa5a1f634124e4625e3df045c3e5a1434eb7aab
704a36897c04582254239fccb8bc37af04919b1d
refs/heads/master
2022-04-01T16:09:11.913268
2020-01-26T07:06:34
2020-01-26T07:06:34
174,032,222
0
0
Apache-2.0
2019-03-05T22:47:25
2019-03-05T22:47:24
null
UTF-8
Python
false
false
10,032
py
# Xmethod commands. # Copyright 2013-2018 Free Software Foundation, Inc. # 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...
[ "villasen@unlv.nevada.edu" ]
villasen@unlv.nevada.edu
af1e0e907003daee44da973d60285a37d8a35005
877d8ba5e213f3bf28543c1d31fcd585970fb71b
/Python programming homework/lesson 1/pi.py
c86252a9d8020dc30559fb79cb5f58feb1275b50
[]
no_license
YiMengLei/Hello-Github
106ca4d5c9f129c3521ed5e1f099e902b6994ee4
2cac79f82eaa8089389c771d9dfa28bda8775ba7
refs/heads/master
2021-01-19T11:02:14.741197
2014-10-26T13:35:25
2014-10-26T13:35:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
from random import random from math import sort from time import clock DARTS=1000 hits=0.0 clock() for i in range(1,DARTS) x,y=random(),random() dist=sqrt(x ** 2+y**2) f diet <=1.0 hits = hits +1 i = 4*(hits/DARTS) print"pi is %s" % (pi) print"running time is %-5.5ss" %clock()
[ "zhaowenyi94@gmail.com" ]
zhaowenyi94@gmail.com
3fa146bf7f540c8f6db13aa2fb446b0de38e3778
309287ebf335a379f593bcf3fffde5a42d902bb3
/SeleniumTest_3/thirdTest/mainFunction.py
aa240164fb9e32a011cc2fe1644b4d8abe6a42c2
[]
no_license
mscheuer92/Selenium_Python
6f910ede7554208da9fbdd1e743f74f028fc59b5
857a0f6a957c74a9eed2e7832e59b56c490c6e5b
refs/heads/main
2023-04-09T17:08:10.779922
2021-04-10T14:23:43
2021-04-10T14:23:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
from selenium import webdriver import unittest from searchObject import SearchObject from sortPrice import SortPrice from selectItem import SelectItem from addToCart import AddtoCart from insideCart import InsideCart class mainFunction (unittest.TestCase): def setUp(self): self.driver = webdriver.Chro...
[ "michelle@michelle-AL34" ]
michelle@michelle-AL34
5fb8b2e6dd69ef1453ce691638668749ee32b12b
29e1133741b339c2e6c4c0385a103f68baa32a11
/findata/gbif/gbif.py
94ef7024bcdaf8ce800a3eefbe841ba0e9df5a59
[]
no_license
Gscsd8527/AllProject
b406935dd1e969d1f45a62f870fb409f81ba4200
10b56c432b6f433e3a37967b7c717840e726765c
refs/heads/master
2023-02-21T20:25:48.397668
2022-03-04T14:01:27
2022-03-04T14:01:27
199,461,253
13
6
null
2023-02-15T20:47:23
2019-07-29T13:45:25
Python
UTF-8
Python
false
false
1,903
py
import requests from concurrent.futures import ThreadPoolExecutor, as_completed import json import pymongo from loguru import logger myclient = pymongo.MongoClient('mongodb://*********:27017/') mydb = myclient['dataset'] # 数据库 mycol = mydb['gbif'] # 表 class Gbif: def __init__(self): self...
[ "tan_gscsd@163.com" ]
tan_gscsd@163.com
bfd894e1a71fe2870889a9318467e36db864ee6d
0a68283b55076b6265fd8b73ca87ff5f4e4d5e2f
/testchild.py
fd5420835b743a0cccdb3cb427dc7f8df7a63969
[]
no_license
shaqs5/IBMDS
ca618542cb084a8acf2e7f59f3d1604b74c567de
ab1ad4a97adb39a6f69f0d6002f92c34193c970a
refs/heads/main
2023-04-25T10:52:07.883009
2021-05-12T09:31:07
2021-05-12T09:31:07
366,652,313
0
0
null
2021-05-12T09:31:08
2021-05-12T08:53:44
Python
UTF-8
Python
false
false
66
py
#This is a child branch file print("This is a child branch file")
[ "noreply@github.com" ]
shaqs5.noreply@github.com
0b2429b09b8241cec191f1aa8570c9f58ffc540d
bf63403c5a016c70f0045b586fc30f5d0132a429
/hello.py
342f2ebfb421c5ca36b45e9403e7072c1b799bb7
[]
no_license
odysseyhack/apg-rescue-rangers-engine
f72aa9e14b01d61a9dcb2014616cdfdc6789c2bd
9c1c682934d7f52b950dd2e5c018dd95cbba2cac
refs/heads/master
2020-05-05T02:56:56.960928
2019-04-14T08:58:08
2019-04-14T08:58:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
# -*- coding: utf-8 -*- """ Created on Sat Apr 13 15:11:22 2019 @author: vegac """ print("hello world")
[ "vegacyrez@gmail.com" ]
vegacyrez@gmail.com
9f7c7cef1726910db585906e0c6bc38c69a04522
dff47f2ac7671e074fec2f6f1590c8c994e1be27
/1_map/PyGreentea/PyGreentea.py
efb564f538f3dcdd0a4e9deb6eb3b856a3c7b5d3
[ "BSD-2-Clause" ]
permissive
VCG/parallel_unet
a4976bd23569389810b4075793c0394bdd976ed8
87f39a6f93992aaacb2796d134b57fdd7273b164
refs/heads/master
2021-01-17T23:07:53.103134
2017-06-09T19:42:04
2017-06-09T19:42:04
84,212,594
1
1
null
null
null
null
UTF-8
Python
false
false
40,186
py
import os, sys, inspect, gc import h5py import numpy as np from scipy import io import math import threading import png from Crypto.Random.random import randint import numpy.random import pdb # Determine where PyGreentea is pygtpath = os.path.normpath(os.path.realpath(os.path.abspath(os.path.split(inspect.getfile(insp...
[ "felix.e.gonda@gmail.com" ]
felix.e.gonda@gmail.com
eb239ea05111f45f7895638f522781c0099a3208
d9b2d83e3050e9a6e0b5c9307579cdd6bff5d079
/pepipost/decorators.py
0c8bc764aba518c9a93439afdf700dcd2c4cc267
[ "MIT" ]
permissive
pepipost/pepipost-sdk-python
2d8cddd9a46e79dc4d31f8fe8269740cb0bec348
6e3ac051c5156ea9f9ee46209436675bf78e72ae
refs/heads/master
2023-05-25T05:20:16.100053
2020-09-02T11:58:06
2020-09-02T11:58:06
56,518,373
7
3
MIT
2020-04-04T05:07:41
2016-04-18T15:13:06
Python
UTF-8
Python
false
false
509
py
# -*- coding: utf-8 -*- """ pepipost This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). """ class lazy_property(object): """A decorator class for lazy instantiation.""" def __init__(self, fget): self.fget = fget self.func_name = fget.__name...
[ "snipperbytes@gmail.com" ]
snipperbytes@gmail.com
24e59e1d1a203501db5f574426f066684bb0cf9a
16ee3659a670dec5914dce456a27fb6dbb3038b6
/Lab2/lab2ex13.py
78ca16c1a0319de6f0b4bc3e17f4d03892542ea3
[]
no_license
saharma/PythonExercises
eeae8172c70074aac9d88233a1fac495b5d01249
49fc041d93dcd64329bd18981aa3f69def8db19f
refs/heads/master
2021-01-20T17:53:45.506075
2017-05-15T18:20:16
2017-05-15T18:20:16
90,893,757
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
albert = "albert einstein" bertie = "bertie" result = "" for x in bertie: for y in albert: if y == x: result = result + y break print(result)
[ "saharmohdali@gmail.com" ]
saharmohdali@gmail.com
b8732654492ceef372cc4e82ca927642071ce0f8
47ec91bedb4ca9d69bf288fd25484b08e013a8ac
/themylog/config/processors.py
ade5bc4eb60a7c781f37f1697dc4a98080629c66
[]
no_license
themylogin/themylog
23d1238866240d168cf3ce828bbb85d38276a226
d4de99f08f066972a06c1463a1e2440a56513bfa
refs/heads/master
2020-04-15T17:29:36.318428
2016-04-17T14:53:14
2016-04-17T14:53:14
14,795,831
1
0
null
null
null
null
UTF-8
Python
false
false
626
py
# -*- coding=utf-8 -*- from __future__ import absolute_import, division, unicode_literals from collections import namedtuple import sys from themylog.config.scripts import find_scripts Processor = namedtuple("Processor", ["name", "process"]) def get_processors(config): processors = [] directory = config.ge...
[ "themylogin@gmail.com" ]
themylogin@gmail.com
aa88d237f82efd69dcad3acdefee375604dc43d1
594555ce60da5dd32e34b87ea48f0731e19adc9d
/models/DeformableConvNets/rfcn/config/config.py
1d92e26d8c13935504bc06b43e6750fa49331915
[ "MIT" ]
permissive
i-pan/kaggle-rsna18
97a4a016183ae19a3690f0c89454339fdfdaf2a9
2db498fe99615d935aa676f04847d0c562fd8e46
refs/heads/master
2022-02-09T16:39:53.996841
2021-12-23T23:49:23
2021-12-23T23:49:23
156,621,490
227
72
MIT
2021-12-23T23:49:45
2018-11-07T23:21:51
Python
UTF-8
Python
false
false
6,246
py
# -------------------------------------------------------- # Deformable Convolutional Networks # Copyright (c) 2017 Microsoft # Licensed under The MIT License [see LICENSE for details] # Modified by Yuwen Xiong, Bin Xiao # -------------------------------------------------------- # Based on: # MX-RCNN # Copyright (c) 20...
[ "rih3dlab@rih3dlab-deeplearner.lsmaster.lifespan.org" ]
rih3dlab@rih3dlab-deeplearner.lsmaster.lifespan.org
83bf4ce9633cc8c5cfc18dd625a1171439744948
e970c6bfb725a038a17600763db44e21e2591f18
/ex44c.py
54eb4a7a4339aa5da3f33a469a804c9772db8bf7
[]
no_license
gabyborja/learnpython
5b9dede94c7bbf2087d79833c4dd0ee099b29d23
13bccb5723c125e28646da694cafec4f581ba55f
refs/heads/main
2023-03-08T02:14:44.447713
2021-02-17T11:22:58
2021-02-17T11:22:58
329,461,347
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
class Parent(object): def altered(self): print("PARENT altered()") class Child(Parent): def altered(self): print("CHILD, BEFORE PARENT altered()") super(Child, self).altered() print("CHILD, AFTER PARENT altered()") dad = Parent() son = Child() dad.altered() son.altered() # T...
[ "gabyborja1994@gmail.com" ]
gabyborja1994@gmail.com
cb8b5b0617c9db4aef66e16cb81ce5a3fcd33305
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_29358.py
0321469737aa07d31d022e05273ebf1901e76801
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
# Python coveralls not testing "if name == __main__" if __name__
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
e9bacb59789507531c133b57b1c69f4adcf0a42e
dc6cad4048c512c333d2158b275c32fe4da0ab66
/NewsCollector/common.py
2c294cbefef818216193999e56b5eaa9ef0db537
[]
no_license
vinod-designer1/hackernewsclone
d110e4d3eb3bfc3892c654780a7e7dafbc77bfb1
94da574bb86f4764624d1d2f261fd54378f642ee
refs/heads/master
2020-05-24T15:33:44.099772
2015-08-03T05:21:48
2015-08-03T05:21:48
39,960,899
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
from .models import HackerNewsArticles def get_articles(limit): articles = HackerNewsArticles.objects.order_by("-modified_date", "article_rank")[:limit] return articles
[ "vinod.designer1@gmail.com" ]
vinod.designer1@gmail.com
e5f2f94778e5364a8c9c19af7062bf8a1f7f02e9
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/workspaceclient/tests/test_keys.py
96b2015989f56a8230f5fa71a7c7b1f05fd50952
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
2,895
py
from contextlib import contextmanager from ftw.builder import Builder from ftw.builder import create from opengever.testing import IntegrationTestCase from opengever.workspaceclient.exceptions import ServiceKeyMissing from opengever.workspaceclient.keys import key_registry from plone.restapi.serializer.converters impor...
[ "e.schmutz@4teamwork.ch" ]
e.schmutz@4teamwork.ch
0bd55fe6d36c2ce64eb0ea3bac3741d85256badb
f99f0842e23a2bb48d58a9e5f731e8eb28d1cfcb
/classFact.py
a0c027f10ddd6223a19aba06c42ff9a79d9d785b
[]
no_license
anujnaRao/AOOP
d391c1b285d45adf6142978bafb42dd2696367bc
f4fe32bec5c1c6cc7fdd8f500e371300a9e1086d
refs/heads/master
2020-07-27T02:36:33.289074
2020-02-14T07:57:12
2020-02-14T07:57:12
208,838,838
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
def details(value=False): if value: keys=['empid','empname','empadd'] else: keys=['cmpid','cmpname','cmpadd'] def init(self,**kwargs): self.expected_keys=set(keys) if self.expected_keys !=set(kwargs.keys()): raise ValueError("Key don't match") for k,...
[ "anujna.p.rao@gmail.com" ]
anujna.p.rao@gmail.com
1f7fbc51bcea2d378e039204360999473b3af1bc
edf7c151bc34c5541ce55a5c7fe8085b97db4d00
/2012/AG_Alex.py
613c6804605ea1f329b865ec24a8ddf6ed18a0e4
[ "MIT" ]
permissive
dleblond312/IEEEXtreme_WorkingAsIntended
057764ed9fdc45b4472bd560723e72f7b1248719
c3e04633ce6d9c1a1582081767e8f2090adffa28
refs/heads/master
2022-01-29T14:23:34.543100
2016-05-03T22:56:41
2016-05-03T22:56:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
import sys from fractions import Fraction, gcd str_input = sys.stdin.readline().strip().split() jug1_capacity = min(int(str_input[1]), int(str_input[0])) jug2_capacity = max(int(str_input[1]), int(str_input[0])) target_volume = int(str_input[2]) jug1_frac = Fraction(jug1_capacity, 1) jug2_frac = Fraction(jug2_capacit...
[ "d_leblond@live.com" ]
d_leblond@live.com
8b1e06d8b64c9602e0fb79db1eb29f4d9715010e
23a0d695d8b14c11944a8206cb8e3d2371b240c9
/infytqsal.py
78bf6def6e1518c94f4f9442677c2e482b04b167
[]
no_license
Jyothsna99/Problem-Solving
11d074927451585bb6fbf559026202a3378e97d4
3851cd0fa3b4f8f6f76cf37e3702b9edb79f0847
refs/heads/master
2020-12-14T12:50:07.533852
2020-05-30T15:30:54
2020-05-30T15:30:54
234,748,998
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
jl=int(input("Enter job level")) sal=int(input("Enter current salary")) if jl==3: print(sal+(sal*15/100)) elif jl==4: print(sal+(sal*7/100)) elif jl==5: print(sal+(sal*5/100)) else: print(sal)
[ "noreply@github.com" ]
Jyothsna99.noreply@github.com
a727ae60692c2636d6abd360bd56330c24e06fee
df2cbe914f463ad050d7ed26194424afbe3a0a52
/addons/hr_maintenance/models/res_users.py
c97a2bb60b15c15017414adf202109752bb76078
[ "Apache-2.0" ]
permissive
SHIVJITH/Odoo_Machine_Test
019ed339e995be980606a2d87a63312ddc18e706
310497a9872db7844b521e6dab5f7a9f61d365a4
refs/heads/main
2023-07-16T16:23:14.300656
2021-08-29T11:48:36
2021-08-29T11:48:36
401,010,175
0
0
Apache-2.0
2021-08-29T10:13:58
2021-08-29T10:13:58
null
UTF-8
Python
false
false
1,195
py
from odoo import api, models, fields class Users(models.Model): _inherit = 'res.users' equipment_ids = fields.One2many('maintenance.equipment', 'owner_user_id', string="Managed Equipments") equipment_count = fields.Integer(related='employee_id.equipment_count', string="Assigned Equipments") def __in...
[ "36736117+SHIVJITH@users.noreply.github.com" ]
36736117+SHIVJITH@users.noreply.github.com
e81f904c2929da481e92d10da2d58f4d7c79249c
6ef9e3b0f8315c186f35156e79b356f7335ecd3c
/venv/bin/jp.py
d60fd61658f7a80d5e63c658b5068e9393630577
[]
no_license
michi88/zappa-poc
c015eea850dc327b55dbc63899cf6e7dfc98368a
b1166e420c1aed987830f0ab50f050bb7ab81997
refs/heads/master
2021-01-11T20:34:03.784271
2017-01-16T11:41:05
2017-01-16T11:41:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,687
py
#!/var/task/venv/bin/python2.7 import sys import json import argparse from pprint import pformat import jmespath from jmespath import exceptions def main(): parser = argparse.ArgumentParser() parser.add_argument('expression') parser.add_argument('-f', '--filename', help=('The fil...
[ "gareth@deckchair.com" ]
gareth@deckchair.com
fd48de6ef94c04e1dc45c14888a710d6d932a6a8
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/DATASMART-MIB.py
9e7acdf50065bc5ffabe955bbdafb82db30439ad
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
105,595
py
# # PySNMP MIB module DATASMART-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DATASMART-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:21:38 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
02c5cf065807157ac9bf0890e5eac77fec715c55
1b644084dac77300464cf5c01991903dae69092a
/nccu_project/lib/python3.5/site-packages/winappdbg/win32/psapi.py
3de3e7e0bbdf0df3ef0cee80f1d906e0c9f1794f
[]
no_license
TrellixVulnTeam/nccu-project_A0CV
a168e1ddd88f4ded6cb5efc28d3d5857541ce181
9eed933fbafce6afafc87428ee1627f838aba2f6
refs/heads/master
2023-03-15T14:39:52.290685
2018-03-04T12:31:02
2018-03-04T12:31:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,159
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2009-2014, Mario Vilas # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "zen@luwenfang.local" ]
zen@luwenfang.local
b468fef31d7ffeecf4e62fffa2087babe4110bab
596e3fe59f748fec5dbb9d20aa63269bcca01470
/mathe.py
cd9bfa8650c4229c1cf0476e6b78eacf3aafe512
[]
no_license
pavibala24/python-programs
be5a883030a3e0b1045432a2dff66c8f563d24a5
1b5fdb02a48d610538b92c29b20343424ebea293
refs/heads/master
2021-04-06T19:34:10.923814
2019-09-16T06:53:07
2019-09-16T06:53:07
124,640,664
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
a =input() b = a pavi = b print(pavi)
[ "noreply@github.com" ]
pavibala24.noreply@github.com
eb28e0f54441e884f4107a7771de1bbcac4b2f24
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/Unparticles/CP2UnparticlesPythia8fragments-2018PSWeights/UnparToGG_Spin2_du1p1_LambdaU-2000_pT70_M2000_TuneCP2_13TeV_pythia8_cfi.py
f5943fddccc2bb59b36b498dd9eadffdd636bb94
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,586
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP2Settings_cfi import * from Configuration.Generator.PSweightsPythia.PythiaPSweightsSettings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", maxE...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
f38c0d76548536265bd98571f0d5237ceb66e8b7
9d57e9d7f8c33811c97cfa39ec07bf005e33a5fd
/BDTB.py
a5f513640076a27044f34f9f75bf8a82c275e339
[]
no_license
liujianpc/pythonScript
9da5091e34d6fe6d77fb847a254bd12e7d09fbe7
0bd3206836966f82963c81943c44c82beb94e092
refs/heads/master
2021-01-10T08:45:05.882688
2016-04-07T07:15:35
2016-04-07T07:15:35
49,314,595
0
0
null
null
null
null
UTF-8
Python
false
false
1,348
py
#! /usr/bin/env python #coding=utf-8 import urllib import urllib2 import re import os import sys reload(sys) sys.setdefaultencoding('utf-8') class BDTB: def __init__(self): self.url = "http://tieba.baidu.com/p/2884111109?see_lz=1&pn=" self.pageIndex = 1 self.headers = {"User-Agent":"Mozzila...
[ "695966004@qq.com" ]
695966004@qq.com
a7724a3eef4ea1bceec6291f91cc892f3a8a7dd1
9a70f8df74f02f175bd95148b098771f8d426edb
/sprites.py
b4245a3e51aa5e55cd573523d7d5936f283b8f9f
[]
no_license
omersk/AgarioPython
e003a11dea4651bf380fa3a9e77ce5e25b08ec28
685e9cc4beca6de9798108fd4772ef748d25cc0f
refs/heads/master
2020-05-03T17:24:23.894304
2019-03-31T21:27:00
2019-03-31T21:27:00
178,743,314
0
0
null
null
null
null
UTF-8
Python
false
false
7,531
py
import pygame as pg from settings import * import random import socket my_socket = socket.socket() my_socket.connect(('127.0.0.1', 23)) my_virus_socket = socket.socket() my_virus_socket.connect(('127.0.0.1', 24)) vec = pg.math.Vector2 class Player(pg.sprite.Sprite): def __init__(self, colour): pg.sprite....
[ "omersk@walla.co.il" ]
omersk@walla.co.il
be5a655d201970467774c29b5b2602aedbd9b6d5
f20d3c136e8f54b51e47c8e9e434695ec646bd57
/manage.py
a220ba9f64d5afc44ff9b742964c2b7c6d90b494
[]
no_license
manaz-711/bcardre
e2f0433dcb5bc4af4241354e0e4844180136e774
3fd93c32b5518bf658aa1a938f994fee01931ebe
refs/heads/master
2020-09-14T15:42:52.621978
2019-11-21T13:05:34
2019-11-21T13:05:34
223,173,013
0
0
null
null
null
null
UTF-8
Python
false
false
625
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', 'bcard.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportEr...
[ "brocrop@hotmail.com" ]
brocrop@hotmail.com
b357f1c039d8701ca50f0dcb03246c1861ee3fd1
3b059a1f99aad35b8e2341dd3ac3ced37aa63c0e
/learnwithme/main/views.py
c6cc15d960414a64f89613405f866376d953fbb0
[]
no_license
oluwakayode-a/100-Days-of-JS-WebApp
36b9656c55779ce3b241610b51aa0665a237e8f5
e00eb205b3367cf99741bd3401bd995daba0f013
refs/heads/master
2020-07-11T20:39:22.161157
2019-08-27T07:03:06
2019-08-27T07:03:06
204,640,174
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
from django.shortcuts import render, reverse from .models import Category, Article, Comment, ReplyComment from .forms import CommentForm from django.http import HttpResponseRedirect # Create your views here. def index(request): newest = Article.objects.latest() last_three = Article.objects.order_by("-id")[:3] ...
[ "khaox07@gmail.com" ]
khaox07@gmail.com
c0e7ca6c23d2cfd041c3e1d5663ef9724bd3af54
d2059136d8d358fe26363c7164a03ddf45028cc2
/HR_StringUpdate.py
da4283f4f998dfffd0b36e8caed49702414297d2
[]
no_license
SharmaSwapnil/Py_Stats_Scripts
9a8866cb7ccdbf81b897f5d8cd436ebefb84ce39
024856da7b3148ebc3494a94288c116583da15f6
refs/heads/main
2023-08-17T16:44:53.217386
2023-08-13T10:21:46
2023-08-13T10:21:46
301,312,157
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
def count_substring(string, sub_string): counter = [] for i in range(len(string)): ss = string.count(sub_string,i,i+len(sub_string)) counter.append(ss) return sum(counter) if __name__ == '__main__': string = input("Enter string ").strip() sub_string = input("Enter substring ").strip() count...
[ "sharma.swapnil1981@gmail.com" ]
sharma.swapnil1981@gmail.com
8d674a2d7702a626d6af0f9defec8feca2e71e00
8c03fc76623b137755eab648b0be733e243be395
/projects/employee_management_system/employee/migrations/0001_initial.py
b78a16dba7ca73483a7d16dd1c3a56aa4efa0db1
[]
no_license
rasrivas-redhat/django_web
c5070c3cc3ce75d98026bb0d4ec3aef90ace2af6
a99d92d207ddcea05ed311c49965b10e389c6e7e
refs/heads/master
2020-07-25T11:36:11.952993
2019-09-21T17:03:51
2019-09-21T17:03:51
208,274,941
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
# Generated by Django 2.2.2 on 2019-09-15 10:09 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), ] ope...
[ "rasrivas@localhost.localdomain" ]
rasrivas@localhost.localdomain
b7c8815addfc2879d9e0824948189a949ea94f8a
ec07b553eec20d7439c6d212bf40c1e624cf6eae
/Generate.py
7229c1cad2dc3b881f1caa29e40a7da28118df68
[]
no_license
therob3000/Bitduino
554debc4e337f4cfc16700503d0739c1c170f576
7d84d84083d504f145bc021f315928d26ae59d71
refs/heads/master
2021-01-15T11:02:03.615657
2014-12-27T03:59:06
2014-12-27T03:59:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
import hashlib import base58 import serial import qrcode import ecdsa import ecdsa.der import ecdsa.util port = raw_input("Please enter port Arduino is connected to: ") ser = serial.Serial(port, 9600) start = ser.readline() hexstart = "80" + start[0:64] bytehex = str(bytearray.fromhex(hexstart)) hash1 = hashlib.sha256(...
[ "jujugoboom@gmail.com" ]
jujugoboom@gmail.com
6931dfa467a612803d08712bc448494e6463fa49
b30460624427236c941364903677880b266dcb7b
/Laptop - testy/TestingInterface/venv/Lib/site-packages/pygments/lexers/basic.py
f93d6d52e98d2c00f6eea91f8deddd51f3ca28cd
[]
no_license
szubertpiotrek/autonomous-underwater-vehicle
7ff417ce9830e2f0f753065de45b59892ff45bfe
8cbbb72bd4eae2b00e61353ebc9335ff45fd1006
refs/heads/master
2022-11-05T18:42:32.468706
2019-10-03T13:17:57
2019-10-03T13:17:57
156,117,145
4
10
null
2022-11-01T23:05:10
2018-11-04T19:30:29
Python
UTF-8
Python
false
false
27,576
py
# -*- coding: utf-8 -*- """ pygments.lexers.basic ~~~~~~~~~~~~~~~~~~~~~ Lexers for BASIC like languages (other than VB.net). :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ import re from pygments.lexer import RegexLexer, bygroups, d...
[ "wincioor11@gmail.com" ]
wincioor11@gmail.com
41491582949164dfc18c512f617c7c5016ca23fd
513d6fed668291fe24d1019f765638e3e6ee3c98
/videoProcessor_v2.py
0bf6cba193d661f5e2ef772dddaeff5b979e2e81
[]
no_license
ishitachordia91/Harmonic-Legos
983935d61f005e25691e9c1b8e8c14ed474894fe
690fe6849a8eef4cf66632d9b6664a04c446cf4a
refs/heads/master
2021-08-28T18:50:24.793318
2017-12-13T01:08:08
2017-12-13T01:08:08
114,056,524
0
0
null
null
null
null
UTF-8
Python
false
false
8,562
py
#python color_tracking.py --video balls.mp4 #python color_tracking.py # import the necessary packages from collections import deque import numpy as np import argparse import imutils import cv2 import serial import pdb import time class ShapeDetector: def __init__(self): pass def detect(self, img): ...
[ "ichordia3@gatech.edu" ]
ichordia3@gatech.edu
d81bbcbf119f2b7ef417374b28e12451e21d352d
f67a764fbe28db7c777f4c5cc058c2668ffec220
/fer_test.py
5f977df060a665ff572aa49ea65f0cf270438472
[]
no_license
lgf19951020/fer2013
3b49e200743a72e30bd612aa60520ed9e1a46999
f2254c76724aec0d315959514b7397ac6c1f0921
refs/heads/master
2022-04-09T19:22:26.642816
2020-03-27T05:00:08
2020-03-27T05:00:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,174
py
# coding:utf-8 import time import tensorflow as tf import fer_forward import fer_backward import fer_generateds import numpy as np import fer_config as config TEST_INTERVAL_SECS = 5 TEST_NUM = 3589 def test(): # 实例化一个数据流图并作为整个 tensorflow 运行环境的默认图 with tf.Graph().as_default() as g: # 输入x占位 x =...
[ "1981293730@qq.com" ]
1981293730@qq.com
dc7b67abce3d12e28bf013bb0871e37d84a241c6
40eb57784dc62179eafcf21f796a7d0c43cf55e5
/calliope/constraints/planning.py
39e9ce39f71b7a76af050a81764360e4c2893cc3
[ "Apache-2.0" ]
permissive
sjpfenninger/calliope
61b202f8519076a95ee8bad3d0d2215043e1b497
a4e49c3b7d37f908bafc84543510eec0b4cf5d9f
refs/heads/master
2020-06-11T01:01:36.709420
2016-12-06T14:47:20
2016-12-06T14:47:20
75,827,649
1
1
null
2016-12-07T11:01:51
2016-12-07T11:01:49
Python
UTF-8
Python
false
false
1,944
py
""" Copyright (C) 2013-2016 Stefan Pfenninger. Licensed under the Apache 2.0 License (see LICENSE file). planning.py ~~~~~~~~~~~ Planning constraints. """ import numpy as np import pyomo.core as po def node_constraints_build_total(model): """ """ m = model.m # Constraint rules def c_e_cap_to...
[ "stefan@pfenninger.org" ]
stefan@pfenninger.org
03a353b523a72dd35be058a4925aa8c5aed27d79
809085ac97788f94e0e46fb9fb03f6368b1dbd8d
/pommerman/test.py
900f6cce3b204d0e979572c47b8583f4e3a6303e
[]
no_license
RadoslawLemiec/Pommerman_drl_agents
5e3325a614efdce7851e6e9f8787aa9baa3d912e
e84d40cbbce231ecc4088f940011f9fe5b6c9487
refs/heads/master
2023-07-22T02:05:22.592216
2021-03-22T19:46:38
2021-03-22T19:46:38
196,829,482
0
0
null
2023-07-06T21:35:43
2019-07-14T11:42:07
Python
UTF-8
Python
false
false
7,481
py
"""Train an agent with TensorForce. Call this with a config, a game, and a list of agents, one of which should be a tensorforce agent. The script will start separate threads to operate the agents and then report back the result. An example with all three simple agents running ffa: python train_with_tensorforce.py \ ...
[ "radoslaw.lemiec@gmail.com" ]
radoslaw.lemiec@gmail.com
5df04cee51eddcc304743170fa8a93b6d910b734
22d336c2fc5c915fe1a55a154fa3ddb98e5c8bfb
/chat/views.py
da821be9400cbd26fecaebab7e02f23b20851983
[ "MIT" ]
permissive
cpwr/django-channels-chat
223fd3ba0529329d5c26c864933dd54ba53de165
314382ec40d941de5c73b8dcd9325250cfe69c40
refs/heads/master
2022-12-17T22:40:01.529711
2021-06-22T07:19:59
2021-06-22T07:19:59
146,921,040
0
0
MIT
2022-12-08T02:51:39
2018-08-31T17:08:28
JavaScript
UTF-8
Python
false
false
486
py
from django.shortcuts import render from django.contrib.auth.decorators import login_required from .models import Room @login_required def index(request): """ Root page view. This is essentially a single-page app, if you ignore the login and admin parts. """ # Get a list of rooms, ordered alphabe...
[ "k.degtyarenko@gmail.com" ]
k.degtyarenko@gmail.com
8aa5ecca68340cd50012898952cf72b3f349e83d
4c5608f20fa2580774d734d94198dd10648e4339
/src/vpp-api/vapi/vapi_json_parser.py
a9d2c8186bc30c2e9985c89375e1e97426ff3a7d
[ "Apache-2.0" ]
permissive
mojtaba-eshghie/VPP-In-Situ-IOAM
3d1c3d01752a7934d2f060326674280e0bd93413
efebd91195eb1b0d98a4a1f5efd962ae79c77be6
refs/heads/master
2022-12-10T13:37:04.644952
2020-05-29T11:42:36
2020-05-29T11:42:36
194,249,816
2
0
Apache-2.0
2022-12-08T05:17:31
2019-06-28T09:50:05
C
UTF-8
Python
false
false
18,764
py
#!/usr/bin/env python2 import json class ParseError (Exception): pass magic_prefix = "vl_api_" magic_suffix = "_t" def remove_magic(what): if what.startswith(magic_prefix) and what.endswith(magic_suffix): return what[len(magic_prefix): - len(magic_suffix)] return what class Field(object): ...
[ "mojtaba.eshghi@ut.ac.ir" ]
mojtaba.eshghi@ut.ac.ir
babb204bf0dac48451e7f925fa913669de1ae0dc
1a80f3d86df7b6700924d08bb356742d17019acb
/basic/list2.py
764b47e79067e121fef7d3d0f1ceb9035373a639
[ "Apache-2.0" ]
permissive
vwon23/google-python
7968e41bcc4555b28f32ec2d44e90c56057823b0
beb5e8a368a711cabe4347a3aedfdf4b9a3052d3
refs/heads/master
2021-01-21T09:34:40.541109
2017-07-14T06:30:32
2017-07-14T06:30:32
91,659,540
0
0
null
2017-07-14T06:30:33
2017-05-18T06:55:54
HTML
UTF-8
Python
false
false
2,579
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ # Additional basic list exercises # D. Given a list of numbers, return a list where # al...
[ "vwon87@gmail.com" ]
vwon87@gmail.com
456984c1286879f23fa54b82e508d8fe88564d33
502e7601f1e7778515a779f3806e52ed30262358
/test/test_http_response.py
3a1aad7d4c838aba3d3e4338e8f2be2b59d1ba77
[]
no_license
erakli/py-mountebank-api
92da3994df7d02dd335db591520e26b8ab8b8e2d
2f9068d9c41c9d35193adfa7724cfa0b17394137
refs/heads/master
2023-07-26T22:40:13.316622
2021-09-09T19:46:19
2021-09-09T19:46:19
404,849,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import unittest import datetime import mountebank_api from mountebank_api.models.http_response import HttpResponse # noqa: E501 from mountebank_api.rest import ApiException class TestHttpResponse(unittest.TestCase): """HttpResponse unit test stubs""" def setUp(self): pass def tearDown(self): ...
[ "erakli00@gmail.com" ]
erakli00@gmail.com
cb59df41a4ca0485d513e51c8ad33c51044993a2
8ea493afdbb52f57a4d00c1b321a194cb3c152fd
/models.py
ebca55d037b8864b12e81e77622019a32d327fd7
[]
no_license
4ashma/access_token_and_smtp
9c82fce4b6d7fe184f36add4fada9e46bb2eb36c
9a7d58239f96a6dbe7ed14c02426c1f0ca370a50
refs/heads/main
2023-08-24T22:20:30.902867
2021-10-08T08:48:25
2021-10-08T08:48:25
414,911,996
2
0
null
null
null
null
UTF-8
Python
false
false
269
py
import peewee as pw db = pw.SqliteDatabase('db.db') class BaseModel(pw.Model): class Meta: database = db class User(BaseModel): id = pw.AutoField() username = pw.CharField() password = pw.CharField() if __name__ == '__main__': User.create_table()
[ "90089788+4ashma@users.noreply.github.com" ]
90089788+4ashma@users.noreply.github.com
f9088ce9991630319ce3e06048993fffc656dcbe
7f53e23f27fc0677bedca891f05d3fa4093dea20
/ui/matlist_window.py
f4bf561fe42fd4032d3d14a83ae2cf330fc4dea3
[]
no_license
lxj616/rebrickr
83aac97bb21a612ae78af6995be33c4ef4e212d8
fdef683f8909fd20f63eb3c4c3b5cd1fae15a75b
refs/heads/master
2020-03-21T07:21:04.957352
2018-06-15T13:44:31
2018-06-15T13:44:31
138,275,381
3
0
null
2018-06-22T08:17:07
2018-06-22T08:17:06
null
UTF-8
Python
false
false
3,011
py
""" Copyright (C) 2017 Bricks Brought to Life http://bblanimation.com/ chris@bblanimation.com Created by Christopher Gearhart 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 versi...
[ "cgear13@gmail.com" ]
cgear13@gmail.com
dd4d9944610013962b9b50ff0fe307e884256979
41798e6fa74df1d514dfd6504090c6a434d0d132
/projects/migrations/0002_alter_project_image.py
4f9613d176399e57322b4229d44b6f191b545b38
[]
no_license
danyeric123/Django-Portfolio-Blog
45f1f71f1e3415aba0657b6c364dc4589e3e34fd
03d62ece669ad68656e5b17e8080ce2594e35892
refs/heads/main
2023-07-10T17:11:27.924925
2021-07-29T20:43:43
2021-07-29T20:43:43
389,402,338
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# Generated by Django 3.2.5 on 2021-07-04 21:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0001_initial'), ] operations = [ migrations.AlterField( model_name='project', name='image', ...
[ "dnagarpowers@gmail.com" ]
dnagarpowers@gmail.com
caaf5af5646fa7468387887b3bcc943ccfb9293f
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/FrontCache/FPythonCode/FC_TCOLL_01_ATS_48.py
cc9794df7b6147718d9bfd202883a84d9f122953
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,150
py
'''---------------------------------------------------------------------------------------------------------- MODULE : FC_TCOLL_01_ATS_48 PROJECT : FX onto Front Arena PURPOSE : This module is the entry point for the Trade Collection ATSs. These ATSs w...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
ee44bd9403d965734f8cccd64c37a5995b76953c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/89d09bae21e22374af7fcaf39c189233621e7ed2-<main>-fix.py
fadbbe0da4b2f852c816a0aebf9ae4773b9e8aa0
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,267
py
def main(): argument_spec = ec2_argument_spec() argument_spec.update(dict(name=dict(), group_id=dict(), description=dict(), vpc_id=dict(), rules=dict(type='list'), rules_egress=dict(type='list'), state=dict(default='present', type='str', choices=['present', 'absent']), purge_rules=dict(default=True, required=...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
ad88327c3d4b22599fb8b4335abf6a8704d99051
f0692218ea1790529adb0aa41b262c31f8eae397
/hisi-idt.py
fd13cda65765cb5661a9f168b1319f81da9e73ee
[]
no_license
jorneytu/hikey
03916e5b4e91485c042e081637c9c85abbacfbaa
7555d4480c1c3963e677d99f4021580f15bc180f
refs/heads/master
2021-01-22T07:03:13.071902
2017-02-13T08:34:07
2017-02-13T08:34:07
81,799,024
0
0
null
null
null
null
UTF-8
Python
false
false
8,950
py
#!/usr/bin/python #-*- coding: utf-8 -*- import os import os.path import serial, time import array import sys, getopt class bootdownload(object): ''' Hisilicon boot downloader >>> downloader = bootdownload() >>> downloader.download(filename) ''' # crctab calculated by Mark G. Mendel, Networ...
[ "qtu@ambarella.com" ]
qtu@ambarella.com
60668b4bc88e31cefeb2bd979e266940ce52a693
b396b6fba005b2384cbe0473ed6d725216352f10
/test.py
bdabed0656e8ee1e6a7ac13c7fb5d590e0d9ca66
[ "WTFPL" ]
permissive
Badjeck/boids
53e6f9bc64e60f907dc886f0f8691d8836916a35
2ee3d539ff66fbb8589c09c5345b5d43cb9d729e
refs/heads/master
2022-12-10T23:43:34.974142
2020-09-04T08:47:24
2020-09-04T08:47:24
292,523,452
0
0
null
null
null
null
UTF-8
Python
false
false
5,141
py
import sys import pygame import random import math SCREEN_SIZE = SCREEN_WIDTH, SCREEN_HEIGHT = 1800, 1000 BLACK = (0, 0, 0) MAX_VELOCITY = 10 NUM_BOIDS = 50 BORDER = 25 class Prey(pygame.sprite.Sprite): def __init__(self, x, y): super(Prey, self).__init__() self.image = pygame.image.load("im...
[ "gabriel.fougerolle@ynov.com" ]
gabriel.fougerolle@ynov.com