blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
476029c999e320eb929a9e11022fbc490f764b53
e95fc8c562c050f47ecb6fb2639ce3024271a06d
/easy/1732.找到最高海拔.py
c4b06ab3bb635300bda99006a24c867d6d0c5a0c
[]
no_license
w940853815/my_leetcode
3fb56745b95fbcb4086465ff42ea377c1d9fc764
6d39fa76c0def4f1d57840c40ffb360678caa96e
refs/heads/master
2023-05-25T03:39:32.304242
2023-05-22T01:46:43
2023-05-22T01:46:43
179,017,338
1
0
null
null
null
null
UTF-8
Python
false
false
533
py
# # @lc app=leetcode.cn id=1732 lang=python3 # # [1732] 找到最高海拔 # from typing import List # @lc code=start class Solution: def largestAltitude(self, gain: List[int]) -> int: res = [0] for i in range(len(gain)): res.append(res[i] + gain[i]) return max(res) # @lc code=end if __n...
[ "940853815@qq.com" ]
940853815@qq.com
cc29ef64fbcb8d7437bc2beb8195cceffa04b4a1
7abf2c1b981ec1e541eb4294185c21af52043ac2
/TensorFlow Technology Analysis and Actual Warfare _Li Jiaxuan/10_save_restore_net.py
9f42838935f4d191684082e0ec81751a3c4855f1
[]
no_license
wolf-bailang/AI-Book-Source-Code
b9453af6a663fed465a98fdc0158e3ef177516ca
77122e021230ed12410f1ff6c91758f3f86d1241
refs/heads/master
2020-04-11T15:42:24.856085
2019-02-20T16:01:00
2019-02-20T16:01:00
161,900,440
0
0
null
null
null
null
UTF-8
Python
false
false
3,386
py
#!/usr/bin/env python import tensorflow as tf import numpy as np import input_data import os # This shows how to save/restore your model (trained variables). # To see how it works, please stop this program during training and resart. # This network is the same as 3_net.py # 定义权重函数 def init_weights(shape): return ...
[ "noreply@github.com" ]
wolf-bailang.noreply@github.com
962cad767cbbcd853c697dca22409323a3e753ba
5c3e7573e26ee8f15ae261dcee4697572b0757a8
/1.py
80747022a439b81cfa3a6e105ed392722d9b2c8d
[]
no_license
duongdinhnghia1999/KTLTthuchanhbuoi05
c27c46619f6f7a400b175b63bfc93db2460c97c5
435485c0c1ef0de5535fd756428167b0738aa6e6
refs/heads/master
2020-05-20T20:55:19.289774
2019-06-04T08:12:24
2019-06-04T08:12:24
185,751,489
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
import mymath values = [2, 4, 6, 8, 10] print ('Squares: ') for v in values: print(mymath.square(v)) print('Cubes: ') for v in values: print(mymath.cube(v)) print('Average: ' + str(mymath.average(values)))
[ "noreply@github.com" ]
duongdinhnghia1999.noreply@github.com
0fdd9de339a26ba135bc8388006b048c5bf33995
b7e3faac9d3ba2cffa4185712e78d152956ace3d
/7_1_solution.py
0527225fd7f34e042afd4431a6cbb1cd40e39a9c
[]
no_license
gaurav3384/Assignment_7.11189
0fc600629a620182f8ece21a52e5c0ce6fcc4fce
a4092a187e1dd8e898a7827110bd3771d6d948d9
refs/heads/master
2020-03-25T00:30:44.681929
2018-08-01T18:04:48
2018-08-01T18:04:48
143,189,911
0
0
null
null
null
null
UTF-8
Python
false
false
3,798
py
# -*- coding: utf-8 -*- """ Created on Wed Aug 1 23:00:58 2018 @author: gauravkgupta """ import numpy as np import pandas as pd import re def fill_na(df) : """ Problem_1 : Fill missing values in column 'FlightNumber' of DataFrame Where values in this column need to be increased by 10 with each row."...
[ "noreply@github.com" ]
gaurav3384.noreply@github.com
12b46b8ec88ad553c73e0119885f502290535082
b58a3420ef081b1cea4accd09f48e51ebec1fb66
/Gömülü Fonksiyonlar/GömülüFonks.py
8d8c6f26b524d5da169f5d563736cea3c3b4d9fe
[]
no_license
Qhupe/Pythonda-gomulu-fonksiyonlar-ve-veri-yapilar-metotlari
c1d3fbb447f306fedd04a4e9c2cf5ccdb486f80b
8355e72b6cf6b1eadbfda73511c2276b62339cae
refs/heads/main
2023-04-19T20:23:06.792816
2021-05-08T01:03:57
2021-05-08T01:03:57
365,387,745
1
0
null
null
null
null
UTF-8
Python
false
false
4,574
py
print("**************** MAP Metodu **************** ") def double(x): return x*2 s=list(map(double,[1,2,3,4,5,6,7,8,]))#burada map fonksiyonu içinde double fonksiyonunu #çağırdık ve içine girdiğimiz liste elemanlarını göndererek s isminde bir listeye atadık print(s) a=list(map(lambda x: x**2,(1,2,3,4,5,6,7,8,9,...
[ "hupesat@gmail.com" ]
hupesat@gmail.com
1cca9cef85ff96101fe84f0c54b6b314b37e5344
2ed993ed697e49d4a85f3868bcd85e3894d72e10
/insertion_sort.py
fc1f2548e18e1d8c94787ed7a6a0ee41533357c0
[]
no_license
eleanorhsu/sorting-algorithms
b5c3130589c9187a8af3d84213ef8eedd6d5192c
65c38bcf5a8c17363e53e65e9f0e00b54b1b13d7
refs/heads/main
2023-05-31T03:58:58.573724
2021-07-04T12:51:59
2021-07-04T12:51:59
317,121,095
0
0
null
null
null
null
UTF-8
Python
false
false
305
py
def insertion_sort(arr): for i in range(1, len(arr)): for j in range(i): if arr[i] < arr[j]: arr.insert(j, arr[i]) del arr[i+1] break return arr def main(input): arr = input.split(',') arr = [int(x) for x in arr] print(insertion_sort(arr)) if __name__ == "__main__": main(input())
[ "eleanor.h.hsu@gmail.com" ]
eleanor.h.hsu@gmail.com
134f979c0fc5edc79a4a6a7063a58844f4fd0536
fa17ebb3511585f08a3ac30a7347edd61695a935
/tfidf/TFIDF.py
c3c90471a1cf3cc65abff01d6b802aae826941b9
[ "Apache-2.0" ]
permissive
502ping/RetrievalBased_Chatbot
3f407108459bb2349400f951e88211488955c505
07a1eaae0683dd0f6b31682ab2cf2c6c6733b413
refs/heads/master
2020-04-26T19:06:43.816327
2019-03-04T15:09:56
2019-03-04T15:09:56
173,763,824
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
import jieba from gensim import corpora,models,similarities import codecs #读取训练词库 Train_test = 'tencent_corpus/data.txt' Traintest = codecs.open(Train_test,'rb').readlines() Traintest = [w.strip() for w in Traintest] # 分词完毕得到结果 Traintest_word = [] for word in Traintest: words_list = [words for words in jieba.cu...
[ "46272447+502ping@users.noreply.github.com" ]
46272447+502ping@users.noreply.github.com
ea3cd162c0d901f2e544efeb63cbb797a5bb79b7
1d6512c1c8bc4e37943b64333c2f5cae741f1fa2
/setup.py
420d7ab186cf8e00c2501643ed2bea82011ac040
[]
no_license
aepnat/scrapy_traveloka
0505930c5e30c673fb4cf89ed1bbb925d01bfd7d
8c7e91f4d73155a002252ef89cafe948fd095c7e
refs/heads/master
2020-04-07T09:15:38.561741
2018-11-24T02:48:11
2018-11-24T02:48:11
158,245,715
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
# Automatically created by: shub deploy from setuptools import setup, find_packages setup( name = 'project', version = '1.0', packages = find_packages(), entry_points = {'scrapy': ['settings = traveloka.settings']}, )
[ "aep.nat@gmail.com" ]
aep.nat@gmail.com
48d86d1a6bbe9509b8147d9a60c08154a1e01a2e
23e351955fbd6407b53a5604766bd28c0e5fd18a
/TSP Simulated Annealing.py
e192efc2cab6483b3a134c29f5ea750ebea29142
[]
no_license
MedadRufus/Optimisation-Project-Design-Engineering
b85b90f8c961468d5373b5e0e2ae9adc3ecfd611
81407000f4fa4058622d9f8994c035668cafd489
refs/heads/master
2023-07-23T12:59:31.276980
2019-12-12T12:00:32
2019-12-12T12:00:32
218,971,390
0
0
null
2023-07-06T21:36:05
2019-11-01T11:18:02
Python
UTF-8
Python
false
false
3,507
py
# Created by Medad Rufus Newman on 12/12/2019 import numpy as np from scipy import spatial import matplotlib.pyplot as plt import sys #file_name = sys.argv[1] if len(sys.argv) > 1 else 'data/nctu.csv' #points_coordinate = np.loadtxt(file_name, delimiter=',') num_points = 16 points_coordinate = np.array([[0.181,14.9...
[ "medadrufus@gmail.com" ]
medadrufus@gmail.com
90861679ad71262055147a504cc95fad10cfb496
9e504da68297149d99c66baab2b9939c21f20664
/IntersectList.py
bb76f835f5cc9335ee8869601a672be283904ffd
[]
no_license
LeoTheMighty/beginner_python_exercises
87690b9c7680860eec984417dbd4a17551a56856
0945c8a8c0f297b3a58a5e832bd41a8fc5126c1f
refs/heads/master
2020-03-15T14:23:07.052989
2018-05-05T17:08:38
2018-05-05T17:08:38
132,188,920
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
# Make a list intersector a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] b = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 88] intersectList = [] for aelement in a: if (aelement in b) and not (aelement in intersectList): intersectList.append(aelement) print(intersectList)
[ "leonid@ac93.org" ]
leonid@ac93.org
adb7092b721162a83ad0df6b17753e5b4df2eadb
8aebf052796b880fcef07fcbbb876a3bcc5c1924
/Data Quality with Python for Beginner/Deduplikasi.py
1abb3256bc147b65bc1705d640c6764ef3753e82
[]
no_license
sultanardia/dqlab
e41420324105901b565af7acc540e7c8f135dea9
256a9ecee5522a1fd4a9a971a11a7b8fe4b40626
refs/heads/main
2023-04-14T07:43:44.620155
2021-05-01T10:50:42
2021-05-01T10:50:42
346,243,784
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import pandas as pd import numpy as np import io import pandas_profiling retail_raw = pd.read_csv('dataset.csv') # Duplikasi data merupakan data dengan kondisi pada row-row tertentu memiliki kesamaan data di seluruh kolomnya. Tentunya ada data yang duplikat dalam dataset yang dimiliki. Kondisi duplikasi haru...
[ "noreply@github.com" ]
sultanardia.noreply@github.com
571d3d7ecc84ebbfb01d15f15d8896b925fcaff2
eb28effe32371194d236531a6db56a28e5a83d50
/products/migrations/0004_auto_20180110_0918.py
9c5609788e265dbb2a8529478ce98bd57dc7c850
[]
no_license
inno-asiimwe/udemy-django-ecommerce-justin
df3858f06f4ae0a6235ffc45564e6639cc34a7ae
7c437836d3cc894582b258ef15dfd14cc6ef918f
refs/heads/master
2021-05-13T16:13:41.025721
2018-01-15T14:43:48
2018-01-15T14:43:48
116,788,444
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
# Generated by Django 2.0.1 on 2018-01-10 09:18 from django.db import migrations, models import products.models class Migration(migrations.Migration): dependencies = [ ('products', '0003_product_image'), ] operations = [ migrations.AlterField( model_name='product', ...
[ "innocent@Innocents-MacBook-Pro.local" ]
innocent@Innocents-MacBook-Pro.local
48f6a582b57139777865caf27a6ba3f840b64e36
2a621e29ccdb965514b06cf9908fabae034f447d
/24. Lexicographic permutations.py
09c5f4522a8591cde3855873dd4ed7ae85c0037a
[]
no_license
ZitingShen/Euler-Project
9760e326e8be460d13caa08c59e57f343fc20594
a77718e84b9cfaeb88cb8a96f67c22523703cbd6
refs/heads/master
2016-09-06T18:15:39.771114
2015-10-06T05:08:07
2015-10-06T05:08:07
26,204,323
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
import time start=time.time() p=9*8*7*6*5*4*3*2 rest=1000000 nums=[0]*10 num=[] for x in range(1,11): if rest%p!=0: t=0 i=-1 while t<=int(rest/p): i+=1 if not nums[i]: t+=1 num.append(i) nums[num[x-1]]=1 print(nums) re...
[ "zshen@brynmawr.edu" ]
zshen@brynmawr.edu
d74fff88ba05004f13b29253044811a8d2b7d787
3249577773cf18e5c09ea36de62477ddb43b662b
/Python/flask_fundamentals/Disappearing Ninja/server.py
91bc33c8de93b14123c980e0d252bf8f7f89d6c4
[]
no_license
HollinRoberts/code
5394abe2a7c42bbbe83d8f64a99c50a52f05792b
8026522ab169c4174037fdf1b271de60b75d79bf
refs/heads/master
2021-01-01T16:12:11.674680
2017-10-18T21:08:10
2017-10-18T21:08:10
97,786,418
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
from flask import Flask, render_template, request, redirect app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/ninja") def ninja(): return render_template("ninja.html") @app.route("/ninja/<color>") def ninja_color(color): if color=="blue": ...
[ "hollinroberts@gmail.com" ]
hollinroberts@gmail.com
c93bfa4ec6d9804ee16dbf65765c073e80ea463c
552d6d8ceb9a88ebe9dfa5ba1c3572a41e029634
/Exercise 9.9.py
86f0566c852d9b3bcdceb214d19caab5db392ac3
[]
no_license
Aguskurnia123/Agus-Kurnia-Akbar_I0320004_Abyan_Tugas-9
9df2356f8a3e0c1af78c34dad3c1c7d844cdaf59
ab89d7c9ab87c5766de02ec4e25817e5904747c5
refs/heads/main
2023-04-16T22:37:10.157282
2021-04-30T23:54:17
2021-04-30T23:54:17
363,285,163
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
import array A= array.array('i', [100, 200, 300, 400, 500]) print(A) A[1]= -700 A[4]= 800 print(A)
[ "aguskurnia123.ak@gmail.com" ]
aguskurnia123.ak@gmail.com
d59c7349c687bb89df6ffe6c91d0cb52724efdaa
d4eb113c44c86322b3811513a7286d176f106eb6
/experiments/variational_autoencoder/validation/compare_results.py
9533452ba1c680b701a373947b1b8279453615c6
[]
no_license
philip-brohan/Machine-Learning
67a2eb780383b3436da4fef1d763f39d255ae696
dc53b9c336d5f12272257f327abe49dec436ea04
refs/heads/master
2021-03-27T12:33:07.518279
2020-04-30T19:38:02
2020-04-30T19:38:02
56,614,781
0
0
null
null
null
null
UTF-8
Python
false
false
6,113
py
#!/usr/bin/env python # Model training results plot import tensorflow as tf tf.enable_eager_execution() import numpy import IRData.twcr as twcr import iris import datetime import argparse import os import math import pickle import Meteorographica as mg import matplotlib from matplotlib.backends.backend_agg import ...
[ "philip@brohan.org" ]
philip@brohan.org
7ca108bd5b4ada0b7bc978f191396ec43af38fb5
77f49b5b03cccbe7527d6d2b15a94bfbe15f0ce8
/tests/servo_bounds.py
917fe36662b3bf8ea5aa6976b6f8749dd9a6524f
[]
no_license
skrub-wreckers/software
9ac4bd8e67e54447e605b7b2b45a8278b31dde06
17b47ecf46dee192dd007543a958049eba03e690
refs/heads/master
2021-01-10T03:22:16.781029
2016-03-03T05:14:21
2016-03-03T05:14:21
49,020,868
0
0
null
2016-01-28T17:46:53
2016-01-04T20:22:59
Python
UTF-8
Python
false
false
560
py
from tamproxy import Sketch, SyncedSketch, Timer from tamproxy.devices import Servo class ServoWrite(Sketch): """Cycles a servo back and forth between 1050us and 1950us pulse widths (most servos are 1000-2000)""" def setup(self): self.servo = Servo(self.tamp, 10) self.servo.write(2200) ...
[ "areill1337@gmail.com" ]
areill1337@gmail.com
e470c8f99b1335a8c6db6aba0002956e696d280d
4afc0d47446de2fc9fb53833912cd105d0cc3d21
/25. Seaborn Exercises .py
9eb711e17984c6db65619c50429ba8db28cd3aa1
[]
no_license
MEng-Alejandro-Nieto/Python-for-Data-Science-and-machine-Learning-Udemy-Course
7afa51edd36bdd452fccc639b354bd492ab6e5d9
a03430c1d57cb022073395c7eb279eaf7807df4b
refs/heads/master
2020-07-17T02:33:19.478323
2019-09-02T18:45:33
2019-09-02T18:45:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import seaborn as sns info=sns.load_dataset('titanic') new_age=info['age'].dropna().apply(lambda x:int(x)) print(info.head(5)) #JOINT PLOT-------------------------------------------------------- #sns.jointplot(x='age',y='fare',data=info) #DI...
[ "alejandrolive932@hotmail.com" ]
alejandrolive932@hotmail.com
a2010a39af08d72a34b058f92fd12104c0aa8d29
aa0cc19eedf38baca2ecef3de6f2a4c69ce68675
/clld/scripts/postgres2sqlite.py
168f94320038122afe286f29dcc8c331998e4f23
[]
no_license
mitcho/clld
de84c54247138efa53ee5f68a87edc2a0ab06bbf
dcf5f063a44ac5167f677f05b2c66b0d094d4ff3
refs/heads/master
2021-01-18T09:56:18.486647
2013-08-23T15:13:18
2013-08-23T15:13:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
""" python postgres2sqlite.py apics 2>&1 >/dev/null | less Unfortunately this approach does not seem to work, thus, our only option is intialize_db and making sure all db changes are done via alembic migrations. """ from subprocess import call from importlib import import_module import pkg_resources import re from tem...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
dcf71d21fdd4add75ba30e4eb9d4ccb386659a42
58d98167c804c5aac5a7688cd9a6142e58e307c6
/boomerang/__init__.py
0065754c22ece9a6ff4b6f8b780bc44ec97d588a
[ "MIT" ]
permissive
hxu/boomerang
bed7c9bdc3b8627f6693affd5253bd5f9afd1506
58604f9a3af0df34dcb2f9bb2fff9799df5b4c86
refs/heads/master
2020-05-16T21:24:29.837175
2013-08-28T09:34:28
2013-08-28T09:34:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,360
py
from __future__ import division import os import re import shutil from itertools import chain import sys import time from string import Template from fabric.api import env, run from fabric.api import put as fabput from fabric.context_managers import cd from fabric.contrib.files import exists from fabric.exceptions imp...
[ "hgcrpd@gmail.com" ]
hgcrpd@gmail.com
eafb45050bc3226b2600482f9fdd64110784abd1
dac956439f6918b10026bdf051a952836ab1f5f6
/todo.py
d9db1d28564b9071f4b923d37a47a0221e99cc49
[]
no_license
sajja/mytask
fcde27f3d0c199c275b99da2426e13814110e135
7c394b64d14db6c7d92006db3c271bba24780da5
refs/heads/master
2021-01-15T12:19:07.298249
2014-08-17T10:12:04
2014-08-17T10:12:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,585
py
from index import Index from datetime import datetime from datetime import timedelta from time import sleep from parser import ParserFactory from print_plugin import TextDecoratorPlugin, PaddedDecoratorPlugin, ConkyColoredDecoratorPlugin, HumanizedDatesPlugin, \ TrimLongNamesPlugin import pynotify import argparse ...
[ "sajiths@pagero.com" ]
sajiths@pagero.com
ad369ea3b68e110460ac6a271338682c626d5bb4
61af9e5a827caf4ec9b570f70a66a682d542db31
/FLASK_TUTORIAL/FLASK/Large_Application_Structure/myproject/owners/views.py
24dce0920f47d855fe6f6e73e9cd62a43a27290f
[]
no_license
mdshadanaltmash/FLASK_TUTORIAL
cda1b90f96e833a78bacf444353fb104e51246d5
5de5ce2a0f73c7e9319f3ca2d4069e94d2f1bd63
refs/heads/main
2023-03-08T08:09:01.008006
2021-02-24T19:00:13
2021-02-24T19:00:13
313,091,120
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
from flask import Blueprint,render_template,url_for,redirect from myproject import db from myproject.models import Owner from myproject.owners.forms import AddForm owners_blueprints= Blueprint('owners',__name__,template_folder='templates/owners') @owners_blueprints.route('/add',methods=['GET','POST']) def add(): ...
[ "mdshadanaltmash44@gmail.com" ]
mdshadanaltmash44@gmail.com
6a883081299d8849dfc6919f02c3fe13b52b3176
c0f3c5a65397d0daaf705d74e22e34c0219ffedc
/stage/models.py
d440f70382629acb548560408ccececbaa9ff0d7
[]
no_license
zhulongcao53/mysite
d76d104e4cd4e2ee0332f7415ae2bbfe26534c4c
9b66bdc396de616ee8d7b8d2fc2010e3fb50034c
refs/heads/master
2020-12-25T14:24:15.560923
2016-07-13T14:28:01
2016-07-13T14:28:01
63,251,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
#-*- encoding: utf-8 -*- from django.db import models from django.contrib import admin from DjangoUeditor.models import UEditorField # Create your models here. class BasicInfo(models.Model): ipadd = models.IPAddressField(verbose_name = u'IP地址') cpu = models.CharField(max_length=255, blank=True, verbose_name = ...
[ "zhulongcao53@163.com" ]
zhulongcao53@163.com
47b448f166ccbe4e48f156b557246c0253abdf2e
9782c4e9d348f1afac506ee89885be685074b1f7
/portal.py
0cf24c53ce4d0a5c27685966c4175b4a37d90241
[]
no_license
shpingsun/OCIPA
1d20a7d0aeaeb1f0d79d141a3ff83fdee4a219d3
becbde75765b8f732d0bfb83f66e4d5d201cd476
refs/heads/master
2020-04-15T16:07:15.767007
2018-12-24T09:25:55
2018-12-24T09:25:55
164,821,002
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
msg = "资产云开放协同创新中心" print(msg)
[ "panzhaohui@msn.com" ]
panzhaohui@msn.com
f60880e5d4192b5bcbd9bd669c188d6935c9d098
4bee31f6a823fb1aebbd3dfe1d163aa0b1d41a7c
/seata/registry/FileRegistry.py
460f4982eb6b95f9f7bcc623f50e55a313c15d63
[ "Apache-2.0" ]
permissive
rohankumardubey/seata-python
92532d1e8f8c961f2317aa8c23e2f53fe07711e9
66fb3382217a43effa3d1bc5ec2b62204d499dba
refs/heads/master
2023-08-17T08:29:12.603412
2021-09-27T06:04:56
2021-09-27T06:04:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,249
py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- # @author jsbxyyx # @since 1.0 from seata.config.Config import ConfigFactory from seata.core.rpc.Address import Address from seata.registry.Registry import Registry class FileRegistry(Registry): config = ConfigFactory.get_config() def __init__(self): pass...
[ "jsbxyyx@163.com" ]
jsbxyyx@163.com
cd0d8e561666d128b2ea7436f62b9116e824dd80
21d31c95db167b5b042824d1ab1993d55771fd77
/ch4/utils/logger.py
dfa267bb5d83d58066198fb360daba907de0b500
[]
no_license
wangxiao9/appium_demo
4350dfe93a1f0528fc016e8b1e798f5b1444c9e4
bbd56991d9f648edc53af9937d75a72b292a4e4b
refs/heads/master
2022-11-30T02:47:07.617001
2020-08-12T07:19:04
2020-08-12T07:19:04
285,777,348
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
__author__ = 'wangxiao' import logging formatters = '%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s' datefmt = '%a, %d %b %Y %H:%M:%S' filename = '../log/test.log' logging.basicConfig(level=logging.DEBUG, format=formatters, datefmt=datefmt, ...
[ "xiaoqian.zhang.ext@siemens.com" ]
xiaoqian.zhang.ext@siemens.com
ab7a74055b83f59b60f3e2692de2f2d3a6d45b00
2f551b40db8dfec546ee229fd52957dc72de9137
/fibonacci.py
6da798636d83db68028ed7fdae1c7b7dfb865b31
[]
no_license
Wikkan/Fibonacci
45d260a1c2e7d82ea7727f467ea4713b8357e25d
fc846d6f03bc0b48eeb792833be558e0eecbd32b
refs/heads/master
2020-04-06T17:04:51.599356
2018-11-15T03:49:33
2018-11-15T03:49:33
157,645,826
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
from flask import Flask app = Flask(__name__) @app.route('/') def fib(): n = 10 a = 0 b = 1 for x in range(n): a, b = b, a+b return a
[ "josuji-alfa@hotmail.com" ]
josuji-alfa@hotmail.com
3f513443bd4d9dfff4f056d83b3dbe2b8ef78504
24be96793d7c050b31936252e0f3ef809a7b7a32
/commands/agc_roi.py
95910dd42fe1ff10c5482ac887e1f22a3fefeb2a
[]
no_license
CraigKnoblauch/tau-2-emulator
7041b3ead7b693c5e3b2762f6c7a72bb4989aed8
1051e1b93fa1c37101649c9ad175719f048bf88d
refs/heads/master
2021-01-01T17:18:54.107882
2017-08-22T18:28:44
2017-08-22T18:28:44
98,044,874
1
0
null
2017-08-21T00:44:21
2017-07-22T16:48:50
Python
UTF-8
Python
false
false
39
py
def AGC_ROI(settings, reply): pass
[ "craigknoblauch@gmail.com" ]
craigknoblauch@gmail.com
a06e048a185a9d0251f8d18dda29718efb09a160
462e52636f351a30da5bf2159bc9b30719bbe79b
/stuff/finished libraries/pytorch/_torch_docs.py
5737af3d182faaa9e7a7cddb16dc5de740dcd382
[]
no_license
SoutiRini/Top-20-Python-Libraries
c27b1ae77e11209bfe97405f8e324c54d4d49db4
1adcc6255dc59b25a831df2d23fa759e1e7c3264
refs/heads/master
2022-12-08T11:09:19.587218
2020-08-28T22:16:41
2020-08-28T22:16:41
291,153,411
4
1
null
null
null
null
UTF-8
Python
false
false
267,122
py
"""Adds docstrings to functions defined in the torch._C""" import re import torch._C from torch._C import _add_docstr as add_docstr def parse_kwargs(desc): """Maps a description of args to a dictionary of {argname: description}. Input: (' weight (Tensor): a weight tensor\n' + ' So...
[ "auau@oregonstate.edu" ]
auau@oregonstate.edu
bf2364bce092239e91cfc27cd4a483dba41eb9d2
5164e4ccb0cfb2b16ba3805b7e5a05ed4153a245
/Lab03/GraphQL.py
96210aafd9af8a39d0e1b5ee7c6d3b8c0e2639ab
[ "Unlicense" ]
permissive
Zuquim/smelly-octopus
538c40f36304306f01a3a8cfa0e462f1ee2ad58b
c9e2959a95b5d5c4b0a25c6c6987b63a9d1984f2
refs/heads/master
2023-08-21T18:10:25.629871
2020-05-15T18:25:44
2020-05-15T18:25:44
240,612,179
0
0
Unlicense
2023-08-11T19:53:17
2020-02-14T22:51:27
Python
UTF-8
Python
false
false
3,844
py
from csv import writer from json import dumps from requests import post import time headers = {"Authorization": "token "} repositoriesQuery = """ query repositoriesQuery { search(type: REPOSITORY, first: 100, query: "stars:>100 created:>=2016-01-01 language:python"{AFTER}) { pageInfo { hasNextPage e...
[ "isabelaedilene@gmail.com" ]
isabelaedilene@gmail.com
3d6cccf8ef1c1c59e686fc0a6389770283a33d32
2dd34eabb729be2c0574b7422c545d7fea67822e
/gridlayout.py
18aedcaf572124c8c95d6f06a6f3f83b08387e34
[]
no_license
Dhruv2012/GUIBasics_python
2206fb082c1db16b9e5be7b40df871b754e11242
53db37b2fa164cbf8db088b00f3e96f7e9e39f6a
refs/heads/master
2020-03-17T07:41:18.322369
2018-05-17T17:08:45
2018-05-17T17:23:06
133,408,591
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
from tkinter import * root=Tk() lable1=Label(root,text="username") lable2=Label(root,text="password") entry1=Entry(root) entry2=Entry(root) lable1.grid(row=0) lable2.grid(row=1) entry1.grid(row=0,column=1) entry2.grid(row=1,column=1) root.mainloop()
[ "dhruv.r.patel14@gmail.com" ]
dhruv.r.patel14@gmail.com
efaf5827b686a2a2c8b12a2e327f2178fa269f5c
7954d761dde104a9d977006c514ff976a9c88444
/backend/menu/migrations/0001_initial.py
a6a707da319ae2e8ae9d0ffbe9ae598eb1ac1002
[]
no_license
crowdbotics-apps/firebase-25585
3c693fee6f6e75805fe5b8d40f24ee6b137e29e3
5473848fbdad0683030c8f3bd64d03fdc4a1382c
refs/heads/master
2023-04-05T13:07:26.443879
2021-04-09T10:28:31
2021-04-09T10:28:31
356,229,816
0
0
null
null
null
null
UTF-8
Python
false
false
3,144
py
# Generated by Django 2.2.19 on 2021-04-09 10:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('delivery_user_profile', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4ed37678ade84f7abe6e3189d8fe998df02a293e
8e705a0887ad6311b096d537bf977e6cdd5e3fbb
/test78.py
9b4d7e4e8a6213b77e7b6c2126448cbbb7a05f97
[]
no_license
xfx1993/goto1000
b2269e2c778c30ff055c246d6565b7c86c3e0f95
d1a08ddeb06423bb23e8c22c88b3fde048e86b46
refs/heads/master
2022-12-19T13:47:16.038909
2020-09-30T02:39:49
2020-09-30T02:39:49
299,791,027
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
def maxChunksToSorted( arr): """ :type arr: List[int] :rtype: int """ size = len(arr) rightmin = [0 for i in range(size)] curmin = arr[-1] for i in range(size - 1, -1, -1): curmin = min(curmin, arr[i]) rightmin[i] = curmin leftmax = arr[0] count = 0 for i in...
[ "1064222854@qq.com" ]
1064222854@qq.com
ee0608d85e3d44cb755901e6aa79d6964ff34242
72ddc142197b20ea9dec88c40d46448b56aa4f1c
/350. Intersection of Two Arrays II.py
7fff6aae29dbd5d4934154cc27fefa23ff2f4bb4
[]
no_license
dattnguyen/Leetcode_exercises
ee6a4325b47f8a07844bbb84511b1e158edfc7ac
d74d8987f07dcfd4e02348385f88381802adb1aa
refs/heads/master
2022-12-31T10:15:31.443277
2020-10-09T20:28:56
2020-10-09T20:28:56
267,236,435
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
# # Given two arrays, write a function to compute their intersection. # Note: # # Each element in the result should appear as many times as it shows in both arrays. # The result can be in any order. def intersection(nums1, nums2): hmap1 = {} hmap2 = {} res = [] for i in nums1: hmap1[i] = hmap1....
[ "tiendat.ams@gmail.com" ]
tiendat.ams@gmail.com
2973c8a04aa45789fe2dd63d8482dcf76c80e95b
53440fe1e7370b564d3e1161a2a39bd99425f2f7
/fairing/constants/constants.py
703f260d7848b679e869cb80c980ec0ea0265a54
[ "Apache-2.0" ]
permissive
karthikrajkumar/fairing
a89123c0c1385f691bb8d2b301926360c9e70ed3
4f9e007365101443e1230ee206980ed6014f7d31
refs/heads/master
2020-06-24T01:11:10.950976
2019-07-22T03:06:52
2019-07-22T03:06:52
198,804,843
0
0
Apache-2.0
2019-07-25T09:51:13
2019-07-25T09:51:13
null
UTF-8
Python
false
false
1,125
py
TEMP_TAR_GZ_FILENAME = '/tmp/fairing.layer.tar.gz' DEFAULT_IMAGE_NAME = 'fairing-job' DEFAULT_BASE_IMAGE = 'gcr.io/kubeflow-images-public/fairing:dev' DEFAULT_REGISTRY = 'index.docker.io' DEFAULT_DEST_PREFIX = '/app/' DEFAULT_CONTEXT_FILENAME = '/tmp/fairing.context.tar.gz' DEFAULT_GENERATED_DOCKERFILE_FILENAME = '/tm...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
6be9e8beae39fefab37a0fbd3fd23aa4d225175f
255f4237b7ce5bce17699f408d5cfcc0cf7cd738
/sightings/migrations/0002_auto_20191202_0600.py
afec6f0d3fe995fe3b2c6c74a3323a9258da0e9c
[]
no_license
evo0522/squirrelTracker
d2325b3890794ca157354965fd70228eccd3e67f
8fcb99171836d61db54ab499f076f7c773251fb1
refs/heads/master
2020-09-16T17:09:17.433298
2019-12-08T20:09:43
2019-12-08T20:09:43
223,833,863
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
# Generated by Django 2.2.7 on 2019-12-02 06:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sightings', '0001_initial'), ] operations = [ migrations.AlterField( model_name='squirrel', name='Age', ...
[ "evonnewyh@gmail.com" ]
evonnewyh@gmail.com
c2f320d96653b374d960eeb2812f0403e6736f6f
ae74ba8c272fe5d534e73a6069dc650dc3ff49fd
/train_rnnt.py
d01e774ff3ac421601e1e4f406331e29a6805a55
[ "MIT" ]
permissive
jackson1895/beautifulday
cabdf971102eac50d287899d1a72179bfe651b33
8efd27e916c8c579c4a9893c69d8847b7c23be18
refs/heads/master
2020-07-12T03:37:11.943220
2019-08-27T14:27:59
2019-08-27T14:27:59
204,707,782
0
0
null
null
null
null
UTF-8
Python
false
false
28,074
py
import json import os import argparse import numpy as np import random import misc.utils as utils from utils import loadData,averager import opts_only import torch import torch.optim as optim from torch.nn.utils import clip_grad_value_ from dataloader_only import VideoDataset from misc.rewards import get_self_critical_...
[ "jackson.li.cs@gmail.com" ]
jackson.li.cs@gmail.com
f2f172726f7409004608358b7923d9c40cd45686
280aa61ccadbf6c0838533c52e3c6b2ba2effd46
/P4HW3_TuitionIncrease_DilshodSadiev.py
47865a657a39a76a363d6227590b51880c748c62
[]
no_license
Sadiev/cti110
d61341d4346f8c4a6c826b919b218944b14a330e
e2a59a7802e7720706599aaedcc52ebf5b3e5724
refs/heads/master
2020-03-27T19:02:52.311334
2018-10-08T00:01:10
2018-10-08T00:01:10
146,962,340
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# This program displays tuition amount witch increase by 3 percent each year for the next 5 years # 09/21/2018 # CTI-110 P4HW3 - Tuition Increase # Dilshod Sadiev # # initialize accumulator variables tuition=8000.00 year=2018 print('The tuition for a full-time student is $8,000 per semester.\nThe tuition wi...
[ "noreply@github.com" ]
Sadiev.noreply@github.com
6a103aa08789bda13b1472feb7e02f086288959c
00e89be3c036ec45ac385f87989e5517bed108c9
/add.py
547936b3f478b0cdf31191c62a1b2a8504d5f819
[]
no_license
sehgalvalue/addrep
c1c946adfcb1add9a63e9358b55ac37b7a099566
11501263d109702c2bb7833283a22d96382265c3
refs/heads/master
2020-04-28T18:49:26.820449
2019-03-13T20:27:37
2019-03-13T20:27:37
175,491,219
0
0
null
null
null
null
UTF-8
Python
false
false
27
py
a = 5 b=6 c = a+b print(c)
[ "noreply@github.com" ]
sehgalvalue.noreply@github.com
a0321890fdf0babae23c4b46e7dca8a0e7afbf90
60dff076fae5d36af71af1066ac7eb4f833d2f2f
/tools/ci_build/github/apple/c/assemble_c_pod_package.py
18dc8a19d23ceffa99f30900c4c998c464d550e2
[ "MIT" ]
permissive
NervanaSystems/onnxruntime
79e60f9c6feb8c147868d27de8077a276755cc90
96b3c09e2a5e0a5b4f98ed9059a719d9c7b73724
refs/heads/master
2023-06-22T02:55:35.250834
2023-01-03T22:54:46
2023-01-03T22:54:46
162,268,647
1
3
MIT
2021-01-14T12:56:23
2018-12-18T10:09:13
C++
UTF-8
Python
false
false
2,687
py
#!/usr/bin/env python3 # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import argparse import pathlib import shutil import sys _script_dir = pathlib.Path(__file__).parent.resolve(strict=True) sys.path.append(str(_script_dir.parent)) from package_assembly_utils import ...
[ "noreply@github.com" ]
NervanaSystems.noreply@github.com
3a71ff09d8ee1fd3cb59d725a4825d66ebfb00cf
c9a3f0e2d9f79860ba5124db288cb4dc70fa4124
/plots/plot_pocket_controller_autoscaling.py
6500b7363881c75f5378dafa1f6ee54c494431f6
[]
no_license
anakli/pocket-controller
2b7605fa4b82b10252ed7a91d22d7d2cef2b2c81
f163c7175c93eaa617210d35ccd267ad912d8aae
refs/heads/master
2020-03-09T04:08:39.926455
2018-12-25T03:44:25
2018-12-25T03:44:25
128,580,226
0
0
null
null
null
null
UTF-8
Python
false
false
3,502
py
import pandas as pd import sys import matplotlib.pyplot as plt import matplotlib.ticker as ticker from matplotlib.text import OffsetFrom #python plot_pocket_controller_autoscaling.py sort1-video-sort2-WORKS-util-v2.log #time net_usedMbps avg_cpu dram_usedGB net_allocMbps dram_allocGB plt.rcParams.update({'font.size': ...
[ "ana.klimov@gmail.com" ]
ana.klimov@gmail.com
dd97094e0e53418b16229ca0ca1a5efacd5e520f
1b53325f6976bd2697f1d9678054b8a1e5dd059c
/update/without_expansion/2.run_calculate_concept_map.py
d0f902e4761716435b798ad4bda40a5255298bc5
[ "MIT" ]
permissive
vsoch/semantic-image-comparison
d34150b4fed36d55f934e727297ee188951e3ed9
ab029ad124fc6d6e7ae840c24a8e9471d8737525
refs/heads/master
2020-04-06T07:04:21.726094
2016-08-13T23:13:10
2016-08-13T23:13:10
48,921,431
1
3
null
null
null
null
UTF-8
Python
false
false
2,208
py
#!/usr/bin/python from glob import glob import sys import pandas import os # Classification framework # for image1 in all images: # for image2 in allimages: # if image1 != image2: # hold out image 1 and image 2, generate regression parameter matrix using other images # generate predicte...
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
65865ddc117140f9817ea18ddb903ec6a8ae3cfc
3c8a7554fe61c5794f0bb6523fa9942680fda876
/chp7/lib/python3.6/hashlib.py
741c4f0c473f1dff3b49733b5404b00e4d2383d7
[]
no_license
porte404/Assignment4_ESS520
9d6cb3604c67a35771c66fe43405cb7ed6bef848
f0ff28cf1d94524da55fbb545b2a0fb0372e2b30
refs/heads/master
2021-01-25T09:14:16.822355
2017-06-08T23:46:52
2017-06-08T23:46:52
93,798,533
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
/Users/matthew/anaconda3/lib/python3.6/hashlib.py
[ "porte404@uw.edu" ]
porte404@uw.edu
83f8eb10ba1e92f6e90b7448980c213b30724c5a
560d01d2c1f15410d0fd0ab8e402a5bbf8956eff
/sports_predict.py
311da9b33a189304b58a067fd7c341766d081c69
[]
no_license
Roland-coder/streamlit-app
63b4a1e5289cc267121b42f43372bb6eb6197dc6
21f9de4598b9d0697610efd803a87eab711d590b
refs/heads/main
2023-08-24T21:18:52.547215
2021-10-27T08:13:56
2021-10-27T08:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import streamlit as st import pandas as pd import pickle import numpy as np from PIL import Image from smart_open import smart_open # model = pickle.load(open('final_model.save.pkl', 'rb')) st.title("Sports Predict App") st.header("Sports Performace Prediction") st.write("This web app predicts the overall performanc...
[ "noreply@github.com" ]
Roland-coder.noreply@github.com
587618aea91148466d133ac9a83beda798de79ca
f4099d60ad515c444e6814c9879939af70d567f1
/calc_ca.py
8bd206f53881b0c01f3e36f26844bd2b2c414fe5
[]
no_license
atelierkarin/fm-j-league-data-reader
6af8cef349e4cb971163462c5a2605ee29256494
ccf461cabc45f215c92c4d1088b2597316fab73a
refs/heads/master
2022-09-13T12:36:28.551693
2020-05-23T08:52:13
2020-05-23T08:52:13
260,946,749
0
0
null
null
null
null
UTF-8
Python
false
false
2,013
py
import pandas as pd import numpy as np import pickle df = pd.read_csv('raw_data.csv') df['平均クラブ勝点'] = df['クラブ勝点'] / df['試合数'] df['平均試合出場数'] = df['試合出場数'] / df['試合数'] df['平均得点'] = df['得点'] / df['試合数'] df = pd.get_dummies(df, columns=['POS']) # Data with CA df_with_ca = df[df['CA'].notnull()] from sklearn.model_sele...
[ "atelierkarin@gmail.com" ]
atelierkarin@gmail.com
0f740d27d674e2a6797cc7ad1e2ca972ce4a70f1
37307ea56d688297f5655ff844a44fcd4d713f52
/偶数.py
16ce4328f38534c1a039bf09decac1058662a3d7
[]
no_license
know-c0de/python
e8b07784ce914745dbeff143776089408105885e
e031d5a3ddec804205a0600aea489f9ed1e0ec9c
refs/heads/master
2021-01-10T18:40:45.932567
2013-12-12T06:15:30
2013-12-12T06:15:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
655
py
#!/usr/bin/env python2.7.6 #coding=utf-8 # #Copyright 2013 the Melange authors. # #You may obtain a copy at # # https://github.com/know_c0de/python/ # #Author:know_c0de #Time:2013.11.13 #E-mail:xxxxxxxx@qq.com #Unless required by applicable law or agreed to in writing, software #distributed under the license is distrib...
[ "code.sec01@gmail.com" ]
code.sec01@gmail.com
e7468ca344e3696d679e74b70eaea262c3f43a78
fa60288b43e02dd1ef392ab16d8efc91468e438e
/Python Programs/csv_reader.py
2ad9c25f1e48861ef5f712592931e990813824e3
[]
no_license
manjot-baj/My_Python_Django
42fa5adc223888a16c3f4f017a9200cb4567d02d
43dbe17f7588bbc0ae60e403eec3a3788ebcfb36
refs/heads/master
2023-01-19T03:21:18.584091
2020-02-14T07:44:10
2020-02-14T07:44:10
232,131,850
0
0
null
2022-12-26T20:33:03
2020-01-06T15:41:27
CSS
UTF-8
Python
false
false
256
py
from csv import reader with open("file.csv","r") as file_csv: with open("file1.csv","w") as w_csv: csv_reader = reader(file_csv) next(csv_reader) for k,v in dict(csv_reader).items(): w_csv.write(f"{k} : {list(v)}\n")
[ "bajwa.mj78@gmail.com" ]
bajwa.mj78@gmail.com
7615302a3a6fa18b13dcc63cd0808b3928d4bd4c
5f801f2a34e97338591e0830fb9ba8e242a6a2b4
/DSProject1/WebScraper.py
2e1c132471199ddb3758e9ba7e2ce126fae99efb
[]
no_license
wesleymerrick/Data-Sci-Class
15b7ee1f60c1ac75b6d9d8df377f530a2070221d
ff2a66c52879f7c016df7d3bc4aa94ce3bce698f
refs/heads/master
2021-01-23T17:05:04.416498
2017-09-07T16:07:57
2017-09-07T16:07:57
102,756,971
0
0
null
null
null
null
UTF-8
Python
false
false
7,106
py
from __future__ import print_function from bs4 import BeautifulSoup import urllib import re # WebScraper.py # Toby Duncan and Wesley Merrick # COSC 480 - 01 # Mini Project 1 # 2/10/17 # List that holds the url's for each of the articles to scrape my_url_list = ["http://www.theonion.com/article/sixth-super-bowl-win-co...
[ "wesleymerrick@gmail.com" ]
wesleymerrick@gmail.com
8b119fb23c23050586e6ff415a734bd89f1705a3
e14775b035a71ad814d724abea0e41b3a9238ea4
/toSetDefaults.py
252225fb521f81db280a1cfbe2c04fefbc6a6042
[]
no_license
haris314/book-review
6aec307cc5727e4299be9eb0d90f799b2ffda04a
dfc6efd62629c312bbd20fca04c0f7b09e4eb1a2
refs/heads/master
2023-02-17T22:07:40.322878
2022-11-04T16:46:14
2022-11-04T16:46:14
213,733,741
1
0
null
2023-02-15T23:07:47
2019-10-08T19:25:08
HTML
UTF-8
Python
false
false
1,372
py
from extraLogic import shouldBePreFormatted import psycopg2 try: connection = psycopg2.connect(user = "acpntihfuaixij", password = "0d4d9e9d7d7c4f424ddd2c3056b12ff2f187e2d6d1316fa6717e82cc8e9d473b", host = "ec2-174-129-227-146.compute-1.amazonaws.c...
[ "hrs.haris.hrs@gmail.com" ]
hrs.haris.hrs@gmail.com
8a377e8d6ee0c16df50b175edee94deac516db51
1d85ee8d3a5ce672cb1fe77ce48f59e4b8d38402
/frontend/frontend/__init__.py
c66a7e548ded592eb9a8b9e1c40e4fb759ae54fe
[]
no_license
thomastodon/hello-gsa
cad382bb083e1d91a072d461fa4fac5d1f68c0b6
1300818466cc97f56b470e481e4ebde2351a44af
refs/heads/master
2021-05-01T03:33:32.013857
2016-09-19T01:55:13
2016-09-19T01:55:13
64,556,217
0
0
null
null
null
null
UTF-8
Python
false
false
84
py
import os from flask import Flask app = Flask(__name__) import frontend.views
[ "thomas.shouler@gmail.com" ]
thomas.shouler@gmail.com
f44574379435b1f2cd4ce38956cd022587c8a169
f64fde1c4ae338987b76c10c1029468143f1d83a
/Test_programs/stacking_arm/main.py
86a75d8333a3fe74d564dc64820892d75fccba01
[]
no_license
abhijithneilabraham/Project-ANTON
56a21941042034c9c2b407e25d4e75925a158e71
03478d9c9a537c2507a06e3c022a1092587cdc06
refs/heads/master
2023-04-01T21:01:14.568164
2020-05-01T14:19:24
2020-05-01T14:19:24
203,203,760
2
0
null
2023-03-24T22:42:40
2019-08-19T15:52:11
Python
UTF-8
Python
false
false
1,285
py
""" Make it more robust. Stop episode once the finger stop at the final position for 50 steps. Feature & reward engineering. """ from env import ArmEnv from rl import DDPG MAX_EPISODES = 900 MAX_EP_STEPS = 200 ON_TRAIN = False # set env env = ArmEnv() s_dim = env.state_dim a_dim = env.action_dim a_bound = env.action_...
[ "abhijithneilabrahampk@gmail.com" ]
abhijithneilabrahampk@gmail.com
19c0c8ba1f422877c884266898a022af1615d25e
dc666a49ef6e75546ab60251ea025a9b183713e3
/products/migrations/0041_autovoisin.py
1f65ee2b756d1aa6bda0aeb376787685be67de52
[]
no_license
cash2one/source
6c4503f8d05eaa149a278d4f81c80e289d6e5e61
61e082814d25c81007a2ff0cfae7f3a06c8c291d
refs/heads/master
2021-06-18T03:52:56.445654
2017-06-13T12:20:55
2017-06-13T12:20:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
41,368
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): depends_on = ( ("accounts", "0044_autovoisin"), ) def forwards(self, orm): eloue_site_id = 1 ...
[ "elena.lilac@gmail.com" ]
elena.lilac@gmail.com
96a2c8ceb28ab064438abaa8b14ad96c713bff9c
b1d921644161105c3fa12d51702565a22b3e0d1e
/typeidea/blog/migrations/0001_initial.py
84095c3a37f3779d83ece9dee0a3985fb3718f2e
[]
no_license
FATE-0/blog
01e74a1f105ea2fc1b27e69be376ce4270e32f13
fca878f68f8dc67a4e8b75d9c8f109d6e820375d
refs/heads/master
2020-06-19T10:17:35.152719
2019-07-19T11:17:26
2019-07-19T11:17:26
196,675,430
1
0
null
null
null
null
UTF-8
Python
false
false
3,347
py
# Generated by Django 2.2.3 on 2019-07-14 08:23 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "eric@example.com" ]
eric@example.com
79ce3d8730d723b0fcac829ec4d82d885bbddb31
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/StructuredProductsDealPackage/FPythonCode/SP_TrfExerciseCalculations.py
908ccec668aabaa4a82d6a6f0e52e0a4cb029113
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,027
py
#*************************************************************** # # Module calculating the settlement amounts # #*************************************************************** import acm from SP_TrfUtils import BuySellMapping, TrfHasBarrier, TrfExpiryEvent, TrfExpiryEventsSortedByDate from SP_DealPackageHelper im...
[ "nencho.georogiev@absa.africa" ]
nencho.georogiev@absa.africa
416fe336e3a5e6b20ac4785817ca044c4211e1a3
94d1a15d9696d42667ffce54a3efcb001afb65c8
/filtre.py
5cd639507b463961414ceb1c42ec722bd25d1960
[]
no_license
eren4321/pypr
4a8d0e2e26368c4debfb1e74bc00484a799c40ed
8ca77d1480e0f87b511d33e3199effb97dd2b27e
refs/heads/master
2020-04-15T04:51:18.633517
2019-04-15T14:44:21
2019-04-15T14:44:21
164,398,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,686
py
import pymongo from pymongo import MongoClient import io import json connection = MongoClient('localhost', 27017) db = connection.mydatabase collection = db.hurriyet a = db.hurriyet.find().limit(10).sort([("retweet", pymongo.DESCENDING)]) b = [] # for follower in a.sort('follower_count',pymongo.DESCENDING)...
[ "noreply@github.com" ]
eren4321.noreply@github.com
5e663842171e42b585b3f5adb7e25d0e60cb9a90
a8c1e1d90579828a95a3ff03fb45805219894daa
/Modulo6/accedientoArchivos/readLine.py
282bcb7193d9f3fcd67398ac141da6173093bb9d
[]
no_license
grimapatroy/Python_NETACAD
6f5db9596b7ad05b35b20403b0f382fad54bfd4f
f1a36714c22e4a83ef0d208e1a9420c0b34fd5ab
refs/heads/master
2023-08-16T23:30:15.999909
2021-09-16T18:27:35
2021-09-16T18:27:35
404,426,534
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
from os import strerror try: ccnt = lcnt = 0 s = open("C:\\Users\\Humanitroy\\Desktop\\file.txt", "rt") line = s.readline() while line != '': lcnt += 1 for ch in line: print(ch, end='') ccnt += 1 line = s.readline() s.close() print("\...
[ "lenin.coste@gmail.com" ]
lenin.coste@gmail.com
a264914ada26cf2cef65b45470569fb9c72b51bb
01dc09fdf4a9203da336b893650235f16ff5380f
/Backtest/Historical_BackTest/Neat/tf_neat-trader-intraday/no_hidden_layer/Tech_Input/simple/genome_test.py
91c0fbe7c5d8937396ad29d1897557fa3872d7e4
[]
no_license
webclinic017/RayTrader_v3
2b15228881bf7a08e90682a2364905317c282f65
2ea39946a2654dbc3b05b41abcaf5a4a4082a1b6
refs/heads/master
2023-03-16T04:40:41.392465
2019-06-04T04:46:46
2019-06-04T04:46:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
import glob import multiprocessing import trader_env import trader_data import visualize import reporter from statistics import mean import numpy as np import neat import pickle import matplotlib.pyplot as plt file_name = "G:\\AI Trading\\Code\\RayTrader_v3\\HistoricalData\\Min_data\\ADANIPORTS-EQ.csv" data = trader_...
[ "rayanup3@gmail.com" ]
rayanup3@gmail.com
408115b5701ae632cd084102df6c8ce618b892de
986b71467d606d3f339290734c646cdffc7f822e
/homework2/Solutions/q2_b.py
cce0374e54cfd563d8ff34a86c959487baad33ae
[]
no_license
hyhyjjyjy/Machine-Learning-9417
e4f556cab3f6d41efeaded666e32d23373a6c32f
0d498271dbd31333028a3c643bba8b686cf92f49
refs/heads/main
2023-08-29T02:08:47.386712
2021-11-03T02:25:56
2021-11-03T02:25:56
389,868,141
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
import numpy as np import matplotlib.pyplot as plt %matplotlib inline A = np.array([[1,0,1,-1],[-1,1,0,2],[0,-1,-2,1]]) b = np.array([[1],[2],[3]]) x = np.array([[1],[1],[1],[1]]) alpha = 0.1 k = 0 all_xs = [] alphas = [] alphas.append(0.1) all_xs.append(x) while 1 == 1: diff_x = np.dot(A.T,(np.dot(A, x) - b)) ...
[ "bunnydongao@gmail.com" ]
bunnydongao@gmail.com
696f8b7b5820a780c5b69af4b09a910c33f89eea
7a9d5f963cd5440ecd8b68340185628af32215a9
/main.py
6d519657ee2e64472db246872649fbd29e19fef1
[]
no_license
RomanZavodskikh/house_price_prediction_service
7e49e6e0eb4e807742ab5077fd64883b249d06b7
5d2a2b4ac500439961cc6d8ad18c02e69bf58341
refs/heads/master
2023-02-07T18:25:03.517701
2020-12-27T23:12:01
2020-12-27T23:12:01
323,147,091
0
1
null
2020-12-27T22:16:47
2020-12-20T19:17:48
HTML
UTF-8
Python
false
false
3,691
py
from regressor import Regressor from codecs import open import time from flask import Flask, render_template, request app = Flask(__name__) print("Load regressor") start_time = time.time() regressor = Regressor() print("Regressor is successfully loaded") print(time.time() - start_time, "seconds") @app.route("/", meth...
[ "Roman.Zavodskikh@acronis.com" ]
Roman.Zavodskikh@acronis.com
940b8d72bc9a7a19f531216fbae3406918a2a382
0d0663773f2f95b31610d53de08f883d71e4277f
/show_checkpoint.py
856bf61aecabfe0db675b726c6a2736a1c25753f
[]
no_license
THVi-xTHU/xthu
cd9705766a587408f94e5e70f38dfe37c9813c23
5c82949f28a32c0be34a45994d0098ffc5a058c1
refs/heads/master
2021-07-20T17:59:51.026522
2018-07-06T16:22:39
2018-07-06T16:22:39
134,022,347
2
0
null
null
null
null
UTF-8
Python
false
false
345
py
from tensorflow.python.tools import inspect_checkpoint as chkp model1='fcrn_depth_prediction/model/NYU_FCRN.ckpt' model2='KittiSeg/RUNS/KittiSeg_pretrained/model.ckpt-15999' #chkp.print_tensors_in_checkpoint_file(model1, tensor_name='depth', all_tensors=True) chkp.print_tensors_in_checkpoint_file(model2, tensor_name='s...
[ "thushenhan@gmail.com" ]
thushenhan@gmail.com
ec6062baf7c8fd523d227a088ce493e3a46ece16
8030effd125ce82de48868a320bae6a81e91c240
/singlePYexercise/Median.py
9ca7ed8c7909c774e2fdfaf8b206925fd9ec8ff3
[]
no_license
ttyyxxu/pythonWork
9da8684b3ef635d78105d9884591ce0a83416e78
fd557f1f5e58fbd1a5e2ef39bb69843d6fdd47d8
refs/heads/master
2023-08-06T00:55:48.900531
2021-09-27T10:04:29
2021-09-27T10:04:29
350,281,553
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
def findMedianSortedArrays(nums1, nums2): list_merge = [] list_merge.extend(nums1) list_merge.extend(nums2) list_merge.sort() print(list_merge) if list_merge == []: return None if len(list_merge) % 2 == 1: return list_merge[int((len(list_merge)-1)/2)] else: return...
[ "mcdyess_dunker@hotmail.com" ]
mcdyess_dunker@hotmail.com
f2bbd55a26eaa0aefba82dbb86521896c10127b6
797981a440bfd3fa6c005cc61c96d15d149ef121
/excel/main.py
edcce86761bb379ce82780b03ff5d7869d07ba5f
[]
no_license
gvuuvg/GeekGvuuvg
e556a0c0a2a78ac86400100f43cb6cedbfc59225
77179359e18255b7526324d14f31776461066a41
refs/heads/master
2023-08-23T20:15:01.133650
2021-10-22T12:46:58
2021-10-22T12:46:58
415,501,211
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
import xlrd import json # xlrd版本需要是1.2.0 data = xlrd.open_workbook("Book1.xlsx") table = data.sheets()[0] n = table.nrows stu = [] for i in range(n): if i == 0: continue stu.append(table.row_values(i)) json_data = json.dumps(stu) with open('stu_json.json','w') as f : f.write(json_data) with open('...
[ "h13983092340@163.com" ]
h13983092340@163.com
7f74cfbc1f54a349672430ed58e9f38036faf634
d80627829d3c7efefe5385f5ef20a1c3ac869f96
/service/en_patent_service.py
d3f512bf96ea1fc52beb7a4b14dfa3cb28c9be8b
[]
no_license
zhantanfeng/enterprise_project_df
42675109a4db6c4892bf7b1a033a2abc95129029
ffc88e871f2c050cf9ca5e54bfb2a145335554dd
refs/heads/master
2022-12-15T04:03:42.532493
2020-03-19T12:56:22
2020-03-19T12:56:22
246,612,129
0
0
null
2022-12-08T03:49:55
2020-03-11T15:43:01
JavaScript
UTF-8
Python
false
false
8,960
py
""" 处理有关企业专利信息的数据库获取结果的处理 """ import dao.enterprise_patent_dao as enterprise_patent_dao import dao.enterprise_dao as enterprise_dao from collections import Counter def get_en_info_by_patent(searched_patent): """ 根据企业成果检索企业 :param searched_patent: :return:企业信息 """ en_id_list = enterprise_patent_...
[ "1148705128@qq.com" ]
1148705128@qq.com
552f8201a844eb37e5bdbb4737bfcc762df98c5b
91f665f982b164eeb3b6db21eb047746e8488ba5
/resources.py
35dcdf4cdbc6af34019ba977b8f9058d84115a45
[]
no_license
46319943/qgis_plugin_homework
1dd6915b9617e55609c2dd858c64cb011742ab5d
94cb6bc74512a439effad1e5556e1bf9cbfeb3bd
refs/heads/master
2023-01-02T21:17:56.255944
2020-10-20T09:10:18
2020-10-20T09:10:18
305,649,392
0
0
null
null
null
null
UTF-8
Python
false
false
5,912
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.9.6) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x04\x0a\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\x17\x0...
[ "495384481@qq.com" ]
495384481@qq.com
513d71e4bf5d4a10269d5785e060daaa8ce0b977
796c913ba4bdfdf9d8f9c891dd97ff90d6b1bdd4
/plaid/api/link_token.py
74a10c1d92823a7e3fd934f7d492c3eb1281b91c
[ "MIT" ]
permissive
InspiredMember/plaid-python
44da758e676baac58d857588c7e34ed6e0c409f9
8bee5a907e0fd03c406b24a7b62166f86a42ca6b
refs/heads/master
2021-08-06T19:38:35.609908
2020-08-04T23:42:41
2020-08-04T23:42:41
206,851,929
0
0
MIT
2019-09-06T18:26:10
2019-09-06T18:26:10
null
UTF-8
Python
false
false
739
py
from plaid.api.api import API link_token_field_names = [ 'user', 'client_name', 'products', 'country_codes', 'language', 'redirect_uri', 'android_package_name', 'webhook', 'link_customization_name', 'access_token', 'account_filters', 'cross_app_item_add', 'payment_in...
[ "noreply@github.com" ]
InspiredMember.noreply@github.com
487890ec6dfa248593a93530920bc2c0b559b453
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/django/contrib/messages/storage/base.py
fd5d0c24aa8037c6beb35ed14e85fda6851aa798
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
5,643
py
from django.conf import settings from django.contrib.messages import constants, utils LEVEL_TAGS = utils.get_level_tags() class Message: """ Represent an actual message that can be stored in any of the supported storage classes (typically session- or cookie-based) and rendered in a view or template. ...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
5b6746bc96796294065d58ec98028daa3d44bbf9
2f5ab43956b947b836e8377370d786e5ee16e4b0
/sklearn2code/sym/test/test_printers.py
d1f8d27e37ac139c656be81f1359268ce15271d4
[ "MIT" ]
permissive
modusdatascience/sklearn2code
b175fb268fa2871c95f0e319f3cd35dd54561de9
3ab82d82aa89b18b18ff77a49d0a524f069d24b9
refs/heads/master
2022-09-11T06:16:37.604407
2022-08-24T04:43:59
2022-08-24T04:43:59
115,747,326
4
2
MIT
2018-05-01T00:11:51
2017-12-29T19:05:03
Python
UTF-8
Python
false
false
874
py
from sklearn2code.sym.expression import FiniteMap, Integer, false, true,\ IntegerVariable, RealPiecewise, RealNumber from sklearn2code.sym.printers import JavascriptPrinter from nose.tools import assert_equal def test_javascript_finite_map(): expr = FiniteMap({Integer(0): false, Integer(1): true}, IntegerVari...
[ "jcrudy@gmail.com" ]
jcrudy@gmail.com
1e50a1ac9ccf9fd437998f3c191d97aeaa03a6d2
288379497b95ff3a737ad7b26037138bc0d201fb
/app/markup.py
a691bdcfd25a9b4c9e95dea2c22da587f66800d4
[ "MIT" ]
permissive
yesudeep/greatshipgroup
5069df92bcae40d074ec9960b3d1f8161ff1046f
28530867683da44fd5f50e648972650a7ae5320a
refs/heads/master
2020-05-24T12:49:59.166880
2011-02-04T17:44:55
2011-02-04T17:44:55
466,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
""" Support for different markup languages for the body of a post. The following markup languages are supported: - HTML - Plain text - ReStructured Text - Markdown - Textile For ReStructuredText and Markdown syntax highlighting of source code is available. """ # TODO: Add summary rendering. # TODO: Docstrings. ...
[ "yesudeep@mia.local" ]
yesudeep@mia.local
23dc0ef96104eeaaf9e32141ff8e5a1af34080fe
32e6aa08aa5fe0707e2adb092d6f6804845d94bc
/calculator.py
48fba631283e35ea281956938ad89db5aaa9fc79
[]
no_license
shrishail-talukar/patrick-jane-text-editor
e2a888a946b13ed97eb34274c31b01115ba2b1cd
58feae1399b3984ec5971c185865d5ffc8b0f4af
refs/heads/master
2023-05-11T19:05:21.889071
2020-07-19T21:01:19
2020-07-19T21:01:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
#Author: Shrishail Talukar #Email: shrishailtalukar@gmail.com # A simple text editor, capable for creating a file, opening a file, and saving a file # Feel free to improve the software # Python 3x, and QtPy/PyQt5 is used import sys from qtpy import QtGui, QtCore, QtWidgets class Workplace(QtWidgets.QMainWindow): ...
[ "shrishailtalukar@gmail.com" ]
shrishailtalukar@gmail.com
6bb22a6d2fb6bfc0634b338ea727935c83a552e3
a5b8d71fd3876b76cb5183d5396625bd49bebb79
/mushi/apps/webui/views.py
cd21c8d6e9abbe60cc2a26308d37187b75e60efe
[ "Apache-2.0" ]
permissive
kyouko-taiga/mushi
1943d5b27296a76c12733f71ad9f3a9ef0f5d251
fbc6583f934aba814aca7bbd5717d8d8e146ad48
refs/heads/master
2021-01-10T08:04:41.000046
2015-06-07T22:59:39
2015-06-07T22:59:39
36,305,995
0
2
null
2015-07-01T17:58:58
2015-05-26T15:39:24
JavaScript
UTF-8
Python
false
false
1,256
py
# Copyright 2015 Dimitri Racordon # # 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 writi...
[ "kyouko.taiga@gmail.com" ]
kyouko.taiga@gmail.com
1a01f5c2747cdd429c329c7250f34280b5f686d2
412b699e0f497ac03d6618fe349f4469646c6f2d
/env/lib/python3.8/site-packages/web3/_utils/threads.py
ba45d8775e0e35fd72ae6117133e9d50ea23bdc3
[ "MIT" ]
permissive
EtienneBrJ/Portfolio
7c70573f02a5779f9070d6d9df58d460828176e3
6b8d8cf9622eadef47bd10690c1bf1e7fd892bfd
refs/heads/main
2023-09-03T15:03:43.698518
2021-11-04T01:02:33
2021-11-04T01:02:33
411,076,325
1
0
MIT
2021-10-31T13:43:09
2021-09-27T23:48:59
HTML
UTF-8
Python
false
false
3,979
py
""" A minimal implementation of the various gevent APIs used within this codebase. """ import threading import time from types import ( TracebackType, ) from typing import ( Any, Callable, Generic, Type, ) from web3._utils.compat import ( Literal, ) from web3.types import ( TReturn, ) cla...
[ "etiennebrxv@gmail.com" ]
etiennebrxv@gmail.com
39db9f762be3ee230422c09238b1b18e127682f6
b6145339bdc94182c6d79d9d56b42ae31f09c2ca
/problems/sliding_window/Max_Consecutive_Ones_III.py
608c37c5ea14def09351e18833f87843be802d67
[]
no_license
ruozhizhang/leetcode
b0f1860de9938d721d6bee81ff9ceda656ecfa40
ac9097a400095c96bcc72eb0c80e5df3cce9b0d1
refs/heads/master
2023-05-22T08:15:59.782523
2021-06-14T15:11:45
2021-06-14T15:11:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
''' https://leetcode.com/problems/max-consecutive-ones-iii/ Given an array A of 0s and 1s, we may change up to K values from 0 to 1. Return the length of the longest (contiguous) subarray that contains only 1s. Example 1: Input: A = [1,1,1,0,0,0,1,1,1,1,0], K = 2 Output: 6 Explanation: [1,1,1,0,0,1,1,1,1,1,1] Bolde...
[ "ruozhizhanglife@gmail.com" ]
ruozhizhanglife@gmail.com
98b2d069da09e52a0bcaf8917f2da0ce972ad801
4dca892ac2d33fcd84e78d8e6c95e7d5955f04d1
/welcome.py
30b2f55503bcc1441ee9712159b7ccc40b0cfc7d
[]
no_license
VipulRana/Covid-19-DataScience
a486d824b8a427dd91b44339db7bb94ccecb9c32
26dfa14fc5dca32e94f483434f27d8e59146bd39
refs/heads/main
2023-02-20T12:06:14.765997
2021-01-21T18:13:49
2021-01-21T18:13:49
331,713,569
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
from PyQt5 import QtCore, QtGui, QtWidgets from login import Ui_Login_Form class Ui_MainWindow(object): def login_form(self): self.LoginWindow = QtWidgets.QMainWindow() self.ui = Ui_Login_Form() self.ui.setupUi(self.LoginWindow) self.LoginWindow.show() def setupUi(sel...
[ "noreply@github.com" ]
VipulRana.noreply@github.com
1ddefea085b7f43177f6144a313adf9ae3ec8f87
805c4473e47c6be851c24fce0c0dfd9ea7719d56
/MAIN.py
c06c610a3a91866cd473c9ce6575bf29677f54f5
[]
no_license
siddharth-rawatt/Image-Caption-Genertor-
cb6ba11f37e8f0d93bea747d40e97b06d21447e5
9fb739ccfd9f25bb8e768d5cafbe195bfe93a7c0
refs/heads/main
2023-06-07T09:29:56.779318
2021-06-18T14:09:32
2021-06-18T14:09:32
378,161,893
0
0
null
null
null
null
UTF-8
Python
false
false
10,765
py
import string import numpy as np from PIL import Image import os from pickle import dump, load import numpy as np from keras.applications.xception import Xception, preprocess_input from keras.preprocessing.image import load_img, img_to_array from keras.preprocessing.text import Tokenizer from keras.preprocessi...
[ "noreply@github.com" ]
siddharth-rawatt.noreply@github.com
043d589eaaab4d2ab8c8f03c3d650ba3fcf23a53
dbb5f26b79fc06a98ae4c34de71a27a25aa8dc88
/ADA.py
865dd4e0dc861db73bf0420f62f97db5fc57dd57
[]
no_license
KordianD/Machine-Learning-Sebastian-Raschka
5a9b2f56c073f69cd27fccd40233fdcd10792683
fe08af9bc6b9790645120716fe78a71c12ecb9ad
refs/heads/master
2020-03-27T05:39:59.004664
2018-08-24T20:48:17
2018-08-24T20:48:17
146,038,134
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
import numpy as np import helper X, y = helper.get_iris_data(output_values_ranges=[-1, 1]) helper.plot_iris_data(X) class Ada: def __init__(self, learning_rate=0.01, epochs=50, random_state=1): self.learning_rate = learning_rate self.epochs = epochs self.random_state = random_state ...
[ "kordiandrozd@gmail.com" ]
kordiandrozd@gmail.com
65f8e1881f1f41d634cf77079fc9440bb4cb9813
6983b7e1b874cf38a28dba0756486c8ec1546124
/bard/views/entities_api.py
fde4e5ef5c35addd798afa3f0c7574f0a45ee5b6
[]
no_license
MathiasDarr/dakobed_bard
78cec739865fc092323b442bf1a2d5a41f0b970f
52f6d8a8d7109ebb61b12ca8577bac4182b1b59a
refs/heads/master
2023-05-10T03:27:59.781013
2021-05-30T03:56:53
2021-05-30T03:56:53
360,324,308
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
from flask import Blueprint, request import logging log = logging.getLogger(__name__) blueprint = Blueprint("entities_api", __name__) @blueprint.route("/api/2/entities",methods=["GET"]) def index(): """ :return: """ return "Entities API"
[ "mathias.darr@pnnl.gov" ]
mathias.darr@pnnl.gov
06acaf902c5984258838464d08953930f011acd6
cc36ad5eca8f31f26eea6bfe24abf5f6a484f506
/src/utils/helper.py
814bbfe3c350bc9a09cfa448268b268d8ae4dd4f
[ "MIT" ]
permissive
Ehsan-Tavan/twitter_crawlers
8479904287dc8ccdc5cf1312bb087a390cad42a2
0f117c3ef994c9e37a5bca41140e093181e90e4e
refs/heads/master
2023-06-03T12:41:17.700073
2021-06-24T04:47:53
2021-06-24T04:47:53
361,388,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,758
py
import datetime import pandas as pd def calculate_date(days: int) -> [str, str]: """ :param days: :return: """ # get today date end_date = datetime.datetime.now() day_past = datetime.timedelta(days=days) start_date = end_date - day_past end_date = end_date.strftime("%Y-%m-%d") ...
[ "tavan.ehsan@gmail.com" ]
tavan.ehsan@gmail.com
3914c9db6feaaf9a525477b46999f04886e29072
d9c5bee4aac8406732491c13dc2ece8f3bb1bede
/train.py
8fa001b642925c6a72e6bff9817079beb695aeb6
[ "Apache-2.0" ]
permissive
hehichens/NeuralStyle
db8c58927b6cbe133e27223cd8dc05cf95c74706
cf28a1eefd8713f85e94f50935562a663a53e8b5
refs/heads/main
2023-02-03T17:20:04.064327
2020-12-11T13:24:35
2020-12-11T13:24:35
320,439,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
""" trian model edit by hichens """ import time import torch import torchvision import os from utils.options import opt from utils.utils import * from utils.visualizer import Visualizer ## net net = create_model() ## Hyper Prameter batch_size = opt.batch_size ## visulizer visualizer = Visualizer() total_iter =...
[ "hichens@qq.com" ]
hichens@qq.com
d5439756a472a776f6e2de4f77152fbc8854b8cf
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/280/97935/submittedfiles/testes.py
d88ecb76f5e989a6ee41f07dc266207edd3ddf88
[]
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
2,328
py
""" valor=["X","O"] symh=valor[0] sympc=valor[1] print(symh) print(sympc) line1=[" "," "," "] line2=[" "," "," "] line3=[" "," "," "] print("|%s|%s|%s|" % (line1[0],line1[1],line1[2]) ) print("|%s|%s|%s|" % (line2[0],line2[1],line2[2]) ) print("|%s|%s|%s|" % (line3[0],line3[1],line3[2]) ) line1[2]=sym...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
6ef80220e480e093f7edc3333639f750931483ed
14b39545e132d31b74150e5dbc04a92d6bd121bd
/1010_calculo_simples.py
f8aee14feeef4622062325214980f88dc1a4c68b
[]
no_license
VictorJurado18/ExerciciosURIJudge
cc5d5d805b39cc04fd57789dbc1a343ab348612e
cca86843f04b69852f989fb1d707538f2aab63f5
refs/heads/master
2023-06-30T01:48:59.650147
2021-08-03T16:56:43
2021-08-03T16:56:43
392,388,707
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
c1, n1, p1 = input().split() c2, n2, p2 = input().split() c1 = int(c1) c2 = int(c2) n1 = int(n1) n2 = int(n2) p1 = float(p1) p2 = float(p2) valor = (n1 * p1) + (n2 * p2) print(f'VALOR A PAGAR: R$ {valor:.2f}')
[ "victor.nemejur@gmail.com" ]
victor.nemejur@gmail.com
9f79d6436bdd0d131e2f876c83e4b482712e8060
1abc28811934bb0c533a2b808d84c2e834348f13
/test_map.py
8f0e2befb9c9ca1629fab78892b18a97a189f4c7
[]
no_license
gorohovIlya/my_project
729ba599aa6c3b0be7c5257471c580c889ce2fba
9f5e6a0fd719f0a90074350bbb6707617904ad33
refs/heads/main
2023-09-04T20:29:07.781880
2021-11-12T12:56:42
2021-11-12T12:56:42
423,747,948
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'test_map.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import Q...
[ "noreply@github.com" ]
gorohovIlya.noreply@github.com
3b86e81c1aefa746ea0b2327c9bc1e620689dd0a
7a013424c82b71bc82aa312e0165a1af4170ac23
/ABC/ABC173/C.py
c0f86d46455b822b965fac48b703f8bf73750487
[]
no_license
kikugawa-shoma/Atcoder
fe3405e36dd3e4e25127b6110d6009db507e7095
7299116b7beb84815fe34d41f640a2ad1e74ba29
refs/heads/master
2020-12-21T19:10:12.471507
2020-10-10T16:38:18
2020-10-10T16:38:18
236,531,207
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
import copy H,W,K = map(int,input().split()) C = [list(input()) for _ in range(H)] M = [[0]*W for _ in range(H)] for i in range(H): for j in range(W): if C[i][j] == "#": M[i][j] = 1 def bit_01(keta): ans = [] for i in range(2**(keta)): ans.append("".join(["{:0", ...
[ "kikugawa-s@sys.i.kyoto-u.ac.jp" ]
kikugawa-s@sys.i.kyoto-u.ac.jp
54fdddb266d157a4dd0830794c7f6c1adaf0e53d
55a7490f3fef92cac6d7aeed9674dcfe51e3ea78
/pollster/polls/admin.py
02f0fe9bb0db1656b1109356dbe5a9a7278d31a1
[ "MIT" ]
permissive
ImInYourPie/django-polls
109a5c7cb6b637e36f6fe2be361720a3b9f45f9b
56e0fc6152b555f7de4bdc9326ff35f3508ac4b0
refs/heads/main
2023-01-14T10:53:06.447824
2020-11-23T19:44:53
2020-11-23T19:44:53
315,326,474
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
from django.contrib import admin # Models from .models import Question, Choice admin.site.site_header = "Pollster Admin" admin.site.site_title = "Pollster Admin Area" admin.site.index_title = "Welcome to the Pollster admin area" class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class Quest...
[ "iminyourpie@gmail.com" ]
iminyourpie@gmail.com
9176d3e53da70f0692fbab648cb4c76f58216f6d
059c4606fd93b70c244a0017cc1727d1b951e75a
/5-packages/http-examples/httpie-notes/httpie/context.py
c0840c9d051252a44b25937acfd607e94db2b7e7
[ "BSD-3-Clause" ]
permissive
andyguwc/python-resources
1f6850b1fde243912644530ee8985ae09773c68e
d8ab7e54d287a697e4763a36b10136af461ec820
refs/heads/master
2021-06-24T13:30:25.196129
2021-03-02T03:11:49
2021-03-02T03:11:49
210,958,803
1
1
null
2019-10-25T03:12:31
2019-09-25T23:29:29
Python
UTF-8
Python
false
false
3,005
py
import os import sys from pathlib import Path from typing import Union, IO, Optional try: import curses except ImportError: curses = None # Compiled w/o curses from httpie.compat import is_windows from httpie.config import DEFAULT_CONFIG_DIR, Config, ConfigFileError from httpie.utils import repr_dict # u...
[ "tianyou.gu@gmail.com" ]
tianyou.gu@gmail.com
da2ea8e51998c780767ce2552d82184f69db07fe
8015f1c62a2cb4efd21aa8938336913bf8117868
/bamap/ba4199.pngMap.py
1ad5d97a840efedf5f02dfe430ab6575dc397483
[]
no_license
GamerNoTitle/Beepers-and-OLED
675b5e3c179df0f0e27b42bf594c43860d03b9af
afe1340e5394ae96bda5f9022a8a66824368091e
refs/heads/master
2020-04-20T00:09:47.122471
2019-04-29T04:59:35
2019-04-29T04:59:35
168,515,579
4
2
null
null
null
null
UTF-8
Python
false
false
8,468
py
ba4199.pngMap = [ '00000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111100000000000000000', '00000000000000000000000000000000000000000000000000000000000000000000000011111111111111111111111111111111111111110000000000000000', '0000000000000000000000000000000000000...
[ "bili33@87ouo.top" ]
bili33@87ouo.top
51e4dce7f469cd88b25fc829aac70141681ca957
5d428cb2022457d2e4cadd1b4898b3375446da6a
/PID Control/PController.py
5e4260a4b6aa99de12882c9b052ed2d38ddaa2e0
[]
no_license
Dheenu-kasinathan/AI-for-Robotics
b6d7784b34d132b533bc23ca8327ff06f0439625
2cc27eaeba91ab64a2f162a477a15eb3ec6cfbb4
refs/heads/master
2020-05-07T21:34:05.703775
2019-04-14T19:21:03
2019-04-14T19:21:03
180,909,977
0
0
null
null
null
null
UTF-8
Python
false
false
3,846
py
# User Instructions # # Implement a P controller by running 100 iterations # of robot motion. The desired trajectory for the # robot is the x-axis. The steering angle should be set # by the parameter tau so that: # # steering = -tau * crosstrack_error # # You'll only need to modify the `run` function at the bottom. # ...
[ "noreply@github.com" ]
Dheenu-kasinathan.noreply@github.com
7cd3d0a6157fdb13adcb05da8c44356000f7062c
29787e0aaa63b36c78f5a9c09ce687359c348dfd
/hosting_benchmark/inc/taxonomies.py
3ced00cb00d5907f70c512ce45a2350580b96bfb
[ "MIT" ]
permissive
samupl/hosting-benchmark
b9d7333a9aa89ee4f4bc70ec730326007b13cd83
b5529d92c30a9de29f6799e1eba64a4df7e30617
refs/heads/master
2022-12-27T02:47:18.878218
2020-07-15T14:13:12
2020-07-15T14:13:12
258,129,105
2
2
MIT
2020-10-03T12:30:23
2020-04-23T07:37:25
PHP
UTF-8
Python
false
false
191
py
"""Hosting benchmark taxonomies.""" from typing import NamedTuple class BenchmarkResult(NamedTuple): """Single benchmark result.""" timestamp: float number: int data: dict
[ "s@samu.pl" ]
s@samu.pl
cf6456ac85f4543949c393b10e7523d303358601
6755e2b3852245cb284116765e3939bfabeb0ee0
/mult.py
30900973eb8dbe08778fdfb584305613539f6b88
[ "MIT" ]
permissive
Seanny123/nef-conceptors
97977b2bd3a1fbad6c6890576e4f3b13a7c41e9e
e6b16282d2082563b687543734d2960927380e63
refs/heads/master
2020-03-26T13:12:14.477642
2018-12-22T15:09:42
2018-12-22T15:09:42
51,094,034
1
0
null
null
null
null
UTF-8
Python
false
false
5,016
py
# try boosting a pattern from dmp_utils import * from process import * import scipy.io from scipy import interpolate import nengo import numpy as np import ipdb def make_dmp_net(functions, input_obj, output_obj, name=""): """create one point attractor per dimension with goals as nodes and one unified neuron...
[ "seanaubin@gmail.com" ]
seanaubin@gmail.com
559e33669cbc8f83386aa25aa905becbb1f9ce81
51ea2ab69aa86d5b2cfb7e4ca8f857d34d5299ac
/parser.py
daf7511a63bc06040903ce2eb8fa1e7f4dbd90d2
[]
no_license
bmys/py2js
9042f29521ed60226e635db0659151cb214a0411
74b93ba87b93105a23b6da3d91dd961f0e68307a
refs/heads/master
2020-04-12T17:03:57.771615
2018-12-20T23:39:02
2018-12-20T23:39:02
162,633,578
0
0
null
null
null
null
UTF-8
Python
false
false
2,341
py
#! /usr/bin/python3 import sys, re # Loading file file_name = sys.argv[1] file_content = None try: with open(file_name, 'r') as file: file_content = file.readlines() except FileNotFoundError: print(f'File "{file_name}" not found') sys.exit(1) intent_val = [(value.count(' '), value.strip()) fo...
[ "noreply@github.com" ]
bmys.noreply@github.com
96d4ef0f26cb6a613175373d07d8b3f5b5f395e2
b643362050950db4dd62924b1d091e1a9d556fe7
/Own notes/Ch_4_exercises.py
cbb2ee11f88d1c3f91fb3e871245fddd4fd60ac7
[]
no_license
t-redactyl/Practical-Programming-exercises
bc6be513b79bcd70dc6777c9248c89bbe51ec9cb
49754b13b10417746fbde73921b79343e8020b8d
refs/heads/master
2021-01-10T03:16:09.815697
2015-11-08T00:28:29
2015-11-08T00:28:29
44,232,631
3
4
null
null
null
null
UTF-8
Python
false
false
691
py
# Exercises for Chapter 4 import math print "The absolute rounded value of -4.3 is %f." % (abs(round(-4.3))) print "The ceiling of the sin of 34.5 is %f." % (math.ceil(math.sin(34.5))) import calendar print "The number of leap years between 2000 and 2050 is %d." % (calendar.leapdays(2000, 2050)) print "The day of the...
[ "jodie.burchell@gmail.com" ]
jodie.burchell@gmail.com
422abca4bacf6e2ba6f5234bc20564e9345ab709
1ae7de4b306d61a6648062ed289c62fbfdbd0fcf
/app/core/migrations/0001_initial.py
ef0006a0b9451d0c7e3413d33c0228abb13607a8
[ "MIT" ]
permissive
manuelmillares/recipe-app-api
57259d72c81a2d0c27a45c7bb2ec29c74ba285b0
eda84164b7d6256d4d39bbd688197427620b9089
refs/heads/master
2022-12-04T20:45:11.616756
2020-08-17T20:10:19
2020-08-17T20:10:19
285,604,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
# Generated by Django 2.1.15 on 2020-08-10 21:36 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "manuelmillares1@gmail.com" ]
manuelmillares1@gmail.com
20ac39525465b241ccea7a33d723555f6ef67591
ef91b74131b8791800d2365982edbfaf515ef54a
/day4/02_BeautifulSoup/ex04_monthly_savings.py
971a91ad5664dac688b889dc9f58bcf2687ffcee
[]
no_license
akatkar/python-training-examples
ec749f58698fc1cfa458246ce11069f94d25027e
8afa2e347c079a84740f4559e78c1be55eed5226
refs/heads/master
2020-05-16T03:32:22.613770
2019-04-22T09:15:14
2019-04-22T09:25:17
182,726,662
1
1
null
null
null
null
UTF-8
Python
false
false
777
py
from bs4 import BeautifulSoup with open("index.html") as fp: bs = BeautifulSoup(fp,"html.parser") def findTable(caption): for table in bs.find_all("table"): if table.find("caption").text.strip() == caption: return table savings = findTable("Monthly savings") if savings: headers = [he...
[ "alikatkar@gmail.com" ]
alikatkar@gmail.com
ab9827b3472bc7c44a3a1d38cfa64e8dc1a5eae9
5a8c6abdfa55b31e42e39866122eaaaf93cd40f6
/src/player.py
e0f075b043522c47e143537eaf4c13bc51ddeba8
[]
no_license
ycchen00/Mancala
671fa8834a86380f1e75b25f7b09491eb733403e
73942072d6bd25133fc8b63272b87f0462b25f97
refs/heads/master
2023-08-21T01:49:17.651404
2021-10-26T03:05:01
2021-10-26T03:05:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,187
py
from math import floor, ceil from random import choice from copy import deepcopy class Player(object): def __init__(self, index, algo, maximum_depth=float("inf"), depth=0): """Init a player --- index: 1/2 -> palyer1/2 algo: the pattern of the player human/random/... --- ...
[ "chen.yuchi@zkyunkang.com" ]
chen.yuchi@zkyunkang.com
05eacae54547837444451aba6a9ab0c685add15e
03198f075072bfb9d5c5afab2fef99d3ec5f37db
/source/api_v2/serializers/advert.py
8c9cf5e5ce4d0f747676fb2b5908d2bbc2e61240
[]
no_license
Azer-Denker/Ex_12
2c402dffddbf726bfaab61f5022ea0cf6b6b3562
97d4eda2d621163c6e12ea388569b50157d09fd5
refs/heads/main
2023-07-14T19:05:39.763400
2021-08-21T13:30:31
2021-08-21T13:30:31
398,558,342
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
from rest_framework import serializers from webapp.models import Advert class AdvertSerializer(serializers.ModelSerializer): class Meta: model = Advert fields = ('id', 'title', 'text', 'author', 'created_at') read_only_fields = ('author', 'id') def create(self, validated_data): ...
[ "azerarlen312@gmail.com" ]
azerarlen312@gmail.com
29b9f78a2e90b472d3ff3098109f5326941fa354
3fcf1e68ef4a0af441842212335a47e11c42781c
/Examples_2/tut9.py
9512d4a888251b2223e8a8dd0bc744102354555d
[]
no_license
fatihinz/Python
27fac03b2a12a6e2593fef1d1a2515a4fbc401d6
d28cecf9c4c50346dcf1a88ff46305527662ec12
refs/heads/master
2022-09-27T01:58:15.604257
2020-06-08T15:58:15
2020-06-08T15:58:15
270,626,738
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
class Pet: def __init__(self, name, age): self.name = name self.age = age def talk(self): raise NotImplementedError("Subclass must implement abstract method") class Cat(Pet): def __init__(self, name, age): super().__init__(name, age) #super class method is here def talk(self): return "meowww" c...
[ "fatihyavuzyilmaz@gmail.com" ]
fatihyavuzyilmaz@gmail.com
e9078507a849826c1f513f40a618688cfec435d6
ea6e3f65e16dea89f2504f3831962d50092da3a5
/node.py
a51a5c9efedef48dbc1b4683d4cf176cbb7a6c5f
[]
no_license
evelyn2309/ba-bernhardt
8dacf2e736392117894b0f432648ce3ce226b371
301a2f21ab1e331ff1884a8e1207f3480be037ef
refs/heads/master
2020-08-04T06:50:45.627979
2019-10-01T11:42:46
2019-10-01T11:42:46
212,044,693
1
0
null
null
null
null
UTF-8
Python
false
false
441
py
from connection import * class Node(object): def __init__(self): self.conn = Connection() def setup_node(self, address, port): """ Fucntion to setup a node. :param address: must be string. :param port: must be int. :return: None. """ self.conn....
[ "ebernhar@students.uni-mainz.de" ]
ebernhar@students.uni-mainz.de
cb77d2630711423eb7b83a180fcc926ec8cfc5e2
7c7246dc641f2fc8799acaa10869b5e9b6d354ed
/venv/Scripts/django-admin.py
09976efe86b1bbd77b0366473720877ede991118
[]
no_license
lamador25/DevOps
3acb061277b67db5dc87ca62a83332ca54ca6d31
f84183d6cd1df801163b2b1438babfab4be3e369
refs/heads/master
2020-03-27T03:57:14.895937
2018-08-24T23:18:34
2018-08-24T23:18:41
145,901,127
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
#!D:\PycharmProjects\DevOps\venv\Scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "lamador@homecenter.co" ]
lamador@homecenter.co
115a35d4b021fae36e6c329d886c3c877510221f
2813274dd110773a70f3c7192ff9fb0a5c5233b4
/UI_Sqlite3_PyQt/sqlite_main.py
6f670f62c1da7cb05cfcdaaf9b6b72d6f45c613a
[]
no_license
krzover/myPython
4a37a363cf4ae3838c0f95ffb6126d1811b7cca1
38b3d69e02dee6b8e5b8b22e546080359ce16380
refs/heads/master
2021-01-13T01:18:50.366259
2017-04-28T06:54:12
2017-04-28T06:54:12
81,800,729
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
#coding:utf-8 from PyQt5.QtWidgets import QApplication,QMainWindow from PyQt5 import uic import sqlite3 import sqlite_table import sqlite_class import sys import os class manager(QMainWindow): def __init__(self): QMainWindow.__init__(self) self = uic.loadUi('ui_main.ui',self) def sql_ad...
[ "krzover@gmail.com" ]
krzover@gmail.com
577585d5d219c57f9600b650ba385b7862d9cbc8
f5d79d70faf6e12ed1152f1fbbf0441c28c1acbf
/process_incoming_data.py
7e49b75a8aab35bfe10af3121d4057c0e633c236
[]
no_license
DalavanCloud/consumer-credit-trends-data
f1ebfa0b83e498b086a5f4fabcebb63f1c0e0e48
1cd04b96051de7b874e3a1097110c913a0166fbc
refs/heads/master
2020-04-25T06:43:18.892148
2018-10-05T16:08:37
2018-10-05T16:08:37
172,590,367
1
0
null
2019-02-25T21:47:06
2019-02-25T21:47:06
null
UTF-8
Python
false
false
27,011
py
#!/usr/bin/env python """ Processes incoming data from the Office of Research and munges it into the output formats expected by the CFPB chart display organisms. Output formats are documented at www.github.com/cfpb/consumer-credit-trends """ # Python library imports import os import datetime import logging # Local i...
[ "hillary.jeffrey@cfpb.gov" ]
hillary.jeffrey@cfpb.gov
efceb7bfde0ca3da44a812a43f838b7ac79170bb
79eb159b3ee36eb76bd921be24081708f44ac735
/tests/test_codec.py
d9f73bcd0a34d29503f034d3199e6d5a2172f9d8
[]
no_license
osh/PyAV
d7139f8faf7ee0973376db807e3b917863e9fb73
5fa85fd142ee8dabf01f4873e29678aeca153b4f
refs/heads/master
2021-01-18T13:24:52.202662
2015-12-11T04:01:52
2015-12-11T04:01:52
47,802,016
1
0
null
2015-12-11T03:12:18
2015-12-11T03:12:18
null
UTF-8
Python
false
false
620
py
from .common import * from av.codec import Codec from av.video.format import VideoFormat class TestCodecs(TestCase): def test_codec_mpeg4(self): c = Codec('mpeg4') self.assertEqual(c.name, 'mpeg4') self.assertEqual(c.long_name, 'MPEG-4 part 2') self.assertEqual(c.type, 'video') ...
[ "github@mikeboers.com" ]
github@mikeboers.com