blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 281 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 6 116 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 313
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 18.2k 668M ⌀ | star_events_count int64 0 102k | fork_events_count int64 0 38.2k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 107
values | src_encoding stringclasses 20
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 4 6.02M | extension stringclasses 78
values | content stringlengths 2 6.02M | authors listlengths 1 1 | author stringlengths 0 175 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bc64cafa540afe7d0974313414e6405d4e827997 | b252c9dc69946c153e0b30595675ac1704fac6b3 | /mitsuba/operators/__init__.py | 52be33fb414462dfbcf44f7650cc067a676f3437 | [] | no_license | mcrescas/BlenderExporterM1 | d2a9e86b7f23b72ad1c32187101907acd9e817be | 65c93c42355b1a9af94766d2c256cee486586c97 | refs/heads/master | 2023-01-03T07:51:27.533508 | 2020-10-21T17:44:24 | 2020-10-21T17:44:24 | 306,099,429 | 6 | 1 | null | null | null | null | UTF-8 | Python | false | false | 23,831 | py | # ##### BEGIN GPL LICENSE BLOCK #####
#
# 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 2
# of the License, or (at your option) any later version.
#
# This program is distrib... | [
"mcrescas@gmail.com"
] | mcrescas@gmail.com |
3334657705d3e06d721c07f1692f621f47e03800 | e6193d278656d95d3ebd1eb0571b0ec7819e4713 | /venv/Scripts/pip-script.py | 871502d6fb727744287e25e4f55132b247d554a7 | [] | no_license | Mariaviktoria/WEco_Rules | 484c3e2bbb08597e912f0f8ea7169d6ac92bfdee | c4b8d9b2e9733038492bf8e9b47cc31033c8da38 | refs/heads/master | 2020-12-02T23:54:38.562139 | 2019-12-31T23:33:56 | 2019-12-31T23:33:56 | 231,156,409 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 422 | py | #!C:\Users\14152\PycharmProjects\GEco_data_analysis\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip'
__requires__ = 'pip==19.0.3'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '',... | [
"mariaviktoria@protonmail.com"
] | mariaviktoria@protonmail.com |
1d701f6ec8a51f9267c104cae206cd63a9a418dd | 308dbe988649bf2bdc21e65ea1546165675bd6f1 | /bin/showstopwatch | c0cb01983c0526161a695ec4ee2dbc648fd5a4b4 | [] | no_license | julie777/user_environment | 0ca424f8bf2bccc16959ef28821b34841232ca6d | 746c4516eaa1b801cb2f052969bc39c0737a460c | refs/heads/master | 2021-01-19T06:53:29.415289 | 2015-12-30T19:26:31 | 2015-12-30T19:26:31 | 42,820,337 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 195 | #!/usr/bin/python
import sys
import pickle
info = pickle.load(open(sys.argv[1]))
bytime = [(t, n) for (n, t) in info.items()]
bytime.sort()
for t, n in bytime:
print '%6.2f %s' % (t, n)
| [
"julie.jones@movenetworks.com"
] | julie.jones@movenetworks.com | |
d3e870194e1dcf7d3ff7420e48388f11616454ff | 6b500ff5aaad1219b297feaf911ae0b5eb7b405f | /hello.py | d41d4003759bc47eadd19ed2bf85be6e617bf8db | [] | no_license | logicba/pythonFunction | 7b49171cc03736f65535b48bacb90fc2a93352f0 | 7e3da16d112ca47d576a74bbe51b346b556e75cf | refs/heads/master | 2022-04-16T10:44:29.663257 | 2020-04-14T02:48:35 | 2020-04-14T02:48:35 | 255,491,232 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 438 | py | # buil function without return
def hello(name):
print("Hello %s" %name)
# hello("ddd")
# build function with return value
def areas(width, height):
return width*height
# print(areas(10, 30))
def area_circle(pir = 10):
return pir**2
# print(area_circle(2))
def showinfor(name, salary=0.00, lang="not ... | [
"thanachot.p@attg.co.th"
] | thanachot.p@attg.co.th |
39fa71b52214a84429c1e12d21c534e2b0f13a00 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/102/usersdata/195/49999/submittedfiles/av1_2.py | aa7d3b44f7edf2b0de15cd659ec5a4cc9d377f3f | [] | no_license | rafaelperazzo/programacao-web | 95643423a35c44613b0f64bed05bd34780fe2436 | 170dd5440afb9ee68a973f3de13a99aa4c735d79 | refs/heads/master | 2021-01-12T14:06:25.773146 | 2017-12-22T16:05:45 | 2017-12-22T16:05:45 | 69,566,344 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | # -*- coding: utf-8 -*-
import math
a=int(input('digite a :'))
b=int(input('digte b:'))
c=int(input('digite c:'))
d=int(input('digite d:'))
if a!=b and a==c and a!=d:
print(V)
else:
print(F)
| [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
7d46ff4f65c01ff16a50ee846e634582f88c90c5 | bd2332a4c1474978c9a803c828f3f98c56aefbea | /RosalindBioinfoStronghold/TranlateRNAIntoProtein.py | a7a6a42f76ad36b3f08b8fa31aacbfd3b9068ce0 | [] | no_license | mBiocoder/Rosalind-Solutions | 48cba21c72e10e0b9efd2073c35ed470f58ad406 | 04d5dfd1385ca09087352e2e4141ac0a27972698 | refs/heads/main | 2023-07-16T16:13:07.671792 | 2021-08-23T09:40:23 | 2021-08-23T09:40:23 | 394,922,398 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,002 | py | #!/usr/python
import sys
#Variante 1:
with open(sys.argv[1], "r") as f:
mRNA = f.read()
#Variante 2:
#mRNA = input("Enter your mRNA string here: ")
"""
In case -not needed for this exercise though-here is the code to build the anticodon of a given MRNA string
anticodon = ''
for base in mRNA:
... | [
"noreply@github.com"
] | noreply@github.com |
aa9043d32112f48f44454ef11cc5e8715ec14cc7 | f320d83c1b6f4854cb808a17a2dbb8827051636e | /setfreq/ParaSetTest.py | d9afb304b9f8f27e4bf782ec4f1758761566c8d9 | [] | no_license | JiahuiSun/Digital-Signal-Analyzer-based-on-SDR | f5214f2b2b36d4a24896f7d0c4a712979c236fd0 | 1e57dbb9cfcec7c0cb0a3f2335f3e68ecd2694d6 | refs/heads/master | 2020-04-04T19:50:16.131461 | 2018-11-06T12:51:42 | 2018-11-06T12:51:42 | 156,222,484 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 179 | py | import ParaSetCliSock
import time
f1 = 1500
f2 = 1600
##while True:
ParaSetCliSock.set_param('rx_freq',f1)
##time.sleep(5)
ParaSetCliSock.set_param('tx_freq',f2)
##time.sleep(5)
| [
"you@example.com"
] | you@example.com |
03d09fcae43eb5603464e2b51b3482b57423255c | d7c11c731fd22b68f41d509777c077650748aaed | /simulate_edit_scores.py | bf549df57b52eee78e86c2ed3c564b468f696c70 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | chris-klinger/Rediting | 7dde49c821ac41eab6215715f37cb1f66292e966 | 3887c3107973879c0bbdbaa8a562d1a9e75b76de | refs/heads/master | 2020-12-25T22:06:48.834167 | 2016-11-13T14:47:19 | 2016-11-13T14:47:19 | 26,454,813 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 11,355 | py | #!/usr/bin/env python
import os
import re
import sys
import argparse
import subprocess
import scipy.stats as st
from rediting.classes import classes
from rediting.util import files, sequence, strings, rmath
parser = argparse.ArgumentParser(
description = """Simulates an equivalent number of edits with similar
... | [
"cklinger@ualberta.ca"
] | cklinger@ualberta.ca |
9a8e84ef6d87a09c15df0221f95c9ccc202aa040 | f8a58ae93ff78c59296a136dff721c5ef666790b | /Starting small/Sorting a list using the sort- method.py | 4d32bda30c9c7681623df56368518f88d0b25c23 | [] | no_license | Anthonymcqueen21/Python-Programs | cb116b36e3c774ef51dba7f1fd29561767f89c7f | 127d5cbab4e7a2d0009d65075508cbaf5a6b6dc2 | refs/heads/master | 2021-06-26T18:03:30.212592 | 2017-09-15T19:59:21 | 2017-09-15T19:59:21 | 79,636,950 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 84 | py | cars = ['Ford', 'Subaru', 'Mitsubishi', 'Nissan', 'Pontiac]
cars.sort()
print(cars)
| [
"noreply@github.com"
] | noreply@github.com |
343a5cf32be317bf0f4477729ccad331859d452b | 337ecb5a9ee4dd749f68e6a4390aa2d45f75fc29 | /src/message/sv_ack.py | 5d39c34a9e385560c603984ca6205404fd5da5b1 | [
"MIT"
] | permissive | the40san/unity_survival_shooter_multi_server_python | 63ced2bddf643b4ec0d8795d73927c8b6ccbb1ff | d20d9aa2204bca70d0787acbfe395277b776e92d | refs/heads/master | 2021-01-19T07:09:44.405314 | 2017-04-10T01:21:39 | 2017-04-10T01:21:39 | 87,527,240 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 474 | py | from message.sv_response_base import SvResponseBase
from server_resource.resource_manager import ResourceManager
import struct
class SvAck(SvResponseBase):
def __init__(self, cl_request):
super(SvAck, self).__init__(cl_request)
self.message_id = 200
def payload(self):
new_message_id = ... | [
"masashi.akisue@aktsk.jp"
] | masashi.akisue@aktsk.jp |
7546a20356c2789dccaf42259731b41a8703b419 | 34a6d88518edb4eedc3d6cbaae1bca5894be2c6b | /Tester/generateTestCases.py | 81ffcbd076b65709cdb8529aed0defe04dbc47f2 | [] | no_license | DivyanshRoy/CryptographyProject | 60178bbf4fc778df12966f0360c660045840676f | 511b7259975c425a1f03fa5aaa95a43e75e9b706 | refs/heads/master | 2021-06-21T23:30:29.031857 | 2020-04-26T22:16:55 | 2020-04-26T22:16:55 | 254,508,536 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,317 | py | from EllipticCurveArithmetic import EllipticCurveArithmetic
from EllipticCurveCryptography import EllipticCurveCryptography
from Helper import Helper
from Key import Key
from Point import Point
import random
import string
'''
generateReferencePoint: Generate Base point for elliptic curve
Input:-
curvePoints: List o... | [
"noreply@github.com"
] | noreply@github.com |
6a6ff552bf855e00538bea1b05ce78d1dd65218e | 5e779c83b9f83dbff43c74019c5b1be6acd516e5 | /pages/migrations/0003_auto_20180224_0755.py | cd94863a8490c8fc84c7fdbe1b0ad3583d441ecd | [] | no_license | treetrnk/webauthor_django | 5f9ab43b314bd25cc4104f9716e12b9b75277475 | 6352f141bb9af171082d97532a3b32d5820f3e55 | refs/heads/master | 2021-04-29T12:26:44.812170 | 2019-03-29T01:22:09 | 2019-03-29T01:22:09 | 121,729,210 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 375 | py | # Generated by Django 2.0.2 on 2018-02-24 07:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pages', '0002_auto_20180223_1212'),
]
operations = [
migrations.AlterField(
model_name='page',
name='pub_date',
... | [
"nhare330@gmail.com"
] | nhare330@gmail.com |
f7879553b2343e52e7de9b9e85892b6ed0d2c3dc | b8d7b895e567910f7bf52dd81e461b0213e198de | /snapupTK.py | 054716d14b290bdddd23d77e942a13324a9b7114 | [] | no_license | Frelofee/wystock | 33069db6d90b7813fa40bc2aaec40643cff54549 | cfd4cc04e5e2fb3eae17c7f15b1c2b900f721796 | refs/heads/master | 2023-05-01T15:29:42.003416 | 2021-05-18T09:49:07 | 2021-05-18T09:49:07 | 344,992,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,473 | py | # 王琰的python编写
# 开发时间:2021/4/12 16:14
import time
from selenium import webdriver
import lxml
import re
driver = "C:/Program Files (x86)/Microsoft/Edge/Application/msedgedriver.exe"
Edge_driver = webdriver.Edge(driver)
url = "https://www.damai.cn/"
Edge_driver.get(url)
# 登入
Login_1 = Edge_driver.find_element_by_class... | [
"631538973@qq.com"
] | 631538973@qq.com |
648b2e6c3dc5712efb98a8d34c48b62e580708ca | d31c124efc456c781d3e5832d8dfcb8efbb5fcbb | /masakariclient/client.py | 586b2f84475981e1dd76c57c96c2c73ce9da18dc | [
"Apache-2.0"
] | permissive | suichangyin/python-masakariclient | e72de83e924ca978aa3df97c93306229a17628b5 | 5514d903242845f4b6cd84653382564ee3a9dc42 | refs/heads/master | 2022-04-18T17:43:27.369556 | 2020-04-20T07:54:35 | 2020-04-20T07:54:35 | 257,209,456 | 0 | 0 | Apache-2.0 | 2020-04-20T07:51:25 | 2020-04-20T07:51:24 | null | UTF-8 | Python | false | false | 989 | py | # Copyright(c) 2016 Nippon Telegraph and Telephone Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applic... | [
"niwa.keiji.z03@as.ntts.co.jp"
] | niwa.keiji.z03@as.ntts.co.jp |
41f54ace33988f97cd6e5b3c7c9897efb3926563 | 944579fcd43497677fd825591d8a9c20cfb4a185 | /anjasite/settings.py | 50fa9ad96d722ce12de73a8b58d3293a55b5d0a9 | [] | no_license | anjatianarado/myblog | cc1130712ceef4e46e18d8117baad8721fe8f148 | 462c9224984a86f0e847f20d57940e64bb245489 | refs/heads/master | 2020-04-11T18:28:02.261313 | 2018-12-16T12:45:01 | 2018-12-16T12:45:01 | 161,999,893 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,225 | py | """
Django settings for anjasite project.
Generated by 'django-admin startproject' using Django 1.11.17.
For more information on this file, see
https://docs.djangoproject.com/en/1.11/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.11/ref/settings/
"""
import ... | [
"anjatianarado@gmail.com"
] | anjatianarado@gmail.com |
21ba385027206fad2d73ea56835fda8d207a2dc7 | 476ed411c7b17cac10d8dedc99fd2c36d14e5702 | /apps/contact/views.py | 947dafbc031411957e3337e741469e3566b6213f | [] | no_license | Vivekpattankude/Project_Jnv | 9c3d2cdc5b4fb91b05556a453e6ebf585618ebf7 | c1cbf2550bf27b95eaffd6bd51cd939e1e0e13f4 | refs/heads/master | 2023-03-03T15:45:34.669087 | 2021-02-17T08:07:41 | 2021-02-17T08:07:41 | 339,646,645 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 401 | py | from rest_framework import generics
from .models import Contact
from .serializers import ContactSerializer
# Create your views here.
class ContactList(generics.ListCreateAPIView):
queryset = Contact.objects.all()
serializer_class = ContactSerializer
class ContactDetail(generics.RetrieveUpdateDestroyAPIView):
... | [
"vivekpattankude@gmail.com"
] | vivekpattankude@gmail.com |
7353cb15ce073419ade56921dc175ee05176cc34 | 888378b21317788fb9498421078e363f8f88ae17 | /Regression.py | 90a20a3536897b4e6bfa10aaedcc172a3d8f31b7 | [] | no_license | SSP20SCM33S/Machine-Learning | 97f0c66bfb6b4eb2f3cbba97dc49b09f66103404 | f6c400dbada216648483b0faea444688e4524a04 | refs/heads/master | 2022-12-27T02:25:45.655082 | 2020-09-27T21:36:23 | 2020-09-27T21:36:23 | 299,122,517 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,655 | py | #!/usr/bin/env python
# coding: utf-8
# In[28]:
import pandas as pd
import numpy as np
import math as mh
import matplotlib.pyplot as plt
from sklearn.linear_model import LinearRegression
def plot_data(x, y):
plt.scatter(x, y)
plt.show()
def find_par(x, y):
p0 = 0
p1 = 0
avg_tr_err =... | [
"noreply@github.com"
] | noreply@github.com |
0dc26461ca8e3faa6cc601c2dede0311b213a0b3 | ff8c6beadc2e6dc8e0a27d7978d4589044033142 | /mypro/Task_manager/migrations/0007_auto_20180627_1206.py | d7d60257e2c552da7b645a96a588459adc5b8af8 | [] | no_license | parameswaranxyz/Taskmanager | 472f4f96a9b473ceefead7fcba8613e1d6a5afd0 | 94fdcc7a059e1e45c085faab768725e8b1a50a94 | refs/heads/master | 2020-03-21T15:11:58.249279 | 2018-06-29T11:20:00 | 2018-06-29T11:20:00 | 138,699,251 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 518 | py | # Generated by Django 2.0.6 on 2018-06-27 12:06
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('Task_manager', '0006_auto_20180627_1203'),
]
operations = [
migrations.AlterField(
model_name='... | [
"parameswaranxyz@gmail.com"
] | parameswaranxyz@gmail.com |
6ce8e7211c4679b21cf0aa327022f58a3a705be5 | 0cbe142fce9aa0933a0c42d656fdad79d8c6b587 | /funções/unpacking_nomeado.py | 52097b073bd86348dc3fd4fc43b73db0eb6b9fc0 | [] | no_license | JoaoMWatson/udemyPython | ff54b8dd098461a410c6eb362245f1d3596cce37 | 6f13fa8b40e91042913b5859a4e90c8af58d792b | refs/heads/master | 2022-12-11T08:36:53.967599 | 2020-07-07T19:53:47 | 2020-07-07T19:53:47 | 184,157,594 | 1 | 0 | null | 2022-12-08T03:20:54 | 2019-04-29T23:20:17 | Python | UTF-8 | Python | false | false | 369 | py | # **kwargs (argumento nomeados)
# Retorna um dicionario
def resultado_f1(primeiro, segundo, terceiro):
print(f'1) {primeiro}')
print(f'2) {segundo}')
print(f'3) {terceiro}')
if __name__ == "__main__":
podium = {'primeiro': 'L.Hamiltom',
'segundo': 'M. Verstappen',
'te... | [
"joaopedrowatson@hotmail.com"
] | joaopedrowatson@hotmail.com |
af021dc3b16f238ccfc0695ba36ec85629fede58 | 552f65e2be6b26ee9afcfb1e3082119a9e84613b | /laminar_uecog_viz/plot_trials.py | e0a9a724ad2a418418a41524ea0329b82165925d | [] | no_license | izzy-baldacci/laminar_uecog_viz | 6acbb515193f43362b44d89afe700358d673bc76 | 12805ab504ceed534a096c246c2750542fd9ae1e | refs/heads/main | 2023-08-17T05:24:29.970258 | 2021-09-28T19:55:04 | 2021-09-28T19:55:04 | 372,962,241 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,568 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Sep 17 14:31:36 2021
@author: vanessagutierrez
"""
import numpy as np
import matplotlib.pyplot as plt
from laminar_uecog_viz import utils
def plot_trials(trials_dict, fs, channel, stream, fig = None, ax = None, labels = True):
'''
Plot data t... | [
"vanessagutierrez@Vanessas-MBP-2.attlocal.net"
] | vanessagutierrez@Vanessas-MBP-2.attlocal.net |
cebad1c6a0121db1ae0ef8d8ab46cc51667f8fe5 | 717772b5966e69a2e399f0761a4700117e63f220 | /py/prog3-14.py | d241c5652bc509432143d64f7cb94a461b0d31c8 | [] | no_license | ppbook/Introduction_Chapter3 | 148623ad0ad386f6bdf76f8a02ac4e28ee4ecf6b | e49cbf452aecc33da601020f0b25d09f00c31e1a | refs/heads/main | 2023-06-07T09:52:06.827964 | 2021-06-28T10:23:50 | 2021-06-28T10:23:50 | 342,768,883 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,534 | py | # -*- coding: utf-8 -*-
"""prog3-14.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/1AfgzyJIlo40t0Ak6PdQAD6uqRRQaWr4P
"""
from google.colab import files
files.upload() # kaggle.jsonをアップロード
!mkdir -p ~/.kaggle
!mv kaggle.json ~/.kaggle/
!chmod 600... | [
"sayonari@gmail.com"
] | sayonari@gmail.com |
4d5ea0573f752d71751f6d8611db7e239774bfc2 | ea5a801283e5c8dd822d755aa8824e9fd17c9ecf | /nomuraholdings/spiders/nomura.py | 9dde6136aea2930291b6ca2abd5eacd2b258ca05 | [] | no_license | daniel-kanchev/nomuraholdings | 3a5c98c2540fac135346267504eedd8bc8375ee1 | 4cf5faeeba53cf1122b1efe7698bac71af21b8fb | refs/heads/main | 2023-03-03T14:54:43.454865 | 2021-02-11T07:33:46 | 2021-02-11T07:33:46 | 337,959,237 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,595 | py | import scrapy
from scrapy.loader import ItemLoader
from itemloaders.processors import TakeFirst
from datetime import datetime
from nomuraholdings.items import Article
class NomuraSpider(scrapy.Spider):
name = 'nomura'
start_urls = ['https://www.nomuraholdings.com/news/nr/index.html']
def parse(self, resp... | [
"daniel.kanchev@adata.pro"
] | daniel.kanchev@adata.pro |
9e409e7964420392a68e1c38a9dd6609f90b2ddc | 1a070da46f6d8d5981ffe31ffb091280e165258d | /libguide_spiders/uiuc_library/pipelines.py | f46aee025afa7ba6786e5fffb41ae96d1db836d0 | [] | no_license | harootune/libguide_tools | 279b804ac296974f3c7da7dd4cd17b8feffc45c1 | 88ec821385f84d077dc14297c8bbe369c51e9a5d | refs/heads/master | 2022-11-11T20:53:07.590319 | 2020-07-05T20:14:58 | 2020-07-05T20:14:58 | 275,459,253 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,964 | py | # -*- coding: utf-8 -*-
# Define your item pipelines here
#
# Don't forget to add your pipeline to the ITEM_PIPELINES setting
# See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html
# stdlib
import csv
import datetime
from pathlib import Path
# third_party
from scrapy.item import Item
from scrapy.exporter... | [
"dhotis2@illinois.edu"
] | dhotis2@illinois.edu |
6cf93c00ab4fa724d6ba734a936d3ff553a95395 | 6e3f97742562ff3cdf9372f54320c78e5c72fe97 | /apps/partidos/serializers.py | 984cd9ae22ba0f32acb4b3a184c75e363f0e068c | [] | no_license | desarrollosimagos/exit_poll | 6892e9ad504691fa44eb5b599881c7fb044b260d | e4572e2b222cf6b5de8a221ac300ccb0062f8e41 | refs/heads/master | 2021-01-01T16:36:31.726898 | 2017-07-20T18:52:30 | 2017-07-20T18:52:30 | 97,868,339 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 500 | py | from rest_framework import serializers
from .models import Partidos
class PartidosSerializer(serializers.ModelSerializer):
"""
Clase donde llamamos al modelo `Partidos` y serializamos los campos
"""
class Meta:
model = Partidos
fields = ('id', 'n_partidos','siglas','foto_partido','... | [
"ing.omar.orozco@gmail.com"
] | ing.omar.orozco@gmail.com |
14508270be8b07d9b3b288f9927ed3de53e03151 | cf89dc96a0d9d961fa79b4816a84ede2985cee52 | /python-docker/flask-app/web/app.py | 475dc9fb22c837a607c938e8aead495c2b679f7b | [] | no_license | roncat/hellodocker | 274517abd8ed6f1be7b8d3477dada10451abadc8 | ebb26347b343b6b0379cc9e299ad9c40bfb1ae06 | refs/heads/master | 2021-01-13T02:55:12.030435 | 2017-03-21T17:56:08 | 2017-03-21T17:56:08 | 77,089,306 | 1 | 0 | null | 2017-03-15T02:47:13 | 2016-12-21T22:02:47 | Java | UTF-8 | Python | false | false | 195 | py | from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello Docker from Python Flask!'
if __name__ == '__main__':
app.run(debug=True,host='0.0.0.0')
| [
"flavioroncat@gmail.com"
] | flavioroncat@gmail.com |
9a0ed4e583cf6f63e2550c716b8fe843cd8d2a03 | c807ab961d0dea5eb3936547e843673247639a07 | /Personel/Akshay/python/Assingment_3/5.Fibo.py | c1e0e835b3f953dfd11396f3704f269525408b70 | [] | no_license | shankar7791/MI-11-DevOps | dbac94ca1fb4627ae44658701bcddcd22c65a3d4 | 63a0a65b05192439575ed2c47a6c3d33c5be87d2 | refs/heads/main | 2023-07-12T20:33:30.121801 | 2021-08-13T03:01:17 | 2021-08-13T03:01:17 | 355,145,424 | 0 | 4 | null | 2021-08-12T19:31:44 | 2021-04-06T10:19:10 | Python | UTF-8 | Python | false | false | 49 | py | x,y=0,1
while y<50:
print(y)
x,y = y,x+y | [
"akshay.patil5596@gmail.com"
] | akshay.patil5596@gmail.com |
9ac7df980aa5f2f9bc537875df269a5a1c0c169b | a6a1ff3efe146a6c2abd7e84f0cba877fb16650a | /app.py | 46356370d1938af6ff9ce74601aecde20497d0be | [] | no_license | spakry/employeePayroll | f589f559c587defccef8bd6ef3ecc9dd3ad27e21 | 0cf81aaac2cf7b8eb14905af856b37a8fc052195 | refs/heads/master | 2022-11-08T09:27:56.937675 | 2020-06-28T21:43:09 | 2020-06-28T21:43:09 | 275,672,824 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,247 | py | from flask import Flask
import sqlite3
import json
from flask import request
from DatabaseRepository import DatabaseRepository
from WorkCalendar import WorkCalendar
from PaymentPeriod import PaymentPeriod
from WorkDay import WorkDay
import io
import csv
from datetime import datetime
app = Flask(__name__)
def store... | [
"40432723+spakry@users.noreply.github.com"
] | 40432723+spakry@users.noreply.github.com |
bf9bd6b8d4d81f299167286514c29bd5147950ba | b893e3b045c106f24a6cc340168dabd0bc481743 | /shop/migrations/0004_orders.py | 30fc2fe9f5917eefe133d5b7ed8d322923691fe4 | [
"MIT"
] | permissive | burhankapadia18/BuyAnyThing | cf0709b515961cc1114b1954bee4addac1859e91 | f1fcfd459147652c1ee2e1ce9464984965fb8682 | refs/heads/main | 2023-08-17T05:30:19.123468 | 2021-09-22T09:37:23 | 2021-09-22T09:37:23 | 384,929,266 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 843 | py | # Generated by Django 3.2.4 on 2021-07-02 06:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shop', '0003_contact'),
]
operations = [
migrations.CreateModel(
name='Orders',
fields=[
('order_id'... | [
"www.burhan18@gmail.com"
] | www.burhan18@gmail.com |
d84c34bf4d3fd0906684953b37dfca5d0bb16e5f | eb9f655206c43c12b497c667ba56a0d358b6bc3a | /python/testData/completion/dictLiteralCompletion/NotEmptyLiteralsInAssignments/main.py | d36bc2b54d3906268fceea50f594afaefc1e9506 | [
"Apache-2.0"
] | permissive | JetBrains/intellij-community | 2ed226e200ecc17c037dcddd4a006de56cd43941 | 05dbd4575d01a213f3f4d69aa4968473f2536142 | refs/heads/master | 2023-09-03T17:06:37.560889 | 2023-09-03T11:51:00 | 2023-09-03T12:12:27 | 2,489,216 | 16,288 | 6,635 | Apache-2.0 | 2023-09-12T07:41:58 | 2011-09-30T13:33:05 | null | UTF-8 | Python | false | false | 109 | py | from typing import TypedDict
class Point(TypedDict):
x: int
y: int
p: Point = {"x": 42, <caret>}
| [
"intellij-monorepo-bot-no-reply@jetbrains.com"
] | intellij-monorepo-bot-no-reply@jetbrains.com |
12b20499b823e4fb4dcfa22ce16512496eaf85db | a030783fcc76936ba3bef5b72f92986e5f61bded | /web/experiment/forms.py | adb4196fee579a3a248ca22ea092695c1f0d25ae | [] | no_license | teratree/teratree | 34249a6adf6d8063ee0ab8f0cf4d4b3d4372ab88 | fac7bcffe85e123e084711f1c591038c2ab84acc | refs/heads/master | 2022-04-08T18:24:05.523564 | 2020-01-02T17:07:21 | 2020-01-02T17:07:21 | 197,973,929 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,101 | py | from django import forms
from .models import ExperimentPageComment
class CommentForm(forms.ModelForm):
def __init__(self, is_authenticated, *args, **kwargs):
self.is_authenticated = is_authenticated
super().__init__(*args, **kwargs)
def clean(self):
super().clean()
if not sel... | [
""
] | |
e9475c19dd7b3f8abd944af02227413066365992 | c82c7b04df004c5f0cb371e56ec2a11d632032c1 | /Btreeutils.py | 6d7d94104cb53e5ff85551f0a962aa693568c3af | [] | no_license | krangan2587/algorithms-master | ed560a56a496d6aa838712d411c7e410628b8450 | d6a2ef5ab059fc843e2d35480ffbc6bb3ac57a6f | refs/heads/master | 2021-07-05T12:38:33.617957 | 2021-05-08T16:37:59 | 2021-05-08T16:37:59 | 56,648,763 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,667 | py | import pprint
class Btreeutils(object):
#Binary tree node
class Treenode(object):
def __init__(self, info):
self.data = info
self.left = self.right = None
def create_binary_tree(self,input_array):
node_dict = {}
if len(input_array) == 0:
return No... | [
"kasturiranganp25@gmail.com"
] | kasturiranganp25@gmail.com |
6974eab96c3d48c605d8400dafe6b728133607e2 | 99f791d25d28be7e8080d128c71a6901f3c1a7c0 | /Day6_Only_Answers/A3_Q4mix.py | ea2a3f1e5668c9c0dd953b1d49d4b2205911a03a | [] | no_license | desingh9/PythonForBeginnersIntoCoding | 1c0012d7203833ecc9dd0c09336540a7070cd1f6 | 31f86d38428169a28a611497798d5ccfd9e8f21f | refs/heads/master | 2023-02-07T23:56:42.984667 | 2020-12-30T17:59:56 | 2020-12-30T17:59:56 | 280,783,871 | 1 | 0 | null | 2020-08-14T14:03:33 | 2020-07-19T03:26:31 | Python | UTF-8 | Python | false | false | 554 | py | #3) Write a program to find the largest and smallest number in an unsorted integer array?
List = []
val=int(input("Enter Number for elements : "))
for i in range (val):
num=int(input('Enter value of element :'))
List.append(num)
max=List[0]
for i in range(val):
if (List [i])>max:
max= List[i]
min=... | [
"desingh319@gmail.com"
] | desingh319@gmail.com |
699ab4ccd658741ab0ee7d42f5a80900e4a99ca3 | a137466dbaa5d704cd5a15ab9dfd17907b24be04 | /utility/aggregator.py | dd85c5817e5daa2bc1e2d53f3a9685154e121927 | [
"Apache-2.0"
] | permissive | xlnwel/g2rl | 92c15b8b9d0cd75b6d2dc8df20e6717e1a621ff6 | e1261fdd2ce70724a99ddd174616cf013917b241 | refs/heads/master | 2023-08-30T10:29:44.169523 | 2021-11-08T07:50:43 | 2021-11-08T07:50:43 | 422,582,891 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 437 | py | class Aggregator:
"""Allows accumulating values and computing their mean."""
def __init__(self):
self.total = 0
self.last = 0
self.reset()
def reset(self):
self.sum = 0.
self.count = 0
def average(self):
return self.sum / self.count if self.count else 0... | [
"122134545@qq.com"
] | 122134545@qq.com |
4ebc9c4d4571a58e1ad55d53a566eb3eb4145ebe | 4345278aecf350ccfe5c529c63ad534b8ab98e95 | /experiment/smallpesent-4_ssa_trail_4_bits/Calculate_T_variable_a_variable_phi/T_a_phi_with_variable_a_round04_phi_size_2048_with_10000_samples.py | 813effcd2a24be41d020f1b90db1c21069912659 | [] | no_license | mdmohsinalikhan/MastersThesis | fc1caa1565f60a54d1f06edeab0a22331d4e8112 | 5ac4a06b20491c7a7e6dec2dd7113f83550a6724 | refs/heads/master | 2020-12-24T06:24:18.275156 | 2016-11-10T17:02:32 | 2016-11-10T17:02:32 | 73,401,475 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,566 | py | import random
import matplotlib.pyplot as plt
import numpy as np
import matplotlib.mlab as mlab
import math
#with open('T_a_phi_result.txt') as f:
#w, h = [int(x) for x in f.readline().split()] # read first line
#array = []
#for line in f: # read rest of lines
# array.append(int(x) for x in line.spl... | [
"mdmkhan@dhcp-asv-72.helsinki.fi"
] | mdmkhan@dhcp-asv-72.helsinki.fi |
3fd3cd1078e2a94377336c20f91e1b561b14ca40 | 6ce5bcb64dc0c6ddbc4ce827f4fd7c50514873de | /setup.py | c529c25c0d2c3e3bfbd140af872fb0361810ed02 | [] | no_license | sonechiman/ai-research | d15c9527b96147c9ecf3c0b951f231f284b2b940 | 2fc4b2c6b74d82d4939da8dc688e2834aeb4ab8c | refs/heads/master | 2022-12-11T09:12:57.481632 | 2018-07-10T11:28:38 | 2018-07-10T11:28:38 | 91,662,310 | 0 | 0 | null | 2022-12-07T23:59:50 | 2017-05-18T07:26:05 | Python | UTF-8 | Python | false | false | 102 | py | from setuptools import setup, find_packages
setup(
name="airesearch",
packages=find_packages()
)
| [
"ej.a9p96@gmail.com"
] | ej.a9p96@gmail.com |
22c627fae44f0079e535d66064c91480db572937 | 7bad6ecb04b57f4a692426bb23766cf0b5916d3d | /microdrop/core_plugins/command_plugin/plugin.py | 8fa27ab553a21e769406c2338ae015ca0488a243 | [
"BSD-3-Clause"
] | permissive | cfobel/microdrop | b943bed4a765c5419b6dead8344dbff420af283e | 721f2c9c040406bb3c70a9928923aad10a725b96 | refs/heads/master | 2020-04-15T18:50:20.035858 | 2018-10-23T14:26:58 | 2018-10-23T14:31:04 | 164,927,192 | 0 | 0 | BSD-3-Clause | 2019-01-09T19:47:11 | 2019-01-09T19:47:10 | null | UTF-8 | Python | false | false | 3,735 | py | from multiprocessing import Process
import logging
import sys
from zmq_plugin.plugin import Plugin as ZmqPlugin
from zmq_plugin.schema import decode_content_data
import pandas as pd
from logging_helpers import _L #: .. versionadded:: 2.20
logger = logging.getLogger(__name__)
class CommandZmqPlugin(ZmqPlugin):
... | [
"christian@fobel.net"
] | christian@fobel.net |
31fe694bb7313457f166f98dc09be7c81cf2580d | a78aa2b298c59e24800c1607e4d0cd60e2be8317 | /store_order/order_client.py | d35061d85d39d65e8c8091259c6f8d71f47fd441 | [] | no_license | Y4phets/store_warehouse | 6378c6c8ccdb919e886dc790e66759fce9bcfeb7 | 8fe7b7980a39f6086a16feda40defdf4e3d9ad2c | refs/heads/master | 2023-03-31T10:13:27.118098 | 2021-03-31T11:19:00 | 2021-03-31T11:19:00 | 353,325,394 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,270 | py | import logging
from typing import List
import requests
logger = logging.getLogger(__name__)
API_TIMEOUT_SECONDS = 60
class StoreOrderApiError(Exception):
def __init__(self, msg, response):
super().__init__(msg)
self.msg = msg
self.response = response
class StoreOrderClient:
"""
... | [
"d.lee@cashoff.ru"
] | d.lee@cashoff.ru |
e434dc28be7568f2e2573449de02634cb9db5c7f | 12bf872537054bbc04c926da56243381948c2a49 | /homework05/research/network.py | bee8893c903422a62d0b6d455900babfdf9abafd | [] | no_license | AntonKapakly/cs102 | 2c187f015fcacf4b00cbbe102608d6ab9ddad72e | efad49812fd039c4ee4dcea03ef5c293e12525cc | refs/heads/master | 2023-06-04T15:35:43.487981 | 2021-06-25T19:52:50 | 2021-06-25T19:52:50 | 300,674,880 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,935 | py | import typing as tp
from collections import defaultdict
import community as community_louvain
import matplotlib.pyplot as plt
import networkx as nx
import pandas as pd
from vkapi.friends import get_friends, get_mutual
def ego_network(
user_id: tp.Optional[int] = None, friends: tp.Optional[tp.List[int]] = None
) ... | [
"kapakly0@gmail.com"
] | kapakly0@gmail.com |
3e358ab8e17df990cd6fd7ee571a3cfd0b67833a | 1c8602ea66e5fde414f7054be6b8a7f5aa98a8ef | /rest_api/api/offers.py | 303d2a6cb1e0314847191a960a80be720184d53c | [
"Apache-2.0"
] | permissive | sunilake/sawtooth-marketplace | 1f8896a865fa4ef6c940900f486e26de5264c7b2 | f096e4a385ad2b4f9de000c39413d9d8f834778b | refs/heads/master | 2021-08-29T22:43:58.516099 | 2017-12-14T18:45:49 | 2017-12-14T18:45:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,328 | py | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | [
"dplumb@bitwise.io"
] | dplumb@bitwise.io |
e7235b3fea4323ece24e54402555a1a1790ab388 | 3143dfa73f1fa95735506c8e0a621b6b6265ddc1 | /src/pcc/api/instance/disable_zabbix_monitoring_instance.py | a87fe786a5991162e57e4f75ffa535ecc6b29d22 | [
"Apache-2.0"
] | permissive | sadakei2001/pcc-cli | 67c7f7488cf6ae2d2803f09e76d815c26460f5ea | 1145b32d38718f54fbfcc8e10ba9206c17a53cb7 | refs/heads/master | 2020-06-23T07:58:21.605241 | 2019-07-24T05:59:59 | 2019-07-24T05:59:59 | 198,565,141 | 0 | 0 | Apache-2.0 | 2019-07-24T05:34:57 | 2019-07-24T05:34:56 | null | UTF-8 | Python | false | false | 380 | py | # -*- coding: utf-8 -*-
def command():
return "disable-zabbix-monitoring-instance"
def init_argument(parser):
parser.add_argument("--instance-no", required=True)
def execute(requester, args):
instance_no = args.instance_no
parameters = {}
parameters["InstanceNo"] = instance_no
return reques... | [
"ymstmsys@gmail.com"
] | ymstmsys@gmail.com |
2f94117528007e16c5be48c1127ef44989272da4 | d71690a557e51ef3887668dd0ed36c057793baa8 | /tanzhou/apps/users/admin.py | fae17a9e619ea3cd4987f837717dd908ec4d468e | [] | no_license | 617976235/django_tanzhou | 62523fa6e67f9dcd96091c6769498bc8258d613e | 796bd4f9aa4630d6a7d7e957c5383f3e1b15584b | refs/heads/master | 2020-03-15T00:50:11.353692 | 2018-05-28T15:03:09 | 2018-05-28T15:03:09 | 131,879,018 | 0 | 0 | null | 2018-05-28T15:03:10 | 2018-05-02T16:40:08 | CSS | UTF-8 | Python | false | false | 916 | py | from django.contrib import admin
from users.models import UserInfo, EmailVerify, SlideShow
# Register your models here.
@admin.register(UserInfo)
class UserInfoAdmin(admin.ModelAdmin):
list_display = ['username', 'email', 'phone', 'qq', 'nickname', 'birthday', 'gender', 'is_superuser', 'is_active',
... | [
"37777023+617976235@users.noreply.github.com"
] | 37777023+617976235@users.noreply.github.com |
912138a5425f283b9c904c59bd28f4b5a1bd4e26 | c07c392c1158946f38ba9c93fd87f2e966ffa05c | /oc/oc_tune_label_model.py | d6d5e4b7ba2d14560765dfe55539ab9ddde0a38d | [] | no_license | AshRamty/heart_mri | 8106d44214d433df9ce11b630369998a639489d3 | 5c48ceee798477c363cd12523b78a1be3aa8d1b2 | refs/heads/master | 2020-04-19T12:08:02.081868 | 2019-06-27T22:41:18 | 2019-06-27T22:41:18 | 168,185,789 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 6,877 | py | '''
Classifies mitral valve open / close using CNN LSTM in Metal
'''
import sys
import os
sys.path.append('../metal')
sys.path.append('../heart-MRI-pytorch')
sys.path.append('../data')
import numpy as np
import argparse
import torch
import logging
import warnings
import pandas
from glob import glob
from scipy.sparse ... | [
"ashwini.ramty@gmail.com"
] | ashwini.ramty@gmail.com |
2dd0a75d58e6a94b71df2b846fab920956454217 | 746c68835165143ac3649d301b19926598c06ce9 | /py_day_mod/__init__.py | 4756e2ae2017c49feef4da8fa6e9eb58e105ee8f | [] | no_license | nguyenhoangvannha/30-day-of-python | 596994e3f7de283a2ce371dc8166c0135e448037 | e17261c2c8967314d88329f71ab2e3ef0f95ae76 | refs/heads/master | 2021-08-24T04:54:34.533744 | 2017-12-08T03:59:26 | 2017-12-08T03:59:26 | 113,424,284 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 37 | py | #from make_message import MessageUser | [
"nguyenhoangvannha@gmail.com"
] | nguyenhoangvannha@gmail.com |
908caf5b5b3b475bf2174157c98076216cdcddd8 | cf855f12a3c51cfd8968eb52c871330166e57a59 | /src/const.py | 14330ae5c4978104928a0fc881178c681eb4ac9c | [] | no_license | harshmatic/Agile-Project-Management | a43f30b0473688a107fb6b1e255e73fbf1dba22a | a6594b9272d6fbe0e8b1eae65c4530b335a1d5a5 | refs/heads/master | 2020-12-23T19:53:45.736720 | 2016-06-27T13:27:02 | 2016-06-27T13:27:02 | 56,067,447 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 150 | py | '''
Created on Jun 13, 2016
@author: Atul Sharma
'''
APP_DOMAIN = 'apm-eternus.appspot.com'
OUT_MAIL_ADDRESS = 'support@apm-eternus.appspotmail.com' | [
"aulsharma35@gmail.com"
] | aulsharma35@gmail.com |
9de3520965d4b30e1783457a740f12ecbc3d893b | d636cd482835e1360eef8a0ca0b11bed9948c4b2 | /venv/bin/easy_install | dc1bb1941e2ca9bd0ceaf5425647e9dc6a969b90 | [
"MIT"
] | permissive | Huanzhuo/Y-Net | 1284ea11521fac9b2fe02d60657e22c74eb83184 | ebc55c9b2ed85e5d37ca03c619f081b8b771b4df | refs/heads/master | 2022-12-15T00:53:33.431722 | 2020-09-24T09:34:11 | 2020-09-24T09:34:11 | 298,227,941 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 275 | #!/Users/yogurts/PycharmProjects/y-net-final/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"huanzhuo.wu@tu-dresden.de"
] | huanzhuo.wu@tu-dresden.de | |
c94b34d4d6623b867a7cc91d3672366334dd307f | 9cb6a655735b954eac4feeb006b174b8a5d759f4 | /test/test_sighash.py | 1e3dbf744d8ce0de53675357bfa42832889eef0d | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | Conio/pybitcointools | c68639439c5fc84694bb28213cc6d9c21198ad94 | 3025e73092789121ecf5aef4e6815be24f475735 | refs/heads/master | 2021-11-27T07:55:38.707876 | 2021-11-23T10:17:32 | 2021-11-23T10:17:32 | 53,937,108 | 20 | 13 | null | 2017-11-15T01:03:28 | 2016-03-15T10:55:22 | Python | UTF-8 | Python | false | false | 3,375 | py | import unittest
import bitcoin
from bitcoin import *
class TestTransaction(unittest.TestCase):
@classmethod
def setUpClass(cls):
print("Attempting transaction creation")
def test3(self):
print(
deserialize_script('52210248905f94419795ea33cd42474e10bfaddc3ee5f0f0c66ecc29238fea... | [
"guido.dassori@gmail.com"
] | guido.dassori@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 |
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 |
4506438a67a0403f0dbfc593c8410beb5c8794ac | 30c209d2e2ee59f5484197bb5ce8acd48f366a5b | /lib/icons.py | 6a6a4d54995f0b58c0c79df1e6dac2e404ce6940 | [] | no_license | anandu467/json_language_translator | 1907c697d0d93b7167a23f874caaec048a00e18d | 89478f69439ba5d5eb4f1a126dba8d6fa4173a2c | refs/heads/main | 2023-04-15T23:46:23.764526 | 2021-05-02T08:54:26 | 2021-05-02T08:54:26 | 361,663,977 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 15,951 | py | saveIcon=b'iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAByElEQVQ4jdXSz0/acBjH8f4netSQgIT667JdTZaZHXbQ0+LfMWMksuhEN4UpZZrMgy3REKNRYoiyDrpFajd0BEX6LfUHKCIS6V/w8aShtohczPYk79uTV57DQ1H/1dA+pY/2ya6X3ri4IGQuV4SktiIktWAsqc0Jaq66Fx5xp8uXbn4cYwhohuCVV0CKZBHiowjxUWzyMVxXNF09HgG0P3NSE21nlJFqMHGYxgzLYYbl4OMCRnBaAM0Q0P7Mif2L2mS80... | [
"you@example.com"
] | you@example.com |
0231c1920752d7528c90f7dd27833fa846d8b70e | 87db7092970c6e89474b6c83936d878ad973de2e | /capstone1/app.py | f0f63e5e3634ac9106fb07a375aa717cfbdcceb9 | [] | no_license | smitasasindran/EPAi3 | aee5d830f9598aac79e7bcd9fa89857ef95e4940 | 562ba45fbba63d09c06dceaaa656c6457a8e69f8 | refs/heads/master | 2023-07-16T09:01:00.865994 | 2021-08-21T18:13:00 | 2021-08-21T18:13:00 | 380,411,377 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 497 | py | from flask import Flask
from flask import jsonify
import json
from datetime import datetime
app = Flask(__name__)
@app.route("/")
def root():
print('test')
# return {'statusCode': 200, 'data': "Greetings, Earthlings!"}
return "<title> Smita Sasindran </title> <p>Greetings, Earthlings!</p>"
# @app.route("... | [
"smita.sasindran@glassbeam.com"
] | smita.sasindran@glassbeam.com |
0b5e60213b10694cfbf6c059612258c4dd56014d | dbdea7e0a3587cf6af7942c5593d3eec7e6ce0d0 | /tager6.py | 731d6168629207a2b2f8f89ee5dc6666c449d197 | [] | no_license | autozeztv/to | 920719e77c71de8691035bc4ba64a8e7be50dbd1 | 7accf4217548c0ccbc364d49ac6bc01b2c6797e6 | refs/heads/master | 2020-03-27T06:18:57.723431 | 2018-10-27T21:07:29 | 2018-10-27T21:07:29 | 146,096,536 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 47,828 | py | # -*- coding: utf-8 -*-
from linepy import *
from datetime import datetime
from time import sleep
from bs4 import BeautifulSoup
from humanfriendly import format_timespan, format_size, format_number, format_length
import time, random, sys, json, codecs, threading, glob, re, string, os, requests, subprocess, six, ast, p... | [
"noreply@github.com"
] | noreply@github.com |
6717c5e8394bf8346701fd67ae56099633f0713c | e56214188faae8ebfb36a463e34fc8324935b3c2 | /test/test_hyperflex_hxdp_version_list.py | cc62ffaf9a3db32bf124709634b0401a115e5b90 | [
"Apache-2.0"
] | permissive | CiscoUcs/intersight-python | 866d6c63e0cb8c33440771efd93541d679bb1ecc | a92fccb1c8df4332ba1f05a0e784efbb4f2efdc4 | refs/heads/master | 2021-11-07T12:54:41.888973 | 2021-10-25T16:15:50 | 2021-10-25T16:15:50 | 115,440,875 | 25 | 18 | Apache-2.0 | 2020-03-02T16:19:49 | 2017-12-26T17:14:03 | Python | UTF-8 | Python | false | false | 1,965 | py | # coding: utf-8
"""
Cisco Intersight
Cisco Intersight is a management platform delivered as a service with embedded analytics for your Cisco and 3rd party IT infrastructure. This platform offers an intelligent level of management that enables IT organizations to analyze, simplify, and automate their environmen... | [
"ucs-build@github.com"
] | ucs-build@github.com |
e9bebe261b66cc1350e100373109fbbf1f191795 | 9c40595517d2c3762c027490e15454bfd1625824 | /mysite/settings.py | 5e63bf94341e454381b651b68ef57ad54acd5557 | [] | no_license | bttrfly30/my-first-blog | 7badf5ee572f3864338c887e906ff8847fde73bb | 221e1bb1c7ce9f5486e636d26f5e4825fc911433 | refs/heads/master | 2021-01-01T17:19:09.338594 | 2017-08-26T17:00:59 | 2017-08-26T17:00:59 | 98,046,181 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,209 | py | """
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 1.10.7.
For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""
import os
... | [
"bttrfly30@gmail.com"
] | bttrfly30@gmail.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 |
77b4d03908ae9c210ed99e9eba9620c2ae85bbd6 | f9b9931d886e575805454667903259723720fb90 | /GDrive.py | d5765e1ed5669e29c26142dffcb5fc48555d5dc5 | [] | no_license | Floreenjons/Secure-Cloud | 1f1ae3403c648403322f40deb4b1533b7a3b68b8 | 6889a49d1b8eb36c80ff5fac69e523f781c0d7a1 | refs/heads/main | 2023-04-30T11:13:05.464167 | 2021-04-23T14:48:38 | 2021-04-23T14:48:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,569 | py | # pylint: disable=unused-variable
import os
import io
import sys
import httplib2
from googleapiclient import discovery
from oauth2client import client
from oauth2client import tools
from oauth2client.file import Storage
from googleapiclient.http import MediaFileUpload, MediaIoBaseDownload
import auth
APPLICATION_NA... | [
"noreply@github.com"
] | noreply@github.com |
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 |
849ff1d28dc6222454a0c18ff827813ae7999bcb | baf1a9aecbf06e86b956c17803554f4a8cd61c54 | /rockpile/adapters.py | 4f0e3bac1fcdf80429007d2019cb3b630bf1086c | [] | no_license | rockpile-it/django-rockpile | ccd8e0304b391b8a2cd84692b51f790f348c23de | f63a6cc12e399af470b3bff3855d8bb5960317cf | refs/heads/master | 2021-01-17T05:56:21.139070 | 2013-12-14T12:06:54 | 2013-12-14T12:06:54 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,651 | py | '''
Adapters for rockpile
=================================
Support for multiple translation systems
-----------------------------------------
Gettext
++++++++++++++
`gettext` is one of the most common i18n systems used by Django (.po files)
There is a library called `polib` supporting from python 2.4 to python 3.... | [
"dnmellen@gmail.com"
] | dnmellen@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 |
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 |
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 |
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 |
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 |
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 |
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"
] | noreply@github.com |
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 |
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 |
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 |
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"
] | noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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"
] | noreply@github.com |
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"
] | noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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"
] | noreply@github.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.