blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 283 | content_id stringlengths 40 40 | detected_licenses listlengths 0 41 | license_type stringclasses 2
values | repo_name stringlengths 7 96 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 58
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 12.7k 662M ⌀ | star_events_count int64 0 35.5k | fork_events_count int64 0 20.6k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 43
values | src_encoding stringclasses 9
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 5.88M | extension stringclasses 30
values | content stringlengths 7 5.88M | authors listlengths 1 1 | author stringlengths 0 73 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
59435dde0e895c55e809bd8c9ec793c233fce8cc | a29a74eea56d5d0f1c8acdcbebbed75da16dbaa6 | /RuthWeather/ruth_weather/migrations/0005_auto_20210225_1248.py | dc23d434c47fb8b7e7646911b5022b1c1f428fd4 | [] | no_license | jbar173/RuthWeather | 1785b79a4f470d1b90534bd49eb9c0af554bf270 | 252549349ce2422cc41348d1e4c5203d87d94849 | refs/heads/main | 2023-03-08T09:40:34.059476 | 2021-02-25T13:21:50 | 2021-02-25T13:21:50 | 342,251,353 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 364 | py | # Generated by Django 3.1.6 on 2021-02-25 12:48
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('ruth_weather', '0004_report_oulook'),
]
operations = [
migrations.RenameField(
model_name='report',
old_name='oulook',
... | [
"jb316700@gmail.com"
] | jb316700@gmail.com |
165f04471ea9f1ece1a5bc6602c642f46f3302f4 | 6e47be4e22ab76a8ddd7e18c89f5dc4f18539744 | /venv/openshift/lib/python3.6/site-packages/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py | 869c0a9b303a98a2c2d41c425f3f1182dc60b84d | [] | no_license | georgi-mobi/redhat_ocp4.5_training | 21236bb19d04a469c95a8f135188d3d1ae473764 | 2ccaa90e40dbbf8a18f668a5a7b0d5bfaa1db225 | refs/heads/main | 2023-03-30T10:47:08.687074 | 2021-04-01T05:25:49 | 2021-04-01T05:25:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,760 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.12.11
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import r... | [
"student@workstation.lab.example.com"
] | student@workstation.lab.example.com |
abe1b2d3584bd21802c7813efbd7058fbd18f7de | d7a977f1075fd5026d718f849dd0eaff1d498745 | /3_hw/bayesianLR.py | 2c5f176cc54ac667e41529c89c5f83e82c3643ad | [] | no_license | wlshih/ML_Spring_2020 | 4a7762d07882305ca4905cfa822b5e599b021596 | 694df99b4bd180d9e5d07dda9a262f9fa717a545 | refs/heads/master | 2021-04-17T23:14:47.838400 | 2020-05-31T12:31:52 | 2020-05-31T12:31:52 | 249,484,432 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,740 | py | #! /usr/local/bin/python3
import numpy as np
import math
import matplotlib.pyplot as plt
import pprint
from seqEstimator import univariate_data_generator
# Part 1.b: Polynomial regression model data generator
def PR_model_generator(weight, var):
x = np.random.uniform(-1.0, 1.0, 1)
y = 0.0
for i in range(len(weigh... | [
"wl.shih2010@gmail.com"
] | wl.shih2010@gmail.com |
438078d4631e7500fdac66ad75cdb09b68f16216 | f329c70e62ba5b1bd01c73d60aa2499b28220cbf | /app.py | 5f12d451d8ee14c57f334464034d9bcb32005d2c | [] | no_license | Sharvil24600/Fake-News-Prediction | 92721b13cc182a4a10a27cf387296a261a45b2ee | 06445ee80442b890a2037df3e4d21dfe078408a4 | refs/heads/main | 2023-05-23T11:11:14.616204 | 2021-06-15T05:15:23 | 2021-06-15T05:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 635 | py | from flask import Flask
from flask import render_template, url_for, request
app = Flask(__name__)
import pickle as pk
model='FakeNewsModel.pkl'
transform = 'transform.pkl'
clf = pk.load(open(model, 'rb'))
cv = pk.load(open(transform, 'rb'))
@app.route('/')
def home():
return render_template('index.html')
@app.ro... | [
"noreply@github.com"
] | noreply@github.com |
b93a6e3efdead5dfe0572feb0b1015d84d0a807f | 465ea89a1f30efb02a32a8d301eea9fab9a6e5c1 | /Projects/ex49dir/ex49/ex49.py | 69016bcdc2dff06424045793ebefbf8fca9d0b2b | [] | no_license | deleeke/LPTHW | 4fef2bc010427f14189903b8e683ec0f504d32b9 | ae5a668178f92e798bfe1a45919106f0e517c32f | refs/heads/master | 2021-01-10T11:55:50.452592 | 2016-01-30T17:36:54 | 2016-01-30T17:36:54 | 46,449,017 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,755 | py | class ParserError(Exception):
pass
class Sentence(object):
def __init__(self, subject, verb, object):
# take ('type', 'word') tuple and convert it
self.subject = subject[1]
self.verb = verb[1]
self.object = object[1]
def peek(word_list):
if word_list:
word = word_l... | [
"deleeke@gmail.com"
] | deleeke@gmail.com |
0abc1e9aa6da9f232122379cee23e51c7980364a | 962f60293dceee064754dded5f556d8d33b8836e | /test_scrapy/spiders/scrapy_baidu.py | c37dd261f3ab3c672df93c4f641e99ebc1858dbb | [] | no_license | waterlp/scrapy | 6b0689c02cd941136ee0e96f4ffae03bb5b8b58c | 36c249a167b7e3a31027fdedc75e2aa1dd70b0f1 | refs/heads/master | 2020-07-02T04:29:31.866644 | 2019-08-09T09:47:16 | 2019-08-09T09:47:16 | 201,415,855 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 268 | py | import scrapy
class BaiduSpider(scrapy.Spider):
name = 'baidu'
# allowed_domains = ['baidu.com']
start_urls = ['http://lab.scrapyd.cn/']
def parse(self, response):
print('1111111111111')
print(response)
print('1111111111111') | [
"watergolp@163.com"
] | watergolp@163.com |
c10e27f6697d876c32c12022a6a8c2f02a23eb35 | 96718fe7a7c6a311791bec3d02b7fc1437e1f084 | /drlutils/rpcio/cdataio.py | a2ee342a6791b3b0523f258a8ea70b8ef586fbbe | [] | no_license | createamind/DRLUtils | b33215595663b2583aacb0a7fd9f29ed8aa506b1 | 560dc96518891f4129193b837509c293b6d84c2a | refs/heads/master | 2021-01-23T14:15:12.268159 | 2017-09-07T02:21:59 | 2017-09-07T02:21:59 | 102,680,929 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 25,318 | py | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swi... | [
"huangzubin@gmail.com"
] | huangzubin@gmail.com |
6f105cd72eb03c044f2d34983ea9719e1a7f8e8d | 9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97 | /sdBs/AllRun/sdssj_123708.56+362123.5/sdB_sdssj_123708.56+362123.5_lc.py | 5d2ad8d6177473ff80780ac41c0904694f22eb1d | [] | no_license | tboudreaux/SummerSTScICode | 73b2e5839b10c0bf733808f4316d34be91c5a3bd | 4dd1ffbb09e0a599257d21872f9d62b5420028b0 | refs/heads/master | 2021-01-20T18:07:44.723496 | 2016-08-08T16:49:53 | 2016-08-08T16:49:53 | 65,221,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 371 | py | from gPhoton.gAperture import gAperture
def main():
gAperture(band="NUV", skypos=[189.285667,36.356528], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_sdssj_123708.56+362123.5/sdB_sdssj_123708.56+362123.5_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.01038889... | [
"thomas@boudreauxmail.com"
] | thomas@boudreauxmail.com |
acc0e5042ec2712ac0e80560f8464a86eb6650e7 | 3da88b72e8114c16a2d8120b296ec77a873bcc26 | /Driver.py | 2bbd6ca30b0368874386a6071e3cc8fe33b577b5 | [] | no_license | pomps8/Calculator | 833ca1eef5b1cdb15efd5cf4b486507898a94684 | 33a06a878c51fdc379f3778edf77b3c153b0a9a0 | refs/heads/master | 2020-04-10T07:07:23.361361 | 2020-03-14T01:49:12 | 2020-03-14T01:49:12 | 157,824,876 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,073 | py | import MathOperators
# FileName: Driver.py
# Author: Anthony Pompili
# Date: March 13, 2020
# Description: This file holds the main logic for the Calculator application. This file will launch
# the calculator GUI, and allow the user to perform the specified operations allowed in the interface.
# Starting point of cal... | [
"apompz@yahoo.com"
] | apompz@yahoo.com |
0676d7cf9a0bc2abf7a2e848fa4c701de6d1cc68 | 4e7619b1b236ea979da82ac2f3888de69d5714b8 | /multiagent/multiAgents.py | f6155f39b3745099e75d8a64d0d5b23373b0a014 | [] | no_license | lmontalvo27/CSE571-artificial-intelligence | 2e72548eb1b878048ffe9af57dc457c9078978e1 | 7a78d3a37fdd4cac1411388acfa767e8909cc67f | refs/heads/master | 2023-03-22T04:59:23.659169 | 2020-05-08T08:30:02 | 2020-05-08T08:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 14,134 | py | # multiAgents.py
# --------------
# Licensing Information: You are free to use or extend these projects for
# educational purposes provided that (1) you do not distribute or publish
# solutions, (2) you retain this notice, and (3) you provide clear
# attribution to UC Berkeley, including a link to http://ai.berkeley.e... | [
"atinsinghal97@gmail.com"
] | atinsinghal97@gmail.com |
0f7009cea944b20b2da325ca707f4d43de276e2a | dd41219b26ecc24d9f7146b5c2e7252836bdd34a | /insect/ScrapyProject/almax/almax/spiders/tencent.py | 840b5c1df59319bc84da29ce42902687661352c2 | [] | no_license | theme716/small-routine | a9929a4537cb37d7b049413d365d7aa39b974ba9 | 48f62e1cfb5fc3cf5df9d274bb9313b3bfad2481 | refs/heads/master | 2020-03-24T16:43:35.784465 | 2018-07-30T09:54:27 | 2018-07-30T09:54:27 | 142,834,127 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,380 | py | # -*- coding: utf-8 -*-
import scrapy
from scrapy.linkextractors import LinkExtractor
from scrapy.spiders import CrawlSpider, Rule
from scrapy_redis.spiders import RedisCrawlSpider
import re
class TencentSpider(RedisCrawlSpider):
name = 'tencent'
allowed_domains = ['tencent.com']
# start_urls = ['http://ww... | [
"13269534232@163.com"
] | 13269534232@163.com |
265c272cff2ea4eb148e441cb4ebdbc57480afe5 | 461e86491b5a3bdf4c6597c4615e869fc5c6ad9e | /mmdet-v2/tools/x2coco.py | 1b9dc92707e89c3fb58b238ef6cfb9ff945441ec | [
"Apache-2.0"
] | permissive | li-phone/OpenDetection | 0356d805f1332a1c0f4b29ade3712ea1343ead68 | ac2e694f3c9c2cbb864d79d5322b442080451413 | refs/heads/master | 2023-03-17T11:08:51.945742 | 2021-03-18T09:32:10 | 2021-03-18T09:32:10 | 344,006,704 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,226 | py | import glob
import os
import json
import uuid
import pandas as pd
import numpy as np
import argparse
import xml.etree.ElementTree as ET
from PIL import Image
from tqdm import tqdm
try:
from pandas import json_normalize
except:
from pandas.io.json import json_normalize
class MultipleKVAction(argparse.Action):... | [
"974122$07@qq.com"
] | 974122$07@qq.com |
46bb2fe5f508db52e1505bbc7c0b071685cc9260 | 4cf07ca1f1532df2c8d096c2ecb12b46fbc2045c | /camera/camera_test.py | 14eec59a7bcc6cccf28a0102eb2a7d479a290467 | [] | no_license | ladybirds1996/binocular | 2aee91f6c4886352160b99a643ea45b66f9a4b92 | f9ea73abefe1d28e3b140f22cabee5ea7ca2b534 | refs/heads/master | 2022-11-10T22:52:40.515850 | 2020-07-06T11:58:44 | 2020-07-06T11:58:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 866 | py | import cv2 as cv
import time
import os
AUTO = True # 自动拍照,或手动按s键拍照
INTERVAL = 5 # 自动拍照间隔
left_camera = cv.VideoCapture(0)
right_camera = cv.VideoCapture(2)
counter = 1
utc = time.time()
left_folder = os.getcwd()+"/" # 拍照文件目录
right_folder = os.getcwd()+"/"# 拍照文件目录
def shot_left(pos, frame):
global counter
p... | [
"2572778568@qq.com"
] | 2572778568@qq.com |
7ae1bf518091dd24930c86da8433978bb104da76 | a83a08b3ffabfd7401db3d13045463b28a21c838 | /Stacks Queues Tuples and Sets - E1Q2.py | 05e196fdd6ff71329a883cc4ab01f8e5a7e8eed5 | [] | no_license | BogomilaKatsarska/Python-Advanced-SoftUni | 269eeeab28bba373bb22d1c30a8fef6a9105180e | 49a5b93a57542fb09bc245dacd267e6d5733fd21 | refs/heads/main | 2023-08-19T13:08:23.201138 | 2021-10-24T16:23:54 | 2021-10-24T16:23:54 | 408,366,555 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 558 | py | from collections import deque
arithmetic_expressions = {
'+': lambda a, b: a+b,
'-': lambda a, b: a-b,
'*': lambda a, b: a*b,
'/': lambda a, b: a//b,
}
characters = input().split()
numbers = deque()
for ch in characters:
if ch in arithmetic_expressions:
result = numbers.poplef... | [
"noreply@github.com"
] | noreply@github.com |
9b8a6eb476dda0f338c93d4d3fd71b98a3fa6131 | 0d0d858c8082255f7cb0027ff8201b2c8077ba80 | /app.py | 502e423cbae5d94a7bbf99c9d0850e7a7236bb55 | [] | no_license | a2975667/QV-app | deaa61b7a27dd1b05dd5dfeb3827b35757ac693f | 5b4f06a67ed6a603c5b67017d52a731ddff54163 | refs/heads/master | 2022-05-17T23:52:51.106880 | 2020-11-25T16:28:17 | 2020-11-25T16:28:17 | 218,550,686 | 0 | 0 | null | 2019-10-30T14:47:38 | 2019-10-30T14:47:33 | null | UTF-8 | Python | false | false | 109 | py | from server import app
# import logging
# log = logging.getLogger('werkzeug')
# log.setLevel(logging.ERROR)
| [
"tcheng10@illinois.edu"
] | tcheng10@illinois.edu |
f9e931a08d616071d1583bae2d148106a3ce2da0 | aa058f0f037476e0024205576164c505a5a7f90c | /.history/app_20190910145803.py | c8beade51124c7d8178a8762d007bc00e2ab8eba | [] | no_license | MorsChen/python-blog | 12a2f17c133446cdae3132d41ddf111eab88f430 | beb459febc011cb2b3ab6902c527e6681da16778 | refs/heads/master | 2022-10-10T04:20:04.303818 | 2019-09-11T10:44:37 | 2019-09-11T10:44:37 | 207,223,846 | 0 | 0 | null | 2022-09-16T18:09:43 | 2019-09-09T04:27:27 | Python | UTF-8 | Python | false | false | 11,946 | py | from flask import Flask, request, render_template, redirect, url_for, flash
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager, login_required, login_user, logout_user, UserMixin, current_user
from werkzeug.security import check_password_hash, generate_passwo... | [
"MorsChenArtist@users.noreply.github.com"
] | MorsChenArtist@users.noreply.github.com |
051191f47a1eb6259acc4e9023c04dfa174478ba | c609730a43596a2d3303f072fc97d9cf681fac7b | /cagey/carbuisness/carbuisness/spiders/yangche51_store.py | 498baa839fb7aa718c992272cb8754694176551a | [] | no_license | sinnettluo/ChenProject | 5403311c0c7b78c484145e16d692abff00d2a110 | 0e33ecf1683afb22f1deb4bd54294c41aed8a46b | refs/heads/master | 2023-03-22T23:48:08.430178 | 2020-09-02T15:05:02 | 2020-09-02T15:05:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,409 | py | # -*- coding: utf-8 -*-
"""
C2017-09
"""
import scrapy
from carbuisness.items import Yangche51StoreItem
import time
from scrapy.conf import settings
from scrapy.mail import MailSender
import logging
import json
import random
import re
import hashlib
from hashlib import md5
website='yangche51_store'... | [
"1316446041@qq.com"
] | 1316446041@qq.com |
8600a0b119b99c72e2471961e9933d25ea5443ad | 44cae9fd5fba12f65dd753d0913eeb552419ac0e | /variaveis_tipos_ dados/ex52_seccao4.py | cacf04800ddbd68e07154f63185d15efa9d37241 | [] | no_license | aluisq/Python | 60edffa477f90bde67a76cc9306a8a5f39b82a4d | 2c065a01ef0fb2099f89f440f5d5ae2658cad7da | refs/heads/master | 2021-06-22T15:19:48.290092 | 2021-06-14T23:32:40 | 2021-06-14T23:32:40 | 214,283,256 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 813 | py | premio = float(input("Digite o valor do premio: "))
inv_prim = float(input("Digite o valor investido pelo primeiro ganhador: "))
inv_seg = float(input(("Digite o valor investido pelo segundo ganhador: ")))
inv_ter = float(input("Digite o valor investido pelo terceiro ganhador: "))
inv_total = inv_prim + inv_seg + ... | [
"noreply@github.com"
] | noreply@github.com |
b88cb5dd6c01509f7dfc14c802104c8148fd53e5 | 6dec0d44726699a5176b9d9a111f88f88228791f | /hugs/calc/met.py | 1d7ce6183141fbff29207824fa2636084c242014 | [
"BSD-3-Clause"
] | permissive | aeltanawy/setting_open_source_scipy2018 | acf90ee4dc4288e02fde08beca33293625fd3f97 | 891e6a3f33c735e316ef8d6a0454667c5fb87eae | refs/heads/master | 2020-03-22T18:16:50.331381 | 2018-07-10T15:47:20 | 2018-07-10T15:47:20 | 140,449,140 | 0 | 0 | BSD-3-Clause | 2018-07-10T16:21:38 | 2018-07-10T15:01:48 | Python | UTF-8 | Python | false | false | 1,973 | py | """Contains a collection of basic calculations.
These include:
* wind components
"""
from __future__ import division
import warnings
import numpy as np
def get_wind_speed(u, v):
r"""Compute the wind speed from u and v-components.
Parameters
----------
u : array_like
Wind component in the... | [
"abeer.eltanawy@schrodinger.com"
] | abeer.eltanawy@schrodinger.com |
6c4f9df9a0f46e1c7f8c0a3938d9fbc41261c24b | 27ce8bce9cbb218577f8cc4304b55a5e161b3f44 | /movie.py | 67d92c6d8a3519d5895d157f2942a1b5279e3d82 | [] | no_license | powder-river/what-to-watch | 5994dc5e3e4bca9dae01540915c04bd23e2ce46d | 04055947be1c6f37c8506f6fb70b5d10d0b63e2a | refs/heads/master | 2020-05-31T00:25:29.660778 | 2015-09-11T18:12:31 | 2015-09-11T18:12:31 | 42,245,343 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,027 | py | import csv
import re
class Movie:
def __init__(self,title):
self.title = title
def movie_titles(self):
array = []
film_titles = []
with open('movie_data/u.item.csv', encoding='latin_1') as f:
reader = csv.reader(f,delimiter='|')
# reader = csv.DictReade... | [
"dadkisso@live.com"
] | dadkisso@live.com |
f2470d5f9803aad9c359fa5b8cde303b2227a772 | db8719f397131c539a64dda0e8d6bc1998e8a34c | /model/denseASPP.py | 86704944773b1bab34ab5b5a717d1f848e5417e9 | [] | no_license | WambuguNM/DenseASPP-Tensorflow | adc5d958424399e6bf9acf580c0f152246646021 | b11d8998ff55cb8690dbb9545c4bce1d53875d5a | refs/heads/master | 2022-01-19T12:19:12.319567 | 2019-06-01T03:14:33 | 2019-06-01T03:14:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,394 | py | #coding=utf-8
from __future__ import print_function
from __future__ import division
import tensorflow as tf
import numpy as np
import math
import densenet
denseASPP_layers_num = 5
denseASPP_rates = [3, 6, 12, 18, 24]
CLASSES = densenet.CLASSES
def denseASPP_layer(input, rate, n, train, keep_prob):
'''
:par... | [
"zhulf0804@gmail.com"
] | zhulf0804@gmail.com |
6aecd4554691ac933284a45a3afa0ef34f41c6d8 | 6d79fa94ad9972af2d5af3a4dd7e72c20af9b8e9 | /python_version/v2p.py | 0c823e5957a3d3edbe40a19b121607684736cb6c | [] | no_license | Zieng/GIFer | 5732eb8a5d375b59f212972e46c10c2bf26d74bc | b994e355c0d8189da13e9b3bb05c1a92bdda158c | refs/heads/master | 2021-01-17T18:23:17.492782 | 2016-06-11T12:39:09 | 2016-06-11T12:39:09 | 59,804,799 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,373 | py | import cv2
import time
import datetime
class V2P(object):
def __init__(self, filename, cut=False, st='00:00:00', et="00:00:00", rate=4):
super(V2P, self).__init__()
self.filename = filename
self.cut = cut
self.start = self.format_time_to_seconds(st)
self.end = self.format_t... | [
"lijiebug@gmail.com"
] | lijiebug@gmail.com |
843d5566bde1a67a0ececa2115ddf6d6843e6bef | 71969e3559d93efbd560265db5264b1d93ddaaa2 | /manage.py | 6cea5f9c99c6a6e50b382841e5ae990f20c6547e | [
"MIT"
] | permissive | morole/LSpider | e3cc28c4afd060325d12a622c587cb45841a6e6d | 1dcdd820a8c0520cc8b3c851a5ba7bd06fcbf2f8 | refs/heads/master | 2023-06-20T21:58:43.979326 | 2021-08-02T02:36:45 | 2021-08-02T02:36:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 805 | py | #!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "LSpider.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
# The above import may fail for some other reason. Ensure that the
... | [
"lorexxar@gmail.com"
] | lorexxar@gmail.com |
3113f4215e64cad3cba3cd9ab7636b8cddcedd02 | 1fab1995dd42862835ce36d7ba4df4c2a53b489a | /directory/migrations/0008_auto__chg_field_lbedirectoryacl_object.py | 5f29c034cda4de49e24813ba64daa982110dd472 | [] | no_license | OpenCSI/lbe | ad1d91e190d181d8ab127832fc451a1821df3353 | 11090425dd084684b1de0d8db48581a91cd6935d | refs/heads/master | 2021-04-12T05:15:50.559779 | 2013-08-29T08:33:51 | 2013-08-29T08:33:51 | 5,721,114 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,453 | 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):
# Changing field 'LBEDirectoryACL.object'
db.alter_column(u'directory_lbedirectoryacl', 'object_id', self.g... | [
"cedj@cedj-laptop.(none)"
] | cedj@cedj-laptop.(none) |
13430845d2ca525cb61a4dc18921f0c62413a541 | 8120de23544539547dc1dbfccc90fc2fa3ead4cf | /application.py | 8efcbedcd890a5d999936db485c2137e0ff36889 | [] | no_license | mxchhh/ApartmentFinder | fba1c51a0b7cc8bd5df8e673af24ca96d816f53f | 26f72f561070918c476e049a7732ee42213df186 | refs/heads/master | 2022-03-01T09:03:59.291180 | 2017-07-01T05:34:59 | 2017-07-01T05:34:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 831 | py | # Apartment_finder
from ziroomFinder import getMetaDataFromZiroom
from dataHandler import handle
pages = set()
apartment = dict()
def getApartment(site_url):
if len(apartment) >= 10:
return
# get Data
room_metadata, internalLinks = getMetaDataFromZiroom(site_url)
if not room_metadata and n... | [
"andleaforer@gmail.com"
] | andleaforer@gmail.com |
13055531a6abceadd0cd1adfd7d71c02c8db10e2 | 94db0ec8ec5123aa7dad5980cad0b5acb9e59e97 | /mysite/polls/models.py | 9e9e2e5421eabe26e224e3b2316d644a4c9257e1 | [] | no_license | declau/django-project | d64325c3fecda73a3d78019cab0d0c758ebba39b | 6c11d59d57a1112520a73cd2507b3a01a292841b | refs/heads/master | 2023-02-17T20:51:20.308351 | 2021-01-07T21:28:29 | 2021-01-07T21:28:29 | 327,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 732 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import datetime
from django.db import models
from django.utils import timezone
# Create your models here.
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
def _... | [
"dec82@hotmail.com"
] | dec82@hotmail.com |
2f62bfdeb52fe5869907175451209360faaa6b02 | 7411fc55b41eee02348cd7ce85f0a99f67bad1b7 | /assyrianproject/settings.py | 9db724d1ac0a83b1bfaec1d2e4bae63e1a1b8170 | [] | no_license | bmackley/assyrianproject | 6970ccd1a074b3bea6dd2371910b47eed2205fe5 | 5dd5a3b50fceb8c3eb7c345f5afadbfb7e3d177d | refs/heads/master | 2021-03-24T10:15:57.156999 | 2015-10-27T19:58:24 | 2015-10-27T19:58:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,117 | py | """
Django settings for assyrianproject project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR,... | [
"ubuntu@ip-172-31-43-77.us-west-2.compute.internal"
] | ubuntu@ip-172-31-43-77.us-west-2.compute.internal |
d0513fd6719c9056ff309f680012fb1037dad3a9 | a1d30d970d885841aa3f4dfba64393007f683c2e | /maintest2.py | cb6ed0b6ec6dfbb889d29f1e618ae62569721bce | [] | no_license | gpforad0/test12 | ca35c02266c86a3e386b2d01e5d7d5ba2787d1a2 | 55dddf9cd5b31aa172b9e83cde2b7be1a0fc5d71 | refs/heads/master | 2022-04-21T20:22:45.798574 | 2020-04-14T16:10:43 | 2020-04-14T16:10:43 | 255,658,296 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,043 | py | import subprocess
username = None
email = None
repopath = None
def set():
if (username and email and repopath)!=None:
#a= input('go ahead ')
cmd1 = ['git', 'config', '--global', 'user.name', f"{username}"]
p1 = subprocess.run(cmd1, capture_output=True, shell=True, text=True)
pr... | [
"gpforad0@gmail.com"
] | gpforad0@gmail.com |
0e66980720fb1babebc395504c705fb5e85fa0c7 | 42975fb137a193664141cfd6eb95eb7d2e470bfc | /django_discount/migrations/0003_auto_20201202_0203.py | e95651c86c405048dc468f4882afc40370197890 | [
"Apache-2.0"
] | permissive | Execut3/django-discount | cfbf8b8acb82fe05468c8d225df653341caae26c | 36dd54d7e77f804500bfda38fc2f1c398bdc5e38 | refs/heads/master | 2023-01-24T16:10:45.090724 | 2020-12-02T02:57:01 | 2020-12-02T02:57:01 | 296,426,849 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,610 | py | # Generated by Django 2.2.5 on 2020-12-02 02:03
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('django_discount', '0002_... | [
"execut3.binarycodes@gmail.com"
] | execut3.binarycodes@gmail.com |
4c0d2584c7012446ee243ae4866ec1d90ff14080 | f1caea3c20f9f2142f0d64f5eec2785d0632b0f2 | /lb3/p8.py | c5dbaa4777f56d3f9cfead86805112a85035a064 | [] | no_license | MeetGandhi/Computing | 6b47d10a1f81986d9532b5871aff39286fc326e4 | 66d87da5052b527950586a14444db782c363bb1e | refs/heads/master | 2020-04-02T06:51:03.740737 | 2018-10-22T16:20:37 | 2018-10-22T16:20:37 | 154,171,309 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 959 | py | Python 2.7.3 (default, Jun 22 2015, 19:33:41)
[GCC 4.6.3] on linux2
Type "copyright", "credits" or "license()" for more information.
==== No Subprocess ====
>>> tup=1,5,3,6
>>> tup[3]
6
>>> len(tup)
4
>>> fruit="banana"
>>> print fruit[1]
a
>>> print[10]
[10]
>>> print fruit[10]
Traceback (most recent call last):
Fi... | [
"noreply@github.com"
] | noreply@github.com |
0a5e2afdb2c942e1e056d5bb0ed958e059eeff21 | 56de20f6054038f8ea574962cf87ffb4db7d31ee | /api/permissions.py | c6189c3ed9324d395a03960060380f476fe489d1 | [] | no_license | docker581/api_final_yatube | e5797cac4f3c1be7b79f8f6f9d4d14778a419fe4 | 2f7d29cc1630c8950be0cd654704cd2dc3844570 | refs/heads/master | 2023-05-30T16:19:15.323579 | 2021-06-23T23:51:11 | 2021-06-23T23:51:11 | 323,850,968 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 246 | py | from rest_framework.permissions import BasePermission, SAFE_METHODS
class IsOwnerOrReadOnly(BasePermission):
def has_object_permission(self, request, view, obj):
return (request.method in SAFE_METHODS or obj.author == request.user)
| [
"denisd581@gmail.com"
] | denisd581@gmail.com |
addaf7b5f4c9162502909af086845fc825a3b5df | b13c661160b4e371b746140e00a34bb9ab8f1db9 | /lib/chardet/universaldetector.py | c822aa75c21b4b66089d7098bc60b7fc7e15ee8a | [] | no_license | SainXIII/spider_EX | 6c3b8123123be53dde60988c71813b48da6502eb | f08b28d08147647ceb97eba2680ed441430f1941 | refs/heads/master | 2021-01-16T20:34:29.911720 | 2013-03-08T12:53:06 | 2013-03-08T12:53:06 | 9,028,713 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,673 | py | ######################## BEGIN LICENSE BLOCK ########################
# The Original Code is Mozilla Universal charset detector code.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 2001
# the Initial Developer. All R... | [
"ljy080829@gmail.com"
] | ljy080829@gmail.com |
56d4418f49587b67483e6f6aea9910e364b96abc | 5d174dec1d4bfa66c19922d46cd8149763124f50 | /Nedelja 4/nedelja 4.py | bd34aa00e0c13623706691ba044793ede34c5038 | [] | no_license | StevanCakic/ADIS-UDG | cc70c6ff7e5626f92dbb15a47461df84b5516ac2 | ab24eb945227cd537629aad63610b5efe0002a74 | refs/heads/master | 2020-12-27T04:34:46.977337 | 2020-04-21T11:12:54 | 2020-04-21T11:12:54 | 237,767,260 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,698 | py | # Dictionaries
my_dict = {"ime":"Marko", "prezime":"Markovic", "godine":30}
print(my_dict["ime"])
print(my_dict.get("adresa", "Default vrijednost"))
print(my_dict)
for key in my_dict:
print(key)
# Testirati metode
'''
Napisati funkciju koja omogucava korisniku da unese
n studenata (n parametar funkcije)... | [
"stevancakic93@gmail.com"
] | stevancakic93@gmail.com |
f636bb6debfc8295e52665b86f20a2562cafb926 | 0738183e6ef9aad86c9542db2c01279ef966ef1f | /todo.py | eb71aa9f5ffce6ed0acce74cd568ba03e0a00721 | [] | no_license | MichaelAquilina/todolist | 0e01d2d0711e3d8784fde0db03066409c4876a05 | bbda21920c5284a2805c58daf7ffc5cc8de04c85 | refs/heads/master | 2016-09-03T07:08:20.214285 | 2014-12-26T19:24:57 | 2014-12-26T19:24:57 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,433 | py | #! /usr/bin/python3m
"""
Simple Todolist manager for the command line that allows you to view, add or mark tasks as complete
Author: Michael Aquilina 2014
"""
import re
import os
from collections import defaultdict
# TODO: Cleanup code
# Convert to class
# Add color terminal support
# Better Error... | [
"michaelaquilina@gmail.com"
] | michaelaquilina@gmail.com |
576e1a47c8ad60d389eab51896d31b10a3e2f261 | 48b9ad74000eadfefde0e47ba1335ad0523c2570 | /allure生成报告.py | f79ff2a2c6d6a22d3714dbb92a37a25c82b6ca66 | [] | no_license | bian-py/auto_wushiyin | e8c51d5a2dc6883ec5411db59d67ba49b0a7e171 | 6d86087057d745a9ce23401fdb47b338ed44dc11 | refs/heads/main | 2023-03-19T01:16:42.571088 | 2021-02-24T02:46:48 | 2021-02-24T02:46:48 | 341,464,419 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 71 | py |
import os
os.system("allure generate ./temp -o ./report --clean ")
| [
"334783747@qq.com"
] | 334783747@qq.com |
e5b742ab11bb3c20f4515313eeee5c3dc1ec5856 | a620793a2bf02a0bfe9e5c397bbf93264b52b397 | /e24.py | 50f108ebbb28650dc102e3cb05ecd341efaf03b9 | [] | no_license | nstudenski/project_euler | 6a80c3ea2df4a41d2f3b66224f967621ed6f7fd3 | fac4ba0882151fc2d2dba8043ed50c3f42ff9ef2 | refs/heads/master | 2020-09-16T20:58:49.465267 | 2018-10-19T18:59:31 | 2018-10-19T18:59:31 | 94,487,831 | 0 | 0 | null | 2017-06-16T00:00:41 | 2017-06-15T23:56:20 | null | UTF-8 | Python | false | false | 2,278 | py | ## runs in ~44 seconds
#import time
#start = time.time()
#ls = ["0","1","2","3","4","5","6","7","8","9"]
#result = []
#for a in ls:
# for b in ls:
# if b != a:
# for c in ls:
# if (c != b) & (c != a):
# for d in ls:
# if (d != c) & (d != b) &... | [
"stude122@umn.edu"
] | stude122@umn.edu |
62a623c3b026eb915ebbe59d7275423aa5c2bcba | 8278cd4a4ba9d2f83118a2c0479390c2739e1437 | /net.py | 14e81ea727e5490c5c199b88a6b7af651e69bded | [] | no_license | tanikawa04/chord-suggester | c5d2c8161b198f97b0f29da956615550cb278737 | b849f7018da506e773817e2907b4d892c4605a5f | refs/heads/master | 2021-05-06T03:52:31.160327 | 2017-12-20T15:24:24 | 2017-12-20T15:24:24 | 114,889,425 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 710 | py | # coding: utf-8
import chainer
import chainer.functions as F
import chainer.links as L
class ChordNet(chainer.Chain):
def __init__(self, n_vocab, n_units):
super(ChordNet, self).__init__()
with self.init_scope():
self.embed = L.EmbedID(n_vocab, n_units, ignore_label=-1)
se... | [
"tanikawa04@gmail.com"
] | tanikawa04@gmail.com |
421b66f6ef3e7e7d83145d3019251639dc42dda0 | fe8d12b82007523819e6183dcbd685509a1e6fd7 | /core/production.py | c6c23f4450ac1d015127078f840de4404b2ef34c | [] | no_license | flavien-hugs/kozondjango | a9a4187da43a1ac78df6f0fca819edfa834e1a17 | 56942bf0a839576848689bb853fead9d04aef892 | refs/heads/master | 2023-07-06T15:58:09.300856 | 2023-06-25T18:23:23 | 2023-06-25T18:23:23 | 270,191,214 | 2 | 1 | null | 2023-06-25T18:23:24 | 2020-06-07T04:25:32 | HTML | UTF-8 | Python | false | false | 405 | py | # -*- coding: utf-8 -*-
# core/production.py
import dj_database_url
from core.settings import *
DEBUG = TEMPLATE_DEBUG = False
# Parse database configuration from $DATABASE_URL
DATABASES['default'] = dj_database_url.config()
# Add configuration for static files storage using whitenoise
ALLOWED_HOSTS = ['*']
SECUR... | [
"geekactux@gmail.com"
] | geekactux@gmail.com |
95ace5649c9e4e1037fc032d8c89f24fee6575ce | 76c9fbecb4db3694a3d00e4e8aeb9a0985500fe0 | /Day6/day6_p2.py | 35a2a0beeb2ffbaf5a49b03214c474d05679b48f | [] | no_license | parkour86/advent-of-code-2020 | e60215570af2d759815ada91a0fdde8cb0e6cbd1 | 6ad5206ac35fb8ab7c11808f346aee47b8ad3717 | refs/heads/main | 2023-01-30T21:48:15.455026 | 2020-12-14T04:30:08 | 2020-12-14T04:30:08 | 318,960,426 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 716 | py | with open('input.txt', 'r+') as file:
input = file.read().split('\n')
cnt = 0
newInput = []
for line in input:
if line != '':
newInput.append(line)
else:
flag = True
if len(newInput) > 1:
intercept = newInput[0]
for i in range(len(newInput)):
... | [
"parkour86@gmail.com"
] | parkour86@gmail.com |
88adb50b6bbf3a1e70bc9d98be7d49fbaea570ee | d9d24332276b507feb005b934d228c24c5251db0 | /1xxx/1001.py | 98a17a43ba6342384dd613c2ca6f7ce3374ff2de | [] | no_license | akageun/baekjoon_py | b1b1920d30e76c91ef013a6264dab4bc29cf27b5 | 322c78c5936884f32c385e5cf8001542b798c8d5 | refs/heads/master | 2020-03-23T22:23:36.665665 | 2018-07-28T07:17:57 | 2018-07-28T07:17:57 | 142,173,209 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 390 | py | ######################
#
# - 문제 : 두 정수 A와 B를 입력받은 다음, A-B를 출력하는 프로그램을 작성하시오.
# - URL : https://www.acmicpc.net/problem/1001
#
######################
def subtraction(first_num, sec_num):
return first_num - sec_num
if __name__ == "__main__":
arr = input().strip().split(" ")
print(subtraction(int(arr[0]), ... | [
"akageun@gmail.com"
] | akageun@gmail.com |
263c1e776721aa7f0e3969bc631af9841f29adf1 | 91da16548ec2a7826c33d52cee2087ec42476277 | /createcps.py | e45a2476bbe8f92824a5d816fa18634f63b14484 | [] | no_license | andersonfrailey/cpstaxunits | ec319413fff6745ee334d2e9e171b29a1525c2c2 | ca28e2f6fc9108644bcb089bc245ee729e1e0f68 | refs/heads/master | 2021-07-02T16:45:46.510937 | 2020-07-31T22:51:11 | 2020-07-31T22:51:11 | 101,076,555 | 1 | 1 | null | 2018-10-10T17:13:22 | 2017-08-22T15:12:45 | Python | UTF-8 | Python | false | false | 8,639 | py | """
Script to run all files that create the CPS file
"""
import pandas as pd
from cpsrets import Returns
from adj_filst import adjfilst
from assemble import assemble
from topcoding import topcoding
from imputetobit import imputation
from targets import targets
from blankslate import blankslate
from merge_benefits impor... | [
"anderson.frailey@aei.org"
] | anderson.frailey@aei.org |
3335428952a4716954b8585f6e26d5212fef7019 | 1e584b456f2dade32330aa7adcab669202346de0 | /Ventas/migrations/0001_initial.py | 0bd6f0d72085edb40348ad9ea7e32392b753e98d | [] | no_license | elisammg/Python-Ventas-Src | f3ec38f65cc321bd70e5d14bf3636fa29b75d382 | 0cf0c25a2e892f593b9864ad567c0e9bd01b265c | refs/heads/master | 2022-12-16T02:02:39.433588 | 2020-09-01T04:47:44 | 2020-09-01T04:47:44 | 291,898,571 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,760 | py | # Generated by Django 2.2 on 2020-05-27 01:14
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('Fabricas', '0001_initial'),
('Cientes', '0001_initial'),
('Repuestos', '0001_initial'),
... | [
"andres@localhost.localdomain"
] | andres@localhost.localdomain |
684940015c3c66e7ec8f8ea1bc1d7ca3bf133ab6 | 43f6dd9fbb3c760a07a7c1961811c6ef6660a1fe | /python/Python/Activity1.py | 23aad7b895cacf12ce21e3fa7d079766f63bf671 | [] | no_license | surendramailishere/FST-M1 | b43a3adab7008662fb436a7b32e3c440c2e78b15 | e9c1172b7eb29e7504867ffbbe274efad29a67fd | refs/heads/main | 2023-05-31T01:18:46.282971 | 2021-07-10T04:58:32 | 2021-07-10T04:58:32 | 368,394,478 | 0 | 0 | null | 2021-05-18T03:54:31 | 2021-05-18T03:54:31 | null | UTF-8 | Python | false | false | 175 | py | name = input( "What is your name: " )
age = int( input( "How old are you: " ) )
year = str( ( 2020 - age ) + 100 )
print( name + " will be 100 years old in the year " + year ) | [
"noreply@github.com"
] | noreply@github.com |
af0bc4e2ffafa311474d941bfa02b2679773dbee | 56a3d36ea1cb52183c32dc4d15aadcc78e29889e | /test_rest/urls.py | 61af6c2894fbe52eaf31e3bc70ff02c9409f8169 | [] | no_license | AlisaLC/yektanet_rest | 18b20a0a7e38e6f73573593b7767f8bdc6d75973 | b8ef4bf20c3535a1720a8cf982a3c61f66e4c49b | refs/heads/master | 2023-08-26T07:55:29.991086 | 2021-09-28T14:55:04 | 2021-09-28T14:55:04 | 411,321,148 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,755 | py | """test_rest URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-bas... | [
"ali_sal1381@yahoo.com"
] | ali_sal1381@yahoo.com |
bc2b058df735eb41e195f9039cfb1940feaa9469 | 355446ae3ee0ebff46690498e4454cdfb9b927be | /ChirpAnalyzer/multiAnlayzeSymbolRate.py | 4809692c86b19bab6f3359215ff576cfb45ec8bb | [] | no_license | zxs1652/ChirpAnalyzer | 33b413687361c50e92a9b56f8905a169178f2ff2 | 73289d8adb37fb57da23e51cd48a7bbe42091262 | refs/heads/master | 2022-11-04T23:06:30.908195 | 2020-06-12T10:48:51 | 2020-06-12T10:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,854 | py | from scipy.signal import chirp, sweep_poly, spectrogram, welch
from scipy.special import factorial
import scipy.signal as signal
import numpy as np
import random
import rftool.radar as radar
import rftool.utility as util
import rftool.estimation as estimate
import rftool.communications as comm
from utility import *
i... | [
"buer94@gmail.com"
] | buer94@gmail.com |
10edb8f316551d6e473ca183fa6522c0ce770e04 | f08a30264ca141f9809db3090e4852731b630a84 | /ml-notebook-to-prod/examples/housingExample/housepriceapi/housepriceapi/api/__init__.py | 0abadf0f5a11a4de8836b475840a3b14a960304d | [
"MIT"
] | permissive | gbourdin/charlas | a1ee42f3e2f8aef9d8754a6a5b84537055f877db | bae889b140be945ff55a511518c771ff47f62e95 | refs/heads/master | 2020-06-04T06:26:56.905694 | 2018-11-28T00:52:25 | 2018-11-28T00:52:25 | 20,316,818 | 6 | 0 | null | null | null | null | UTF-8 | Python | false | false | 87 | py | from .predict import blueprint as predict_blueprint
__all__ = ['predict_blueprint', ]
| [
"german.bourdin@mercadolibre.com"
] | german.bourdin@mercadolibre.com |
7404d07e1d9558b3f178f1c18b297e993c68d9ac | 3af0629755124faaa4d229b3f443d9469282d6e5 | /Exercises/Exe7.py | d938e113f4134879d39193d221c8f3451c61db27 | [] | no_license | Cmaanjunatha/ProjectHUB | 389eaf7a1521731e0dbbb64685a5dfdae1b521d7 | ae50111ce2cea02b0050eb6706255f11b32ac70b | refs/heads/master | 2022-12-10T12:19:20.967923 | 2019-12-31T02:18:54 | 2019-12-31T02:18:54 | 225,866,977 | 0 | 0 | null | 2022-12-08T01:11:34 | 2019-12-04T12:53:36 | Python | UTF-8 | Python | false | false | 100 | py | def fun(r):
for i in range(r):
#print(i, end="")
print(' '* r-complex-1)
fun(9) | [
"mjnathachandrappa@gmail.com"
] | mjnathachandrappa@gmail.com |
f04f64ae1e0b8f6e6b82d80ebfa78d311e209e3f | 014d6ee96640b7d7fdeb2f11f4b0b34cf52a48ee | /leadmanager/leads/migrations/0001_initial.py | cb262f320fdb6c369a3809628705f24bd046b280 | [] | no_license | karatugo/lead-manager | b31f282f707fac44dff5fb16b87b9b57a42f2a9d | 88c3026efeacb26643372cc196efd5fc43e785e2 | refs/heads/master | 2023-01-19T19:39:47.193833 | 2020-06-29T12:22:22 | 2020-06-29T12:22:22 | 244,813,308 | 0 | 0 | null | 2023-01-07T19:34:37 | 2020-03-04T05:13:03 | JavaScript | UTF-8 | Python | false | false | 705 | py | # Generated by Django 2.2 on 2020-03-04 07:51
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Lead',
fields=[
('id', models.AutoField(auto_... | [
"karatugo@gmail.com"
] | karatugo@gmail.com |
1b03222fee8df5feca6f6e38df3cf46e883c4e67 | 27bc04992b9122356c587ef18036524106bc6bd2 | /spaces33.py | 354a514f0fc780e179423eb99e81ff9c09181ef5 | [] | no_license | naveenakallagunta/python | bafde4811af7cde76fca7dd2cb79037aea2fc5be | 65a4bcae4c2bcd0ca2a7b850159cb79f73de13ba | refs/heads/master | 2020-03-27T06:08:17.362728 | 2018-12-13T06:36:51 | 2018-12-13T06:36:51 | 146,081,643 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 33 | py | z=raw_input()
print z.count(' ')
| [
"noreply@github.com"
] | noreply@github.com |
b75960015422e66c2334cbbfb1eb2fc24101bf41 | 71054ffad08ec0cd3dc991d13db788c9577121da | /main.py | 4cc8f1035a01ccd225a19583f1ccf5488ae885db | [] | no_license | Carlesgg97/py-fetch-twitch-vod-chat | b290d7a0715ddfc678858d66a91c5f132ef2c5ff | 9d558ba2371c45bc48f659d948a8b945e76a321e | refs/heads/master | 2023-02-21T06:15:12.215541 | 2021-01-20T18:34:29 | 2021-01-20T18:38:39 | 331,396,788 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,311 | py | import requests
import json
import sys
import argparse
ACCEPT_HEADER = "application/vnd.twitchtv.v5+json"
BASE_URL_TEMPLATE = "https://api.twitch.tv/v5/videos/%s/comments"
def parse_args():
parser = argparse.ArgumentParser(description='Download a twitch vod\'s chat messages')
parser.add_argument('vod_id', type=i... | [
"carles.gonzalvo@gmail.com"
] | carles.gonzalvo@gmail.com |
e0ec96fe394d55ea0a473edbcab1f39f84f26a85 | a8e25a558ffcbd0113b87e1971076d9d40dad9c4 | /contact.py | 1433f42f19eaf0ef9c1463732fbc155640a1717e | [] | no_license | WambiruL/contact-list | ce5087b37d0390b03c4a912c7db19f8ba8cf0722 | 239018141ee04d484cf8f6529dc25d70a7db4a03 | refs/heads/master | 2023-05-10T22:27:30.793908 | 2021-05-31T07:46:03 | 2021-05-31T07:46:03 | 372,424,752 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,062 | py | import pyperclip
class Contact:
contact_list= [] #empty
def __init__(self,first_name,last_name,phone_number,email):
self.first_name = first_name
self.last_name = last_name
self.phone_number = phone_number
self.email = email
#self is a special keyword in python,
# sel... | [
"wambirulorraine@gmail.com"
] | wambirulorraine@gmail.com |
480a47f925cf0431ba0762f3cb95c93bd5a706c6 | bf4e3a2daf7c00cbfec3c8e4f94ba94ad4b72f13 | /fundamentals_of_programming/Laboratory5-7/domain/DomainException.py | d55ac3673868e88e6009438dc9484ce9d472b20c | [] | no_license | LeancaBogdan/University | 93a5481d6dcf877142e88b1c216e5ac56e496391 | f4fd433395152fb378f41171f0c2f4534325778e | refs/heads/master | 2020-07-01T08:16:43.791800 | 2020-02-10T17:36:14 | 2020-02-10T17:36:14 | 112,607,377 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,614 | py | """
Created on 24 nov. 2016
@author: bogdanleanca
"""
class DisciplineException(Exception):
"""
Class for exceptions regarding disciplines
"""
def __init__(self, message):
"""
Constructor
"""
self._message = message
def get_message(self):
"""
Gette... | [
"leancabogdan@outlook.com"
] | leancabogdan@outlook.com |
ed043dab200abb9b900bc4245757332efb6e5732 | 66e2921d550edc185f15c7b4f616f05a5f2095aa | /basicapp/forms.py | 0bf8fb3fe5ad2fef5e679e976747200d167b49ce | [] | no_license | tgchen/basicforms | 030b6fefee8366aae89e8b1022a69d560df0e5fd | f704ae7227b1a9c3b4e02b5f8eb4cdd84fc18217 | refs/heads/master | 2020-06-06T15:23:32.800668 | 2019-06-19T18:54:46 | 2019-06-19T18:54:46 | 192,776,500 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 540 | py | from django import forms
from django.core import validators
class FormName(forms.Form):
name = forms.CharField()
email = forms.EmailField()
verify_email = forms.EmailField(label='Enter your Email again:')
text = forms.CharField(widget=forms.Textarea)
def clean(self):
all_clean_data = sup... | [
"tgchen@wynetech.com"
] | tgchen@wynetech.com |
d3a1ab0719a1a0bce38f4a80055f2147f05eede0 | d6a6134be4d8befa72c5e0983c4119030a838a64 | /torba/torba/orchstr8/cli.py | b88ee065e8df11401f5e3d5cb5567a4ad97588aa | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gpjacobs/lbry-sdk | a97c7e5b7cc714df5fcd02581f9a97f9b3efdfa7 | 3562234f9d80552196113d51736321a41dcc91d9 | refs/heads/master | 2020-08-12T05:16:04.892260 | 2019-12-13T17:05:36 | 2019-12-13T17:18:37 | 214,695,274 | 0 | 0 | MIT | 2019-10-12T18:25:37 | 2019-10-12T18:25:37 | null | UTF-8 | Python | false | false | 3,123 | py | import logging
import argparse
import asyncio
import aiohttp
from torba.orchstr8.node import Conductor, get_ledger_from_environment, get_blockchain_node_from_ledger
from torba.orchstr8.service import ConductorService
def get_argument_parser():
parser = argparse.ArgumentParser(
prog="torba"
)
subp... | [
"lex@damoti.com"
] | lex@damoti.com |
b8c613489b03334b098ccfed4cbaf881736f911d | 02f9eb2d16a6c8f58f0f242d1fbf66cf38f3c95f | /tests/test_sim_ranked_item.py | ad36b519715d4fbd1e6a50e3c58ed12117d0f142 | [
"MIT"
] | permissive | League-Advisor/league-advisor | 39de50f3e31381672f9d7ad35bff3c99fb39c9f2 | b77895833075ff13b075875eff421ec9fef9770e | refs/heads/main | 2023-09-05T02:44:12.866773 | 2021-11-11T09:32:35 | 2021-11-11T09:32:35 | 423,940,194 | 0 | 0 | MIT | 2021-11-12T11:10:08 | 2021-11-02T17:35:42 | Python | UTF-8 | Python | false | false | 509 | py | from league_advisor.league_advisor import LeagueAdvisor
from tests.flo import diff
def test_ranked_item_error():
league_advisor = LeagueAdvisor()
diffs = diff(league_advisor.run_program,
path="tests/simulations/ranked_error_color.sim.txt")
assert not diffs, diffs
def test_ranked_item_pa... | [
"ehab24495@gmail.com"
] | ehab24495@gmail.com |
474d8440cc981c68de092f5b796c145a85e9c0d7 | 446668176ba9765575738faa8a634a0671616572 | /caidaTensionRestML-master/API_CAIDA_TENSION/apps.py | da2e3120eb5da6d884e6dccd6619fd86556731b2 | [] | no_license | ManuelSBZ/CaidaTensionServiceML | 80f51103f1b8078354dbe190d5acfed27b07dff3 | dfa1cc3a62e5e5bd22b7e72db9ddd5cf8ab39ee4 | refs/heads/master | 2023-08-12T18:55:10.250720 | 2020-09-29T04:29:26 | 2020-09-29T04:29:26 | 272,574,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 107 | py | from django.apps import AppConfig
class ApiCaidaTensionConfig(AppConfig):
name = 'API_CAIDA_TENSION'
| [
"manumeco98@gmail.com"
] | manumeco98@gmail.com |
1b28dc7a43913b16cc1387fd0723ce67de83ecdc | 8ae5d4eb8bb714e50e7a68a9543c7bc6dd34c54f | /blog/migrations/0003_auto_20210510_1852.py | a5946c41be719b976b54eafefd0574e553423a94 | [] | no_license | Axrorbek05/personal_site | e476af120dc08fae8f6abbb4221cb231b98f1312 | d01fe787c00dbad168c4b4d6b6a3044ee13fc38a | refs/heads/main | 2023-05-10T05:07:34.736321 | 2021-06-11T14:25:28 | 2021-06-11T14:25:28 | 374,702,644 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 752 | py | # Generated by Django 3.2.2 on 2021-05-10 13:52
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('blog', '0002_auto_20210510_1849'),
]
operations = [
migrations.CreateModel(
name='AboutMySkills',
fields=[
... | [
"axrorbek.xasanov@mail.ru"
] | axrorbek.xasanov@mail.ru |
66fc38aa55d5e4e028d3034b05ed4e42e95db0f8 | 12f47745f5216f400c47a999186cfb5ebb41e82d | /env2.7.11/bin/qiniupy | b21892ad7d0e1aaa6b928455be3bb75cbee97a1b | [] | no_license | yangsongx/doc | c9327d1489b493e773e54356a583cfa1543f007d | 9de7d59618d490731e1a214f940e49c698bc1527 | refs/heads/master | 2021-01-21T12:58:57.716377 | 2016-04-27T09:30:14 | 2016-04-27T09:30:14 | 46,835,093 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 315 | #!/d/projects/env2.7.11/bin/python2.7
# EASY-INSTALL-ENTRY-SCRIPT: 'qiniu==7.0.6','console_scripts','qiniupy'
__requires__ = 'qiniu==7.0.6'
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.exit(
load_entry_point('qiniu==7.0.6', 'console_scripts', 'qiniupy')()
)
| [
"git@git.com"
] | git@git.com | |
389a365a6e25c241f42dc45617a410f8c83ee19b | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03761/s550308276.py | ea846a6dca52e1e800df28ff7483ccc82a524804 | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 189 | py | n=int(input())
a=[100]*26
for i in range(n):
s=input()
for j in range(26):
a[j]=min(a[j],s.count(chr(ord('a')+j)))
for i in range(26):
print(chr(ord('a')+i)*a[i],end='') | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
e060d09287e50e67ac9867e009cc63bbc879f331 | 16b81ffcb40b429bde1e9bc10e5eeddd9d2ec51f | /cs212/test_lesson6.py | 659253841de433d4da6d7c8e7655414b071e2e33 | [] | no_license | suminb/coding-exercise | 564424b7b98ea768c57a5b7f106fd7844e8e2843 | b8b9377e7a76b498a9e6fb325743b16cbc943932 | refs/heads/master | 2023-06-16T03:01:59.009635 | 2020-05-09T11:09:25 | 2020-05-09T11:09:25 | 171,614,062 | 8 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,311 | py | import pytest
from lesson6 import *
@pytest.mark.parametrize('h1, h2, expected', [
(1, 0, True),
(0, 1, False),
(4, 3, True),
(2, 2, False),
])
def test_imright(h1, h2, expected):
actual = imright(h1, h2)
assert expected == actual
@pytest.mark.parametrize('h1, h2, expected', [
(1, 0, Tr... | [
"suminb@gmail.com"
] | suminb@gmail.com |
7fa19b9053be05a63b004f22e6649de333114e9d | 0d1d489b32b656b1f418e102b25549c90692335e | /interface/rebuild_test_bak.py | 8b8be8321b6f3cceca88a076feac253534cc8dee | [] | no_license | vitaminwxl/doc_test_ker | de7a7f9f8106a5f2d72936815d781160709f6436 | 584ae62044ef44ebbe3ed44b6ec6de4e4e246068 | refs/heads/master | 2020-12-03T04:16:16.343417 | 2017-07-04T03:13:50 | 2017-07-04T03:13:50 | 95,842,095 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 20,892 | py | #!/usr/bin/env python
# encoding: utf-8
import os, sys
sys.path.append('/gomeo2o/htdocs/judy')
os.environ['DJANGO_SETTINGS_MODULE'] = 'judy.settings'
import paramiko
# import subprocess
# import os,sys
import fileinput
import time
import pexpect
from docker import Client
import docker
import threading
import socket
soc... | [
"wangxiaolong@gomeplus.com"
] | wangxiaolong@gomeplus.com |
5b48673a67efc9aaacd2b58ddf39fba70fd8cc5a | 9f663a205e683c442b14919e369d9302a00ae20d | /probnmn/evaluators/joint_training_evaluator.py | f6d65734e891076b1f3836989963c0cbcbb59ec1 | [
"MIT"
] | permissive | minalspatil/probnmn-clevr | 65b4062c289a4d6bc87047f51d17410cbc015de2 | 9c1b2286cf30e9fb045370153c9242a39760e02e | refs/heads/master | 2022-04-12T18:08:14.782588 | 2020-03-10T18:54:38 | 2020-03-10T18:54:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,925 | py | import logging
from typing import Any, Dict, List, Type
from allennlp.data import Vocabulary
from torch import nn
from torch.utils.data import DataLoader
from probnmn.config import Config
from probnmn.data.datasets import JointTrainingDataset
from ._evaluator import _Evaluator
logger: logging.Logger = logging.getLo... | [
"kddeskar@gmail.com"
] | kddeskar@gmail.com |
7336bec83d355a2555ec2164ee32ecb9b9c142b6 | a985e335ba516a8981e84d95a11355045bf65bd4 | /class_project/homepage/cached_templates/templates/about.html.py | 77eaa763644a94a66d83fe33935581722be6522a | [] | no_license | jacerm/IS413CHFProject | a392f331e84e2e50a702e6d9cbd8bc1dc097ddec | 256679b43ae4fae56bfff201a3b4c7ffbf343f35 | refs/heads/master | 2021-01-10T10:31:46.452702 | 2016-03-07T15:11:38 | 2016-03-07T15:11:38 | 50,360,088 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,794 | py | # -*- coding:utf-8 -*-
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
STOP_RENDERING = runtime.STOP_RENDERING
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1454635928.574405
_enable_loop = True
_template_filename = 'C:/source/class/IS413/class_project/cl... | [
"jace.milne@gmail.com"
] | jace.milne@gmail.com |
6272c37f6da59e679cce3642f876a666f520c8bc | f9d564f1aa83eca45872dab7fbaa26dd48210d08 | /huaweicloud-sdk-bms/huaweicloudsdkbms/v1/model/server_os_scheduler_hints.py | 579c6914db427d4ce4b466ad9a6db9d1261a1232 | [
"Apache-2.0"
] | permissive | huaweicloud/huaweicloud-sdk-python-v3 | cde6d849ce5b1de05ac5ebfd6153f27803837d84 | f69344c1dadb79067746ddf9bfde4bddc18d5ecf | refs/heads/master | 2023-09-01T19:29:43.013318 | 2023-08-31T08:28:59 | 2023-08-31T08:28:59 | 262,207,814 | 103 | 44 | NOASSERTION | 2023-06-22T14:50:48 | 2020-05-08T02:28:43 | Python | UTF-8 | Python | false | false | 3,131 | py | # coding: utf-8
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class ServerOsSchedulerHints:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attri... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
89250e1069fc42e0ed85caf67905a63377761723 | cc00a20367dce4a874e16fb61988322f92db4792 | /backend/goto_26148/settings.py | 9bde41410140d234d92c2bbf6a5de3696580bb4b | [] | no_license | crowdbotics-apps/goto-26148 | f98fd14e423250c9bb4018d63bb23b32724adfeb | c3d22bd7afd651cecc56aa1f6baafc4daed50bff | refs/heads/master | 2023-04-24T08:15:03.494844 | 2021-05-05T09:47:11 | 2021-05-05T09:47:11 | 364,528,494 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,185 | py | """
Django settings for goto_26148 project.
Generated by 'django-admin startproject' using Django 2.2.2.
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... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
8fb0bf98600c1381d10f34262757f2e44f563665 | a1a7d221c3ba95ff13a12ea06cc1b3cf6ad71536 | /Ising Model/Python Module/ising model - animation.py | 7d7bfeb65f86a0f59a073f0ad8ae9e3e56af3438 | [] | no_license | nshettell/Lattice-Fundamentals | 0b4fc017a04d15f608dd87b173ecd2afbcc654ad | 4fcc0149549d371cf4bfef6e100c03e34f842c3a | refs/heads/master | 2016-08-04T10:32:43.793014 | 2013-01-30T15:19:40 | 2013-01-30T15:19:40 | 7,488,967 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,918 | py | class Sphere_C:
def __init__(self,spin,pos,trans_factor):
self.colour='Red' if spin==1 else 'Blue'
self.trans=trans_factor
self.i=pos[0]
self.j=pos[1]
self.k=pos[2]
def msg(self):
return """sphere {<%d,%d,%d>, 0.25
texture{pigment{color %s} finish{phong 1}}
transm... | [
"n.shettell@hotmail.com"
] | n.shettell@hotmail.com |
81347f9541848685530816c9c8e219f8e7efe407 | 7361ee0129351b8bb594b7a7bb47c143de84dd36 | /1911.py | ffc13a51c5dc193fb77a0e1bfdc2509570e3c33c | [] | no_license | antonioroddev/Uri | 5d22c3ba3e01977674874cc4d1ad38ecb8be1ee9 | 12e7c447e79db71ff13587de0079d0a5bcdac218 | refs/heads/master | 2022-05-22T12:03:33.717084 | 2022-04-14T01:52:26 | 2022-04-14T01:52:26 | 216,880,192 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 514 | py | while True:
n = int(input())
if n == 0:
break
dicionario = {}
for i in range(n):
lista = input().split()
dicionario.update({lista[0]:lista[1]})
contador = 0
alunos = int(input())
for i in range(alunos):
lista = input().split()
erros = 0
for ... | [
"juninhor-51@hotmail.com"
] | juninhor-51@hotmail.com |
e0aec676dc3d38a1ac50e212dfa17fc84d953d96 | 23240c2ab58e40becdbc327b683504314579c0ef | /tools/syll_count.py | 59d6448ca6dfe636863c8fc66bf3f5ca53b3e396 | [] | no_license | dean-shaff/poems | 7f8145884f1cc8cfa08369c3594f8902f80d8e51 | 893e24929cd9c1cb9f9e2dfd9eb760902b9f8076 | refs/heads/master | 2016-09-06T11:47:37.947778 | 2015-03-10T20:34:19 | 2015-03-10T20:34:19 | 23,531,052 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,925,222 | py | syll_dic = {
"a cappella":4,
"a fortiori":5,
"a gogo":3,
"a posteriori":6,
"a priori":4,
"a tempo":3,
"a-plenty":2,
"aalborg":2,
"aalto":2,
"aardvark":2,
"aardwolf":2,
"aarau":2,
"aargau":2,
"aarhus":2,
"aaron":2,
"aaronitic":4,
"aachen":2,
"aalesund":3,
"aalii":3,
"aaron":2,
"aaron's beard":3,
"aaron's rod":3,
"aaron'... | [
"dshaff001@gmail.com"
] | dshaff001@gmail.com |
fe979f740cc178201e674f7bb9358c66f0ea3398 | 3078ede78078c5d6de562414cd9a823d4455ab5c | /py/examples/slug_comp.py | 0885ad0df3f2a4b778567a182aaccf128b2b12cc | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | mifumagalli/cluster-cloc | b9293a4965c6da4ca6fa906627b4e7c02ed94c9f | e27f3fe095ec5e1a6e892e1681fae7b728cbad56 | refs/heads/master | 2021-01-10T06:36:23.467175 | 2015-12-02T18:17:43 | 2015-12-02T18:17:43 | 47,247,998 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,556 | py | import fall_cpp_wrapper as fcw
import numpy as np
import parse as p
import matplotlib.pyplot as plt
from matplotlib import rc
def qpow(min1, max1, slope, q):
return (q*(max1**(slope+1) - min1**(slope+1)) + min1**(slope+1))**(1./(slope+1))
rc('font',**{'family':'sans-serif','sans-serif':['Helvetica']})
## for Palat... | [
"rdasilva.astro@d8247fcc-7651-9239-f1d7-4a1c92cfa542"
] | rdasilva.astro@d8247fcc-7651-9239-f1d7-4a1c92cfa542 |
b26aaa6504631090d0c9245c4ff0ffed404bc23a | c819942ea78169d970c78da592bf00753b39414b | /reverse-string/reverse_string.py | c46d8e9642f27e5bdecc903b603f85d26a4d97a7 | [] | no_license | j2towers/exercism.io-python | 587915e7f6bcb9d1e64fb191383b8900df409c1c | 2feb62a2222595be78cfed998814f227592f6f8c | refs/heads/master | 2021-01-18T21:02:45.524672 | 2018-01-10T03:20:04 | 2018-01-10T03:20:04 | 87,003,864 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 88 | py | def reverse(stringin):
stringout = "".join(reversed(stringin))
return stringout
| [
"j2towers@uwaterloo.ca"
] | j2towers@uwaterloo.ca |
5a85c85ecd237edd8ec5678cfb52c41474986a43 | 5c060ad45d92cbf5e954f5b15ff438d289139e82 | /conditionals.py | 35fadf09a84a9989e33073c6e00d8950290dc765 | [] | no_license | Solstice-Designs/Python_Starter-Kit | 33c1670868268ba3bd9c9654ebdd453e6e0ebafa | 38244dde87b434385070ea7d0fbc5128c824c2c8 | refs/heads/master | 2020-06-29T14:27:55.391979 | 2019-08-06T05:50:04 | 2019-08-06T05:50:04 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,308 | py | # If/ Else conditions are used to decide to do something based on something being true or false
x = 9
y = 10
# Comparison Operators (==, !=, >, <, >=, <=) - Used to compare values
if x > y:
print(f'{x} is greater than {y}')
elif x==y:
print(f'{x} is equal to {y}')
else:
print(f'{y} is greater than {x}')
... | [
"noreply@github.com"
] | noreply@github.com |
f510c70be04b24f2256a76644f59b838bc1a85fe | 961362271cbb7a8dd41ec97e87685d81217fc4b0 | /video_client.py | 76301d01881b47483229655bf7c224df1b0e2424 | [] | no_license | MaxAndrewNZ/Landrov | 6b0ddaf1561eaf0508831372337ed50b4b02d2eb | f5ceac0f99393bfe31521938a6440f6584693ea3 | refs/heads/master | 2022-12-04T09:50:52.637924 | 2020-08-09T04:16:08 | 2020-08-09T04:16:08 | 286,156,699 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 828 | py | # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
import cv2,time,zmq
import numpy as np
port = "5557"
context = zmq.Context()
socket = context.socket(zmq.SUB)
socket.connect("tcp://192.168.8.106:%s" % port)
socket.setsockopt(zmq.SUBSCRIBE,b'rgbimage')
socket.setsockopt(zmq.SUBSCRIBE,b'depthimage')
print('conne... | [
"mla138@uclive.ac.nz"
] | mla138@uclive.ac.nz |
e05f08d4d9a1d54c2b44c1d6291fadb230560087 | 2d76ed476fe8a52f99ffbc03028a4966085ba070 | /apps/user_manage/apps.py | 75e4c26470e94c9ed733e12d85b02b51e435ed5b | [] | no_license | blink07/shop_admin | 39b9df42ada47bb978e7171bd172ac9dfc6e97bb | 5ea3f978d0065f4e54842fddbe8c64c647cc7af8 | refs/heads/main | 2023-06-23T01:13:44.700955 | 2021-07-20T06:06:00 | 2021-07-20T06:06:00 | 284,709,912 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 153 | py | from django.apps import AppConfig
class UserManageConfig(AppConfig):
name = 'user_manage'
def ready(self):
import user_manage.signals
| [
"2954538230@qq.com"
] | 2954538230@qq.com |
6b3f8144479402366cc5be6793e13674c2358914 | c3a2dd90b27e837535d8bcd11204b7e68a4774af | /problem__solver.py | 71d7a4c20f010c9935c13bd7cfbc45bdbfd5177f | [] | no_license | ironicrobo/Project_Test_1 | d37e336b0f9e39b1150cb0bda64ddcfdfd9ef2ce | 226fa9c488dc9409c379048d32cb44dc7875943a | refs/heads/master | 2022-12-08T08:01:11.859007 | 2020-09-06T14:45:42 | 2020-09-06T14:45:42 | 293,113,928 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 41 | py | print("hello world")
print("hello there") | [
"a.d.sturm+github@gmail.com"
] | a.d.sturm+github@gmail.com |
e95f46cc5e2b4f28036c15eaf2d89ae4967cd59b | b2545b41a6d41f4f7907045e0935f55418ed4858 | /tests/conftest.py | 4228ec88a84ba76f0e175ec6d4a2178ffee7570b | [
"MIT"
] | permissive | jacebrowning/MeCabOnigiri | 5312f1761eacbd0df430c3bd09a26421539c9d63 | 66511d2563bfe2644533599fac3ca0897a524997 | refs/heads/master | 2021-04-15T19:04:52.694484 | 2017-11-07T16:29:51 | 2017-11-07T16:29:51 | 126,559,237 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py | """Integration tests configuration file."""
from MeCabOnigiri.tests.conftest import pytest_configure # pylint: disable=unused-import
| [
"b1015062@fun.ac.jp"
] | b1015062@fun.ac.jp |
2c600b1161546f8cb29e4939b09b0e1d473dbcbc | f323771a686df2b934597f40334f168fa5d8915e | /interface_manager/backend/impi_project/interface_app/form/user.py | fd29bb7035c4a1aa0a3563e4ec7afc5ad6e566e7 | [] | no_license | luochun3731/test-dev | 4ac560b5cc2935986be7f3d29f445f6c0d59f60f | bab018464d26de5a493e5e5a60b382e612b6ca92 | refs/heads/master | 2022-02-04T13:20:23.748457 | 2019-05-19T03:32:41 | 2019-05-19T03:32:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 497 | py | from django import forms
class UserForm(forms.Form):
username = forms.CharField(max_length=20,
min_length=3,
required=True,
error_messages={'required': "用户名不能为空"})
password = forms.CharField(max_length=20,
... | [
"670719972@qq.com"
] | 670719972@qq.com |
d040d744f353bd17bf132b60eca848dbe8b29e88 | 3d529f14110558ff9c5231cbaacf63a3f04fd127 | /ensemble_segmentation.py | 0d7611dabaae35e6793c538a06a6d0e1fd416ba2 | [] | no_license | esskay0000/qtim_ROP | dc9a607a8d1e7d02afb7eba0087ad8a17d84fa7d | 8678b79f66a836603fb2b6308fbd0b36eac7a8e6 | refs/heads/master | 2020-12-30T15:08:40.130013 | 2017-03-31T16:00:12 | 2017-03-31T16:00:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,857 | py | #!/usr/bin/env python
from os import listdir, sep
from os.path import join, basename, isdir
import numpy as np
from PIL import Image
from segmentation import SegmentUnet
from common import find_images, make_sub_dir
class UnetEnsemble(object):
def __init__(self, models, out_dir, evaluate=None):
self.mod... | [
"jbrown97@mgh.harvard.edu"
] | jbrown97@mgh.harvard.edu |
a4f292ca54d7b41913d10ed67bd4d04a3c613f99 | e73dff17361523dae546be3cb092652310d8048e | /music/migrations/0013_auto_20190408_1635.py | 0e76afeb01dd09fafad4bfbcb5f29b477f3326a3 | [] | no_license | asifk1997/CodeFii | 0cc971ab7d0df01815ad1d2bfb97f393dbdd8fa7 | 865c15769f90dbd7688701287a0319675f02cacf | refs/heads/master | 2021-06-20T18:25:37.368028 | 2019-05-29T05:14:50 | 2019-05-29T05:14:50 | 181,060,710 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 461 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2019-04-08 11:05
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('music', '0012_auto_20190407_1958'),
]
operations = [
migrations.AlterField(
... | [
"asif.khan.khargone@gmail.com"
] | asif.khan.khargone@gmail.com |
f54d503f5f8f9e61cb2ee0197d1e6168361f3002 | 61e54fef7d866e7bf2c73257ddb2e094e1495599 | /tables/Data.py | 8699b7489972898b2b52acb4ee043ab4c14bb894 | [
"MIT"
] | permissive | Ansu-John/Validator | 75a7f7f1f2f18b05f9f722c9c62a935e273afd7a | 9a7496bfb62621f3a6882d0e7958fffe8d2c67bb | refs/heads/main | 2023-03-30T01:42:07.878590 | 2021-03-28T23:45:20 | 2021-03-28T23:45:20 | 352,463,793 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 920 | py | from pyspark.sql.types import *
from util.Validator import ValidatorUtil
class Data:
def __init__(self, spark, logger):
self.spark = spark
self.logger = logger
self.validator = ValidatorUtil()
def validate(self):
dschema = StructType([StructField("count", IntegerT... | [
"noreply@github.com"
] | noreply@github.com |
43f26d7db73966b76ae9be80cbc9b38884ac3271 | 486d534ed14eacef80500a9d08b6953905383e6f | /main.py | b5b06a0764536d096b27462070987107ad494df0 | [] | no_license | TylerSerrano98/Robots-vs-Dinosaurs | a859274453e892d03422615e2060d4ec820c0659 | c0b85ec25a813b6cb1738a670ddf641fbaa39e56 | refs/heads/main | 2023-08-06T22:20:27.986283 | 2021-10-07T21:59:02 | 2021-10-07T21:59:02 | 414,282,642 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 75 | py |
from battlefield import Battlefield
play = Battlefield()
play.run_game() | [
"91335774+TylerSerrano98@users.noreply.github.com"
] | 91335774+TylerSerrano98@users.noreply.github.com |
7c278e07370eee210433c8b9feebc05fecb6d857 | b5adb31f781fa51afe020754a11639cf428e9032 | /encode_faces.py | 479a8125522827447c700b2ecd1d28182663d891 | [] | no_license | ntmanh98/CS412_FaceRecognition | 6daf828a3b13df58e938696dd65e1b18a870a7d6 | d950606cf8f3c87c76d921ab23536ce5e7cbc8d3 | refs/heads/master | 2020-11-28T07:11:03.239639 | 2019-12-23T12:13:29 | 2019-12-23T12:13:29 | 229,739,326 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,922 | py | # import the necessary packages
from imutils import paths
import face_recognition
import argparse
import pickle
import cv2
import os
# construct the argument parser and parse the arguments
ap = argparse.ArgumentParser()
ap.add_argument("-i", "--dataset", required=True,
help="path to input directory of faces + images"... | [
"ntmanh@apcs.vn"
] | ntmanh@apcs.vn |
2d99d8804122e7c8df046b88f6106653af79fe46 | 255e51640f17b02966f8331d7c453258162bc4c7 | /xmlparse.py | ded8b99a8d57dbe20a253cb341279f7ab7569360 | [
"MIT"
] | permissive | The7thSin/Python | 0d611f5264f97b9699844515e16c8f6fc9c90010 | 56c34da8367cb470fdfec15e0cf11da497d9d6ee | refs/heads/master | 2020-08-27T12:51:53.455618 | 2019-11-07T08:19:24 | 2019-11-07T08:19:24 | 217,375,228 | 0 | 0 | MIT | 2019-10-24T19:19:47 | 2019-10-24T19:12:16 | null | UTF-8 | Python | false | false | 2,227 | py | import os
import glob
import xml.etree.ElementTree as ET
import re
# Schema for xml temparing
schema = "{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}"
schema_id = "{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}"
# Variables to store the extracted order information... | [
"iam@joromount.com"
] | iam@joromount.com |
7f11324b8a4c892af8d5975d60c9fc7ce761fb81 | 0538c4f9fb1a5277783d95875780d7e0f87d01f5 | /fmbiopy/df.py | 1fee37cd8c0036ba00725c58166431d8467cd047 | [
"MIT"
] | permissive | fennerm/fmbiopy | 3d9ce56433fa092549c6d5465fb89b7f460d0f03 | 09bbfa480c8a13dd2eb3de13417980b9f5a40685 | refs/heads/master | 2021-01-21T03:59:45.907216 | 2018-12-08T21:58:42 | 2018-12-08T21:58:42 | 101,906,261 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,100 | py | """Utilities related to pandas data frames."""
from pandas import merge
def get_colnames(df):
"""Get the column names of a data frame as a list."""
# Faster than using list(df)
return df.columns.get_values().tolist()
def split(df, by, include_by=True):
"""Split a data frame by a grouping column.
... | [
"13209544+fennerm@users.noreply.github.com"
] | 13209544+fennerm@users.noreply.github.com |
96dc1e0a1a3a44c06ce3a7a4d1378de8e542eb0a | d87e0c88a5f0132a5841d9a7b495342ace7a9485 | /metiz/bin/pilconvert.py | 7faf45ad85f0d9d05cf1dd6de241430a075f9930 | [] | no_license | nguyentranlogigear/NguyenSite | c74ce568b983418a564c4ef088be9439dba6e079 | 8012b769dd96bf259e658df7c889909cfe9903ce | refs/heads/master | 2020-06-19T17:29:57.874301 | 2017-10-18T12:52:38 | 2017-10-18T12:52:38 | 196,798,298 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,395 | py | #!/home/trangle/Documents/metiz-django/metiz/bin/python
#
# The Python Imaging Library.
# $Id$
#
# convert image files
#
# History:
# 0.1 96-04-20 fl Created
# 0.2 96-10-04 fl Use draft mode when converting images
# 0.3 96-12-30 fl Optimize output (PNG, JPEG)
# 0.4 97-01-18 fl Made optimize an o... | [
"trangle972501@gmail.com"
] | trangle972501@gmail.com |
a832e56f99806a67b0680a8dda1f2c00bb4e182f | d263a6f40156e5c131ccf727cf2d68519fe85b7e | /Country_Stats.py | dbe712bfbda13dde10721ae41d43fdb6eb1427e3 | [] | no_license | MariosLevi/Wikipedia-Country-Data-Scraper | 9b1b56c724b0b9546ba86086ec472d965c3262d2 | 1aa172b36ccf3b647a69dcc9cd023f48ae8bd1c1 | refs/heads/main | 2023-02-15T19:06:13.003399 | 2020-12-26T05:44:25 | 2020-12-26T05:44:25 | 324,490,048 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,766 | py | import bs4
from urllib.request import urlopen as uReq
from bs4 import BeautifulSoup as soup
country = input("Enter a country: ")
country_cleaned= country.replace(" ", "%20")
my_url = 'https://en.wikipedia.org/wiki/' + country_cleaned
#opening a connection and grabbing a page
uClient = uReq(my_url)
page_ht... | [
"noreply@github.com"
] | noreply@github.com |
38281a3154f48a08fd62183a61dc219034137017 | 724f4b45fe75d3bf37b8a7857b7a5198ebd8080b | /lecture-cut.py | d13a966f0ba8c3936e7587ff622daeea75924068 | [
"MIT"
] | permissive | chrismacdonaldw/lecture-cut | 6d57bf0f94c92c7749c359b1da681b94d0eae263 | 1996d10638816513d2819b2261464b40d1ddb280 | refs/heads/master | 2021-07-16T18:29:29.134378 | 2020-07-09T00:30:21 | 2020-07-09T00:30:21 | 181,226,426 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,484 | py | import subprocess
import os
import argparse
from pydub import AudioSegment
from pydub.silence import detect_silence
def extract_audio():
"""
Extracts audio from video file
Returns:
Returns filename for future use
"""
filename = input("Enter filename: ")
command = "ffmpeg -i " + filen... | [
"31731869+chrismacdonaldw@users.noreply.github.com"
] | 31731869+chrismacdonaldw@users.noreply.github.com |
62e9b1596c432b29ece544f11f4f06ca64a733d7 | bf6e53b21d995b031fdd412f29f56cc50e5d9eab | /week1/百度翻译.py | 76a78a31e766ada83304392bd4a21a08f6544a25 | [] | no_license | lzs1314/pythonWeb | 66fe058b21ebdf4851065355b4d3b4aa30716fe1 | 4b56e385ebc37d39e6ef7e3992d895a7278e1a32 | refs/heads/master | 2022-12-26T13:54:44.485675 | 2019-12-17T06:41:37 | 2019-12-17T06:41:37 | 223,873,256 | 0 | 0 | null | 2022-12-11T14:44:15 | 2019-11-25T06:03:46 | JavaScript | UTF-8 | Python | false | false | 797 | py | import requests
import json
response = requests.get("https://www.baidu.com")
response.encoding = 'utf8'
print(response.text)
print(response.content.decode())
r = requests.get('https://www.baidu.com/img/baidu_resultlogo@2.png')
f = open("baidu.png",'wb')
f.write(r.content)
f.close()
headers = {'User-Agent':'... | [
"liuzhenshuai@iald.cn"
] | liuzhenshuai@iald.cn |
fcd49cb6b8f5ded2b8f85b9775ac15e3483878ad | f51165f5477a991ebfee81ad1dff965e95095a06 | /assets/src/ba_data/python/ba/_appcomponent.py | 0e1f635d2632b3aa72896558d43dfc93a2ec9c5b | [
"MIT"
] | permissive | SZRWorks/SaulSquad | d77d572e5618347a1263a0da8000e16a85f6ed2b | 41c5ea0996c15a4e4bb067ac75241f78b44526a3 | refs/heads/master | 2023-03-01T01:04:35.831799 | 2023-01-23T17:56:59 | 2023-01-23T17:56:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,317 | py | # Released under the MIT License. See LICENSE for details.
#
"""Provides the AppComponent class."""
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar, cast
import _ba
if TYPE_CHECKING:
from typing import Callable, Any
T = TypeVar('T', bound=type)
class AppComponentSubsystem:
"""... | [
"ericfroemling@gmail.com"
] | ericfroemling@gmail.com |
19b184baf44444e5f80ff40ea054542446741721 | d93f1cffe8f28868f89545703e5cacb16a95a52c | /DMD/HW9/dbms.py | 56ddcffaf3235b4c1feda5af1314c9f7e7888e00 | [
"MIT"
] | permissive | abcdw/inno | ab98b4d108daa4817080f028591b93335f67be32 | 91cfa1b2dac74f2015d69ed8df425ab8f2e5c4f2 | refs/heads/master | 2021-01-17T14:40:00.729707 | 2016-03-31T08:04:50 | 2016-03-31T08:04:50 | 40,948,378 | 4 | 2 | null | null | null | null | UTF-8 | Python | false | false | 4,845 | py | # -*- coding: utf-8 -*-
import sys
import random
class Student:
def __init__(self, record):
self.record = record
def __str__(self):
ret = ''
for field, spec in zip(self.record, self.scheme):
assert spec[1] >= len(field)
ret += (self.empty_char * (spec[1] - len(f... | [
"andrewtropin@gmail.com"
] | andrewtropin@gmail.com |
738697a559a89ffa078bf1099e7030e8fbce4150 | bb948b8a50775f841d19c7d31e80f49049d61892 | /HeartPy-Lambda/bin/f2py3 | 015a6b5f30c44294e239f397c77cd46c949770fe | [
"MIT"
] | permissive | altaga/EHM-Electrocardiography-Holter-Monitor | 8c14cf01d4f1dde24b9927921115749228c1a628 | dd103fdbe0ea4ec18f1ba7a92801c64a962204da | refs/heads/main | 2023-04-23T02:43:09.141232 | 2021-05-06T22:56:40 | 2021-05-06T22:56:40 | 321,284,879 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 233 | #!/home/altaga/anaconda3/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from numpy.f2py.f2py2e import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"v.a.i@hotmail.com"
] | v.a.i@hotmail.com | |
b8e203e01540e54a5eb905ab572872faa275fd8f | f0a53b058b5384b6a788b934c5970512e8911af5 | /src/models/stores/views.py | bff32a69105101596efe56fa05c929a48bcaaa0d | [] | no_license | McMad4it/Udemy_ChairAlert | 0f67b27a0f400ccfc45da40246e8517e8281ea20 | 13923e43c1bc1129030d95d44b51c4cb1281097f | refs/heads/master | 2021-08-10T12:01:42.346913 | 2017-11-12T14:26:14 | 2017-11-12T14:26:14 | 109,399,435 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,935 | py | import json
import src.models.users.decorators as user_decorators
from werkzeug.utils import redirect
from src.models.stores.store import Store
from flask import Blueprint, render_template, request, url_for
__author__ = 'neil'
store_blueprint = Blueprint('stores', __name__)
@store_blueprint.route('/')
def index():
... | [
"neilscott1984@msn.com"
] | neilscott1984@msn.com |
fa4f26df92c0baafb6feae7c4afb0fec999e3c58 | 782635313cf20e03e17879655e9e2b8af1759cfb | /81.py | 289c225170d8ce10ee3eca7de788c0300f435d44 | [] | no_license | Clement5789/P5 | b896190fecc733b092cbd98f49d29b0f611f4f1e | b373a032b82a1fc48f8571a5c2bf849c6a0f0ddc | refs/heads/main | 2023-09-03T02:48:16.247789 | 2021-11-15T08:47:46 | 2021-11-15T08:47:46 | 425,742,400 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 94 | py | def somme(t):
n = len(t)
s = 0
for i in range(n):
s=s+t[i]
return s/n | [
"noreply@github.com"
] | noreply@github.com |
011770c28e6ac0c04cf5ea09655eab4689405eaa | a56a74b362b9263289aad96098bd0f7d798570a2 | /venv/lib/python3.8/site-packages/notebook/tests/selenium/test_dualmode_execute.py | 08bc3346fddc2f4521efbbc0c72d1e4531452203 | [
"MIT"
] | permissive | yoonkt200/ml-theory-python | 5812d06841d30e1068f6592b5730a40e87801313 | 7643136230fd4f291b6e3dbf9fa562c3737901a2 | refs/heads/master | 2022-12-21T14:53:21.624453 | 2021-02-02T09:33:07 | 2021-02-02T09:33:07 | 132,319,537 | 13 | 14 | MIT | 2022-12-19T17:23:57 | 2018-05-06T08:17:45 | Python | UTF-8 | Python | false | false | 2,694 | py | ''' Test keyboard invoked execution '''
from selenium.webdriver.common.keys import Keys
from .utils import shift, cmdtrl, alt, validate_dualmode_state
INITIAL_CELLS = ['', 'print("a")', 'print("b")', 'print("c")']
def test_dualmode_execute(prefill_notebook):
notebook = prefill_notebook(INITIAL_CELLS)
for i ... | [
"kitae.yoon@deliveryhero.co.kr"
] | kitae.yoon@deliveryhero.co.kr |
16545cbf84223018e486406b97a7071dffcec2a6 | dd87194dee537c2291cf0c0de809e2b1bf81b5b2 | /k8sclient/models/v1_scale_status.py | 0ad5ae7fc74e946404ba2ecfdf3f25f3561fff6e | [
"Apache-2.0"
] | permissive | Arvinhub/client-python | 3ea52640ab02e4bf5677d0fd54fdb4503ecb7768 | d67df30f635231d68dc4c20b9b7e234c616c1e6a | refs/heads/master | 2023-08-31T03:25:57.823810 | 2016-11-02T22:44:36 | 2016-11-02T22:44:36 | 73,865,578 | 1 | 0 | Apache-2.0 | 2018-10-10T12:16:45 | 2016-11-15T23:47:17 | Python | UTF-8 | Python | false | false | 4,907 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: unversioned
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "Licens... | [
"mehdy@google.com"
] | mehdy@google.com |
a0c7c6e5f154d0c24732a96cd6953001f48d386c | fbe35550eaacd366c0a3d098fdddcde15bf3b8ec | /foodiboo_api/blueprints/sessions/views.py | e4c7b5a0d1c94e97af32a9ac40d5a8d1e2be4bc7 | [] | no_license | chriz218/foodiboo-backend | 7b15106ca6a922dc730c15388e3311f76aee0d4b | 6374357ba8cb8082dc7b39a1d22fce3536cd6fff | refs/heads/master | 2022-12-14T06:03:37.468034 | 2020-02-18T07:46:40 | 2020-02-18T07:46:40 | 238,411,105 | 0 | 0 | null | 2022-12-08T01:51:07 | 2020-02-05T09:20:22 | Python | UTF-8 | Python | false | false | 2,529 | py | from app import app
from flask import Blueprint, Flask, request, json, jsonify
from werkzeug.security import generate_password_hash # This function allows one to hash a password
from models.user import User
from models.food import Food
from models.review import Review
from models.tag import Tag
from flask_login import... | [
"christhong123@gmail.com"
] | christhong123@gmail.com |
47fb603f7785e3e485b4f753d05b6c8f6defa0cf | af52570a1fc2fa593d4c463ae02e72ffd0c4a39f | /05_basic_scripts/task_5_1d(ready).py | 37f57d4473818871066403936fe769e3aaff25e6 | [] | no_license | teXetEAS/training-course | 7ceb2a66f48d38b47bc53ce901b8e78c8ae73560 | adb134c74b85d154ffb4af9807af4b3092eb14bd | refs/heads/master | 2022-09-03T11:19:37.936758 | 2020-05-17T08:55:38 | 2020-05-17T08:55:38 | 258,777,962 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,541 | py | # -*- coding: utf-8 -*-
'''
Задание 5.1d
Переделать скрипт из задания 5.1c таким образом, чтобы, при запросе параметра,
пользователь мог вводить название параметра в любом регистре.
Пример выполнения скрипта:
$ python task_5_2d.py
Введите имя устройства: r1
Введите имя параметра (ios, model, vendor, location, ip): IOS
... | [
"texet1993texet@yandex.ru"
] | texet1993texet@yandex.ru |
de552a40545c362709679d788bee3449231ea62a | b3f1e049d7ac9abe553b92593a2398f35a898972 | /similaritycalculation/similaritycalculation.py | 3c4c50c269f0fdc11a4c77afce3faf8c5dc66876 | [
"MIT"
] | permissive | HenFo/Geosoftware-II-AALLH | c8633cdc7d76282d5acf60c46daffae1bfaa7c8a | 5298e583884e86d8382761cb4df4b16286dfe183 | refs/heads/master | 2023-05-30T12:47:59.114030 | 2019-01-30T15:00:51 | 2019-01-30T15:00:51 | 154,464,035 | 0 | 12 | MIT | 2023-05-01T20:32:44 | 2018-10-24T08:16:23 | Python | UTF-8 | Python | false | false | 9,402 | py | import logging
import os
import sqlite3
from math import floor
from pycsw.core import timeSimilarity as ts
from pycsw.core import spatialSimilarity as sps
from pycsw.core import generalSimilarity as gs
LOGGER = logging.getLogger(__name__)
def similaritycalculation(id1):
'''
Main function of the similarity c... | [
"a_tand01@uni-muenster.de"
] | a_tand01@uni-muenster.de |
a81f8915ba5456a33beaecb4ea44265146b6e32f | 0c67c953e64737abf25d515ae8ebe2a3cfdc3fd5 | /Pipeline/preprocess.py | 56256988fa10128c5159b0c7e34b11f2e8b59c63 | [] | no_license | NickHMC/LANL_2019_Clinic | e43048a57b3f2ea6832032ab87a22f82020b9835 | 754ceb7dff4444038782cdeb3fb0403778450e2c | refs/heads/master | 2020-07-21T11:40:42.554265 | 2020-05-08T22:25:07 | 2020-05-08T22:25:07 | 206,852,560 | 1 | 4 | null | 2020-05-12T06:05:48 | 2019-09-06T18:30:18 | Python | UTF-8 | Python | false | false | 1,732 | py | #!/usr/bin/env python3
# coding:utf-8
"""
Author: LANL Clinic 2019 --<lanl19@cs.hmc.edu>
Purpose: Process a set of .dig files
Created: 04/28/20
Routines to act prior to running pipelines
"""
from ProcessingAlgorithms.preprocess.digfile import DigFile
from ProcessingAlgorithms.preprocess.fiducials import Fid... | [
"saeta@hmc.edu"
] | saeta@hmc.edu |
b769da4fde64db30f89bd244db93a6012528c650 | b8630509b97621ddc3bbeaef8d1cd54ff77b3dde | /myvenv/lib/python3.5/site-packages/setuptools/command/sdist.py | d37c1e1dc8dc0bc7093e506186a3f9068bed2903 | [] | no_license | ChibaUnppluged/BandMaker-ogi | c4080204d63495fed42e26306663e06df8ffb373 | 68a4a6eceb3f385b97afe8741fc538216800f893 | refs/heads/master | 2021-01-01T04:29:28.436614 | 2017-10-20T16:30:00 | 2017-10-20T16:30:00 | 97,184,844 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,065 | py | # coding:utf-8
from glob import glob
from distutils import log
import distutils.command.sdist as orig
import os
import sys
import io
from setuptools.extern import six
from setuptools.utils import cs_path_exists
import pkg_resources
READMES = 'README', 'README.rst', 'README.txt'
_default_revctrl = list
def walk_re... | [
"pochi.0226.ogi@gmail.com"
] | pochi.0226.ogi@gmail.com |
7e1dce8ba9afeef64c45a65b4492563e0dfc704f | b8c4046bee23d64a13d3a7bfec689c6418c7f4dc | /metarepo/commands/list_cmd.py | c55586b759288a579efd171f2a1413c5b515d23f | [] | no_license | borysbabii/git-metarepo | 1087655b331944ae6dc11bcd75424778ccaf3b7f | 1682f21a87dd18457baee0b95fc8f0f6773e86e9 | refs/heads/master | 2023-07-12T22:56:37.788217 | 2020-09-17T19:09:41 | 2020-09-17T19:09:41 | 401,677,390 | 0 | 0 | null | 2021-08-31T20:36:59 | 2021-08-31T11:25:54 | null | UTF-8 | Python | false | false | 427 | py | """List repositories command"""
import click
from metarepo import ui
from metarepo.cli_decorators import require_manifest
@click.command(name="list")
@require_manifest
def list_repos(manifest, _):
"""List all configured repositories"""
repos = manifest.get_repos()
ui.info(f"Listing {len(repos)} configure... | [
"jim@nurd.se"
] | jim@nurd.se |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.