blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
c785d2e4b3ac49ac959fd7e958407cf973ca6e7c
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/erpnext/2017/4/product.py
d7afc3bfba6e3210089c690952f76794b1c68de6
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
3,344
py
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe from frappe.utils import cint, fmt_money, flt from erpnext.shopping_cart.cart import _get_cart_quotation from erpnext.shopping_cart.docty...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
4fed06b375f7b7273187a58d91f4dbef56e11511
061053268be2ec664f141d26399075476782fb71
/lib/commands/list_graphcool_events.py
d838b76427e23805db3b76761efb6cb70bf71a41
[]
no_license
ChristChurchMayfair/ccm_talks_tools
7ebf83a295c1bb588534e84fb5f12188c42e34ce
10df7b6d3e875bda19b28db601a48827ef37796b
refs/heads/master
2020-03-30T02:51:44.617377
2019-02-06T10:49:29
2019-02-06T10:49:29
150,654,977
0
0
null
2019-02-06T10:49:30
2018-09-27T22:28:40
Python
UTF-8
Python
false
false
1,205
py
import json import click import yaml from graphqlclient import GraphQLClient from lib.graphql_queries import list_speakers, list_events from lib.model.event import Event from lib.model.speaker import Speaker @click.command() @click.option('--graphcoolcredsfile', default=".graphcoolcreds.yml", help='A file containing...
[ "tduckering@apple.com" ]
tduckering@apple.com
5482761634d54af947e99daecefee877583a2354
482ed16cd1c8d721e98a9c460555802f7cce8906
/run-tests/t215.py
27cadff3837c3630b1d0c5d1e14f0d436502eb85
[ "MIT" ]
permissive
forkcodeaiyc/skulpt_parser
ea2347b2a452476854cf03412474fae63bca31c0
dd592e9b91bcbbe0c5cfdb5c2da0fb5ae604a428
refs/heads/master
2023-09-04T11:32:09.760317
2021-10-11T22:58:18
2021-10-11T22:58:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
def wee(waa, woo=False, wii=True): return ("OK", waa, woo, wii) print((wee("stuff"))) print((wee("stuff", "dog"))) print((wee("stuff", "dog", "cat"))) print((wee("stuff", wii="lamma"))) print((wee(wii="lamma", waa="pocky"))) print((wee(wii="lamma", waa="pocky", woo="blorp")))
[ "albert-jan.nijburg@babylonhealth.com" ]
albert-jan.nijburg@babylonhealth.com
84b131edd610e480863f8b33c7cc96c4e6f6c99f
0c7b52370ab1ee5c908e3aa9d1e4cdef72582273
/app/handlers/base_handler.py
f6c294c2f4d749774f2da27738fae67e958f7788
[]
no_license
aakanksha4695/Discussion-Board-Api
ff9a0ec13a8ec304cee3ae7ba483554c6a03f28b
08c09f332e637a2e74b7af7b28b91c585e635ec3
refs/heads/master
2022-10-07T20:32:09.648546
2019-12-17T20:59:43
2019-12-17T20:59:43
228,700,392
0
0
null
2022-09-16T18:15:03
2019-12-17T20:57:56
Python
UTF-8
Python
false
false
430
py
import logging from flask_restful import Resource from flask import request from app import db from app import flask_app from app.config import Config from flask import g logger = logging.getLogger(__name__) class BaseHandler(Resource): def return_json(self, status=200, msg="Success"): return {"status":...
[ "ekwinder.singh@mswipe.com" ]
ekwinder.singh@mswipe.com
9cd162832c1cf32bcfebf3df9a3d6104f144388f
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-gaussdb/huaweicloudsdkgaussdb/v3/model/create_dns_name_req.py
c1802c0c024f9ba5a8177adbe67381df209d2c32
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,100
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class CreateDnsNameReq: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute n...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e6ea0e58b0ba51b6bedac8cd7d7b771f1d5db5b1
fbb3a5eb78b636f9a676e7b06b59e7f89a9d4cad
/nonlinear_solvers/steepest_descent.py
5a84be513445970672297ebea4a762bdfec576a3
[]
no_license
prhorn/python_machine_learning
b1e6f30ce874c86e8ea1cc935a681851ce7a82f1
3cd13a4d1beec8d580a1396539ab22eb49f9925f
refs/heads/master
2021-01-10T04:38:06.388478
2016-02-21T21:57:37
2016-02-21T21:57:37
44,710,869
0
0
null
null
null
null
UTF-8
Python
false
false
4,142
py
import numpy as np import sys import math from line_search import line_search #simple steepest descent with line search class steepest_descent: #{ # comment - description of our update # error - our current error # the_problem - an object that knows how to perform problem-specific operations ...
[ "prhorn@stardust.local" ]
prhorn@stardust.local
3e4b152c1448db9193873505bc8740f5238ade39
f465fdcc962a00b59a29f16d12bea5b781ca22aa
/final/comparison_plot.py
7f885f324fa87b64a43f772c60fa05426fd8ceba
[]
no_license
PyaePhyoKhant/RL-with-open-AI-gym
4c509229c199756d0722fd7bc0b707f102316186
21e247992a5283b531fd9914db0cd3e805ee5ae6
refs/heads/master
2020-03-21T16:30:09.760949
2018-10-06T10:22:34
2018-10-06T10:22:34
138,773,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,024
py
import matplotlib.pyplot as plt wo_train = [] with open('without_optimize_training.txt', 'r') as f: for line in f: wo_train.append(float(line)) w_train = [] with open('with_optimize_training.txt', 'r') as f: for line in f: w_train.append(float(line)) plt.plot(wo_train, 'b', label='without opt...
[ "lanmadawsmith@gmail.com" ]
lanmadawsmith@gmail.com
a8cedb3cad0f4917561f56577e9d04b2b2c023e2
4d717d2c8147036483dce1cdd131b27d9e912e19
/file_test2.py
fe9e4891d91e9695f41229e3c049b187d7dd8cea
[]
no_license
yRxf/python
e21fea4bd8ba60aba32a06da9ea7c8e040fb34b4
4442a473851c5bf07c280c72ed3c3caadcbfbe62
refs/heads/master
2022-11-24T06:39:09.723809
2020-06-30T16:00:45
2020-06-30T16:00:45
258,064,597
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
class file(): def __init__(self,filename): self.filename = filename self.file_ = '' def file_write(self): try: with open(self.filename) as self.file_: pass except FileNotFoundError: self.file_ = open(self.filename,'w') ...
[ "noreply@github.com" ]
yRxf.noreply@github.com
84bfb6b46fb5bd9b3d3218a3ec40b3cfe8cbb87e
272e8dce35a6331684d5941d664ac24d1140da86
/src/main_naive_bayes.py
c1892fd6d596a909e55b4e18efa065aad30f07d3
[]
no_license
BrainBroader/IMDbClassifier
1ebdf27318224af317b7618f8900bb7c4af35779
29279a3e15cd77f118a61fad13b5a00351a96aaf
refs/heads/master
2023-02-27T00:55:42.401249
2021-02-04T21:04:11
2021-02-04T21:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,889
py
import sys from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt from file import read_data from models.naive_bayes_clf import MultinomialNaiveBayes from metrics import accuracy, precision_recall, f1 def main(): train_path = sys.argv[1] + '\\train\\' test_path = sys.argv[1] +...
[ "lambroslntz15@gmail.com" ]
lambroslntz15@gmail.com
9947406052c6a4c55532c5c35f899f462225b503
0a47f736deacb7e8d55adb807575617f873c4787
/simulate_place_cell_Type_A_shifted_inh.py
01b6da3aedcc2bbbb2bad0518da135201676bacd
[]
no_license
domni/CA1Sim
9bd23c746c325d3387b54303dccc0dcbb4f5ba1f
37b90d15e7eec7073736460ac0f5ab26ad97b70c
refs/heads/master
2021-01-15T15:23:47.726695
2016-07-18T02:18:02
2016-07-18T02:18:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,920
py
__author__ = 'milsteina' from specify_cells import * from plot_results import * import random import sys """ In this version of the simulation, phase precession of CA3 inputs is implemented using the method from Chadwick et al., Elife, 2015, which uses a circular gaussian with a phase sensitivity factor that effectivel...
[ "neurosutras@gmail.com" ]
neurosutras@gmail.com
348545a60d077bff0734073fbbc179fd101744d3
c153228c39667875b9bed57359b2fd6cc7869bee
/socialite/account/urls.py
b9e42e351cca938bf17f73c15660193867af281e
[]
no_license
prakashkumarbhanja/Being_Coder_Social_Media
d4563b775094d5c0fd8fcd2eee7c3720f241ca93
d9d59080cd83823c3bcf20da0aa13a4081add089
refs/heads/master
2022-12-11T21:02:05.499950
2020-08-29T18:08:30
2020-08-29T18:08:30
291,322,566
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
from django.urls import path from . import views from .views import * urlpatterns = [ path('', views.sign_up_view, name='sign_up'), path('activate/<uidb64>/<token>', views.activate, name='activate'), path('login/', views.login_view, name='login_view'), path('logout/', views.logout_request, name='log...
[ "pkbhanja9@gmail.com" ]
pkbhanja9@gmail.com
2bfb1039b383a20788b3244975774fcd31c2f006
ae67d8257d5800eb627a443e86329b3a8db97324
/apps/models/base.py
4c972e333c7b2f985717e43ff0e29391b3d75ee8
[]
no_license
young-tim/flask-project-directory
de5df3f67d5c450bd9c799c9a87dec145cad85df
57918e9fa1ff75a0def457692c2f13b984f477aa
refs/heads/main
2023-08-20T14:45:56.854769
2021-09-16T03:24:09
2021-09-16T03:24:09
406,994,243
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
#encoding: utf-8 from apps.app import db from apps.configs.db_config import DB_CONFIG from datetime import datetime import time import copy from sqlalchemy.ext.declarative import declared_attr from apps.app import weblog class BaseModel(db.Model): """ 设为db基类 """ # Flask-SQLAlchemy创建table时,如何声明基类(这个类不会...
[ "610951468@qq.com" ]
610951468@qq.com
e2fb9eb7e8c014f32f0fba90b3e576ba02f8cbcb
105f03c81499f1c640cc64be753f952edbd7f1d3
/ica_vs_pca.py
df97864fb1226441481b257735799e0931bf0ddb
[]
no_license
rghiglia/ML_Process
4ee390dc0bce257f96c91749588813c0293fd53f
b5907553934182a2f104118bf4a52806044ddae4
refs/heads/master
2020-04-02T21:19:52.768389
2016-06-06T13:50:44
2016-06-06T13:50:44
60,531,731
0
0
null
null
null
null
UTF-8
Python
false
false
1,843
py
# -*- coding: utf-8 -*- """ Created on Mon May 23 14:27:31 2016 @author: rghiglia """ from sklearn.decomposition import FastICA, PCA import numpy as np import matplotlib.pyplot as plt from scipy import signal ############################################################################### # Generate sample data np.r...
[ "rghigliaus@yahoo.com" ]
rghigliaus@yahoo.com
e0dcb6d9ac235830ca55f46d9da077afa615e8ac
2a45507fff25c42cad05b52d83d011fea0909be5
/Gfg/Python/max_subtree_sum.py
03da2ec5d40505ce5dcd227ca6b784673614061c
[ "MIT" ]
permissive
Sharayu1071/Daily-Coding-DS-ALGO-Practice
dc8256e76d43952f679236df904f597908fbda13
2c424b33a1385085f97b98d6379d6cd9cc71b1bd
refs/heads/main
2023-08-30T17:49:44.312613
2021-10-03T04:21:21
2021-10-03T04:21:21
412,973,714
3
0
MIT
2021-10-03T04:18:20
2021-10-03T04:18:19
null
UTF-8
Python
false
false
1,643
py
#Program to find Maximum possible subtree sum in a tree class newNode: def __init__(self, key): self.key = key self.left = self.right = None def findLargestSubtreeSumUtil(root, ans): # If current node is None then # return 0 to parent node. if (root == None):...
[ "noreply@github.com" ]
Sharayu1071.noreply@github.com
8fb85eaebfe108f00c14e927e0c083bf43f087eb
ce1339e4d87087a1fe417c81dd40b9e686dbe455
/server_tools/tf_serving_tools/tfserving-python-predict-client/predict_client/prod_client.py
9af3d398dc141aeef127920fa15f74a64fb9bfbb
[]
no_license
vovdlbezgod/Remake_app_union
09bcfd645b190b68885386050f56d127c67f99f1
9551d1a77baf6c3ab0f0a01c0324ba331ed47b88
refs/heads/master
2020-04-02T10:45:35.139746
2018-10-23T20:54:13
2018-10-23T20:54:13
154,353,520
0
0
null
null
null
null
UTF-8
Python
false
false
2,396
py
import logging import time import grpc from grpc import RpcError from predict_client.pbs.prediction_service_pb2 import PredictionServiceStub from predict_client.pbs.predict_pb2 import PredictRequest from predict_client.util import predict_response_to_dict, make_tensor_proto class ProdClient: def __init__(self, ho...
[ "vovdl18@gmail.com" ]
vovdl18@gmail.com
419f90bb9c54bfbb271d10af8b3907e86dc3a234
4cf652ee4168f6f728d4ad86a9df13fd3431fd98
/DynamicProgramming/decode-ways.py
a5d6a4d2f81026074a86f9fea0127dccb1846078
[]
no_license
jadenpadua/Foundation
73940b73720a3e84f46502797a02fa19117b653c
042a83177e8cce7291c9b31b54b3d71e4d4c9696
refs/heads/master
2023-03-07T03:20:21.546843
2021-02-16T23:16:43
2021-02-16T23:16:43
286,326,064
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
# Use 262314 class Solution: def numDecodings(self, s: str) -> int: def dfs(index, ht): if index == len(s): return 1 if s[index] == "0": return 0 if index in ht: ...
[ "noreply@github.com" ]
jadenpadua.noreply@github.com
23d41afbe285e3d491f5b965f4b5f165813d1d6f
fa0bd730981a4a7333e7858c03e2a16c75e9cf5c
/Chapter 2/GradientTape.py
118f3d58651d9a1ed6815b956d3dd4185b3865bc
[ "MIT" ]
permissive
PacktPublishing/Deep-Learning-with-TensorFlow-2-and-Keras
4cb5f7249dcd1efe6ea5a5263fb862240ce303bb
e23d2b4a4292386b70977473805acb2f93ef16ca
refs/heads/master
2023-02-13T04:04:57.531730
2023-02-07T19:23:47
2023-02-07T19:23:47
228,759,428
311
214
MIT
2021-06-01T14:06:06
2019-12-18T04:42:07
Jupyter Notebook
UTF-8
Python
false
false
277
py
import tensorflow as tf x = tf.constant(4.0) with tf.GradientTape(persistent=True) as g: g.watch(x) y = x * x z = y * y dz_dx = g.gradient(z, x) # 108.0 (4*x^3 at x = 4) dy_dx = g.gradient(y, x) # 6.0 print (dz_dx) print (dy_dx) del g # Drop the reference to the tape
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
a088e6636c0718cc3f84476e63b19665801f7bc7
f12dff30e08582b4f586ce466df52614356731a8
/pysdss/astro/miscutils.py
db0e762f1f142381febfec7fa20b904e8f8cde7c
[]
no_license
astrometry/pysdss
042e7d6c7ef82c141f265049d38c2ce490b27998
c6a42e48ff2dbcb240ff420043303dc39a077097
refs/heads/master
2021-01-25T08:54:17.267765
2012-03-16T14:44:32
2012-03-16T14:44:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,550
py
__all__ = ['lanczos_filter', 'get_overlapping_region'] from numpy import sin, atleast_1d, zeros, logical_and, pi def lanczos_filter(order, x): x = atleast_1d(x) nz = logical_and(x != 0., logical_and(x < order, x > -order)) filt = zeros(len(x), float) #filt[nz] = order * sin(pi * x[nz]) * sin(pi * x[nz...
[ "dan@danfm.ca" ]
dan@danfm.ca
a24c69b1d7767d079c5476801ab29df309b46c07
9d64be935284ba6f370f59d273cb0a6185a6cb83
/testers/legacy/analyser.py
d9766ebc8cb2950367f66d30331986ac1da2e7d2
[]
no_license
DillonSteyl/SCIE1000
8848168f40acf3f788cbab096e60de9de6914398
6d6b123a07659c80aba8b7c6668ee745bc03a767
refs/heads/master
2022-04-12T08:10:43.436631
2020-03-21T03:21:25
2020-03-21T03:21:25
114,079,107
1
0
null
null
null
null
UTF-8
Python
false
false
5,615
py
from abc import ABCMeta, abstractmethod import ast class ListGeneratingNodeVisitor(ast.NodeVisitor): """ A NodeVisitor subclass which logs the order in which nodes are visited. This makes use of the default implementation of NodeVisitor.generic_visit, which recursively visits children of nod...
[ "noreply@github.com" ]
DillonSteyl.noreply@github.com
0ff5d1e469d8d66ead2d6bc49463d537bab08800
ceb80a32832da1a884cb84e811a9645834b95e52
/HW12/q2.py
1e886efe498da92ec9537142a30c3d8611fe7724
[]
no_license
tobyclh/DataAnalysis
5183dbea25b395a7c3c4fd20ed12ceb677171ada
5076762cfb322a8b805c403fe519fcd9251d2aca
refs/heads/master
2020-05-22T21:24:00.163303
2019-07-17T19:15:02
2019-07-17T19:15:02
186,524,821
0
0
null
null
null
null
UTF-8
Python
false
false
1,714
py
import numpy as np import matplotlib from scipy import linalg from sklearn.neighbors import NearestNeighbors matplotlib.use('TkAgg') import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D np.random.seed(1) def data_generation(n=1000): a = 3. * np.pi * np.random.rand(n) x = np.stack( ...
[ "tobyclh@gmail.com" ]
tobyclh@gmail.com
29a032a73485b1163361b061988e861f443e6fe3
3638ead3dae764c53ac3461b2798777020c9a5c8
/clear.py
da0bb0eed129034b3d94f1d7fb02054f26dc0b2c
[ "MIT" ]
permissive
joaomateusferr/VinusIOT
e254e7de5496245791dcf7a4cdbc49216b800c8f
a7c814c8e1d8c8d41f62f6e3e94c52c40340ecdb
refs/heads/master
2020-07-10T16:30:16.347587
2019-11-15T20:27:19
2019-11-15T20:27:19
204,311,490
0
0
MIT
2019-11-15T20:27:21
2019-08-25T15:14:09
Python
UTF-8
Python
false
false
347
py
import os Adafruit_Python_DHT = os.path.isdir("/home/pi/Adafruit_Python_DHT") if(Adafruit_Python_DHT): os.system("sudo rm -r Adafruit_Python_DHT") requests = os.path.isdir("/home/pi/requests") if(requests): os.system("sudo rm -r requests") VinusIOT = os.path.isdir("/home/pi/VinusIOT") if(VinusIOT): os.sy...
[ "47743004+joaomateusferr@users.noreply.github.com" ]
47743004+joaomateusferr@users.noreply.github.com
a8672eb3759257dc5b6339db5794aad45a31b90d
14b8cf0b67104b53534678b8c0e9525ace4714ff
/crypto/der.py
6eb0ff04e8441522548d0db667a161832e5252a8
[]
no_license
bhfwg/py_learn
bb11898fd81f653643fc61949f43df751d317fcb
eca9da748bada67357961d1581d8ec890a3385f8
refs/heads/master
2020-03-27T15:01:25.881792
2018-06-05T01:36:26
2018-06-05T01:36:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from Crypto.PublicKey import RSA from Crypto.Cipher import PKCS1_v1_5 as Cipher_PKCS1_v1_5 from base64 import b64decode, b64encode pubkey = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQChixw4y0BDtlufNiwby9UTpampVdduYgBmCRdwJKfY/SPe/jGIdbmq1FONZiVBYArcfkVt4sDZpQ4Qh8nmNhU1kwOXYne...
[ "penomivy@gmail.com" ]
penomivy@gmail.com
44192f20563759fc0e1431c454a41ff4dcff7a25
bc14fd37a1bfabdd3ffddf1e41432dd3eb20d8a0
/week2'2/avg.py
5306247045d4b459944a0d62a58d62b41d29a999
[]
no_license
acedit/Python_kurs
2c4590e13c481275ac801f377aace5efb9638ddc
70fbcc9b10c8909cdc39acfdce277acbc7f5d71c
refs/heads/master
2020-05-27T08:25:08.837344
2015-03-19T19:33:13
2015-03-19T19:33:13
30,834,356
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
n = input("Enter count of numbers: ") n = int(n) suma=0 count = 1 numbers = [] while count <= n: number = input("Enter number: ") number = int(number) suma+=number numbers = numbers + [number] count += 1 print(suma/len(numbers))
[ "pepi_hristov_pepi@yahoo.com" ]
pepi_hristov_pepi@yahoo.com
4326dfdf7dea88b766d066453ef45457bb26713d
bd162255a73da3c989a2a426e9082ac295d16cb5
/database_setup.py
68942c9f6838668efd426e0447a39d9a6d4dc91c
[]
no_license
AngaKoko/ResturantMenu
05533f448fe7525682afc4aeee621b47bed7fdcd
5789ed7c6e4905765d2481b6a9e236fb4c531760
refs/heads/master
2021-03-21T12:33:48.954540
2020-03-19T19:07:52
2020-03-19T19:07:52
247,293,183
1
0
null
null
null
null
UTF-8
Python
false
false
1,283
py
""" Creating a database using SQLAlchemy """ import sys from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declarative_base() class Restaurant(Base): __tablename__ ...
[ "angakoko@gmail.com" ]
angakoko@gmail.com
ee8433beee796db5c42f604e999bed54d92cc03c
7eee289273350f7aa1b2bd43d85c81b58ef0b2c0
/parametrization_clean/domain/cost/factory.py
dd3a0b6abe92f9c1f965b12be7860d2200191c01
[ "MIT" ]
permissive
chemshift/parametrization_clean
abe65687e3f4c30749c070b2ef195b9f871674be
702243d87c2045cf8155f3c18134665871f3b170
refs/heads/master
2023-01-19T06:48:59.088564
2020-11-30T02:07:43
2020-11-30T02:07:43
318,717,953
1
0
MIT
2020-12-05T06:22:49
2020-12-05T06:22:48
null
UTF-8
Python
false
false
2,218
py
#!/usr/bin/env python """Factory for error calculation algorithms allowed for usage.""" # Standard library # 3rd party packages # Local source from parametrization_clean.domain.cost.strategy import IErrorStrategy from parametrization_clean.domain.cost.reax_error import ReaxError class ErrorFactory: """Factory...
[ "daksha@udel.edu" ]
daksha@udel.edu
8287eb504530db503172a26a6e6c1d45ac01b508
9b0885f74c8814940995e2ce93f9657b5dd27053
/RecipeIndexer/asgi.py
88386e92be74ad8a8262daf8eb98c56161cfe986
[]
no_license
zbala-hcttp/RecipeIndexer
d6128990ac1b58f410dfd957648987edaf7e5d5b
f1d93884e951eff455d150c4f58112066a42ab25
refs/heads/master
2023-06-03T11:49:01.177711
2021-06-14T18:58:59
2021-06-14T18:58:59
375,285,488
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" ASGI config for RecipeIndexer project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO...
[ "zeynepbala@cs.hacettepe.edu.tr" ]
zeynepbala@cs.hacettepe.edu.tr
1a0bcaaa40a7c024a9b69dedab6868c612874779
83bb3205275d29370dcd3412eb3405ac781639e8
/tiny_hands_pac/settings/dev.py
add43287f607e4d8dfe372223fac742425904d81
[ "MIT" ]
permissive
DonaldTrumpHasTinyHands/tiny_hands_pac
faba72b9ab3292fae2b47dd9bae16001680c661d
3d7e5daeddbee218cb96f3b88c7c7010620225fd
refs/heads/master
2021-01-10T18:05:35.250290
2016-04-10T18:19:27
2016-04-10T18:19:27
54,299,146
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
from .base import * DEBUG = True COMPRESS_ENABLED = True TEMPLATES[0]['OPTIONS']['debug'] = DEBUG INTERNAL_IPS = ('127.0.0.1',) INSTALLED_APPS += ( 'django_medusa', 'wagtail.contrib.wagtailmedusa', ) # Medusa settings MEDUSA_RENDERER_CLASS = 'django_medusa.renderers.DiskStaticSiteRenderer' MEDUSA_DEP...
[ "kyle@iMac.local" ]
kyle@iMac.local
7a493ec5c519f9f2e251053b66144d92882fdced
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2248/60632/250045.py
801f8ff34211ca750969b1f39e96a2896a52a968
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
187
py
n = int(input()) a = int(input()) b = int(input()) i = min(a, b) while True: if i % a == 0 or i % b == 0: n -= 1 if n == 0: break i += 1 print(i % 1000000007)
[ "1069583789@qq.com" ]
1069583789@qq.com
e2640614eb61fa5fa1cfffbf09575959a8801efb
bc9c9689b3a9c2fa48816479bd9771d7729cdc3e
/week-02/day-03/student_filter.py
a11a918b32169f7e8e7a129a37235b502a3ef3bb
[]
no_license
green-fox-academy/Atis0505
565666d0edd78406e1f1eff237a8e67d966411c6
63939f821805aa2a5525d8eed55e1c8ab2945a4f
refs/heads/master
2021-09-09T18:42:45.937310
2018-03-18T23:28:42
2018-03-18T23:28:42
102,183,981
1
1
null
null
null
null
UTF-8
Python
false
false
732
py
students = [ {'name': 'Rezso', 'age': 9.5, 'candies': 2}, {'name': 'Gerzson', 'age': 10, 'candies': 1}, {'name': 'Aurel', 'age': 7, 'candies': 3}, {'name': 'Zsombor', 'age': 12, 'candies': 5} ] # create a function that takes a list of students and prints: # - Who has got more candies th...
[ "attilakorom2014@gmail.com" ]
attilakorom2014@gmail.com
bb482e9fdeaf3186505098e7ddea360fa6436e09
b611968ae2d700928c4b16f973efc2e902a21157
/hydroplants/urls.py
ecd75faee38187dc07edcf885a5fef01bdacfa8f
[]
no_license
nediola/hydroponics
d8b8a94b5735e2a9965df9c8743a3fef513fd15a
ff479b91ff679e1f35b0af1f263419f47175bbad
refs/heads/master
2016-09-06T04:32:12.676341
2015-05-21T19:25:30
2015-05-21T19:25:30
34,571,963
1
0
null
null
null
null
UTF-8
Python
false
false
387
py
from django.conf.urls import include, url from django.contrib import admin from django.contrib.staticfiles.urls import staticfiles_urlpatterns urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^', include('mainpageapp.urls')), url(r'^base/', include('baseapp.urls')), url(r'^robot/', incl...
[ "nediola@yandex.ru" ]
nediola@yandex.ru
3511652857ae32d0e92cf540a1687e1f59a0dffe
b2894d71703f744bc84fd34141187e8fef11ccbf
/distributed/spill.py
2c849c2447e40fbc9bd7ea7b3aed251daecdb635
[]
no_license
vero-so/distributed
6919221712cc6f8082918580cd5db383b2ecee88
7d1401a915d8612cbd35244f96f4ec6d95b38dec
refs/heads/main
2023-09-05T06:24:34.794774
2021-11-19T20:35:45
2021-11-19T20:35:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,441
py
from __future__ import annotations from collections.abc import Hashable, Mapping from functools import partial from typing import Any from zict import Buffer, File, Func from .protocol import deserialize_bytes, serialize_bytelist from .sizeof import safe_sizeof class SpillBuffer(Buffer): """MutableMapping that...
[ "noreply@github.com" ]
vero-so.noreply@github.com
a94dec148b8a6d339b6c8f79ce166515411d8346
ad64e96dca44c213999a763e285b8f9bbb394dd8
/appu/audio.py
2332dd14ef0cdd48e75f870ed660c791b6b30721
[ "MIT" ]
permissive
ifosch/appu
c84127a6ca6d81a041fcc5e5977cc099cd4a4b33
2c6dabf8971f97696cf229de14bec50a2ead79e9
refs/heads/master
2022-01-12T22:13:52.969705
2022-01-06T17:09:14
2022-01-06T17:09:14
121,063,665
1
0
null
2018-02-10T23:28:16
2018-02-10T23:28:15
null
UTF-8
Python
false
false
1,759
py
import re import requests from pydub import AudioSegment from pydub.effects import normalize def download_file(mp3_file_name, file_type): """ This check if is a url and download the file in files directory with podcast.mp3 filename. """ remotefile = requests.get( mp3_file_name, head...
[ "natx@y10k.ws" ]
natx@y10k.ws
ad8404f4b341e1cc47ea3105fc118199e5f35a2a
cb6ed04c02a1cc3f292aa38ce63c34d95fb4dfaa
/TUPRO2.5/k-means.py
a30119fa50d36a51281b57494659291256dc558c
[]
no_license
feresyan/AI-Tupro
372ba1df3d25a092dbdfa34ae90906c937d141a6
51d37f218bc77cb9c1c87b1b589bc225e71c47fa
refs/heads/master
2020-03-28T22:58:30.533172
2018-12-31T07:13:48
2018-12-31T07:13:48
149,268,726
0
0
null
null
null
null
UTF-8
Python
false
false
8,025
py
# --- FERO RESYANTO 1301154318 IF-39-10 --- import numpy as np import matplotlib.pyplot as plt from matplotlib import style import random import math style.use("ggplot") array_train = [] array_test = [] array_data_train = [] #MEMBUAT ARRAY UNTUK MENYIMPAN DATA TRAINING array_data_test = [] #MEMBUAT ARRAY UNTUK DATA ...
[ "feresyan@gmail.com" ]
feresyan@gmail.com
54e601ebf3697249bf0b2afad8187f7eebac4479
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/same_eye/child/woman/bad_day_or_child/child/old_day.py
da6619113a204fd5ce1fd7ce9571bcdf80c4ec4c
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
#! /usr/bin/env python def right_group(str_arg): public_work(str_arg) print('company_and_own_hand') def public_work(str_arg): print(str_arg) if __name__ == '__main__': right_group('child')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
0cc866e1f93de105ce2c8f843a0d3923b010f56a
fd07d6a65cb7fc39d108fb4c6b795019c3ae0158
/KaggleProjects/PredictingHeartFailure/src/data/PlotPrecisionRecall.py
cdeb4178188547cfbb04806f8fbb3b600f2da5c5
[]
no_license
Aisling-C/DataScienceWork
82983d46c2f34e8bea982131fd08fc052f4c8e6a
1e00945ce64e6515b6d794d450cf9ba290da93a2
refs/heads/main
2023-07-27T04:39:25.498154
2021-09-01T20:10:58
2021-09-01T20:10:58
359,247,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
def Plot_PR(Model, X_train, y_train, X_test, y_test, title, auc, precision_recall_curve, np, plt, figsz): np.seterr(divide='ignore', invalid='ignore') plt.subplots(figsize=figsz) # Plot no skill line plt.plot([0, 1], [0, 0], linestyle='--', label='No Skill', c='orange') # Train Data yhat = Mo...
[ "amcasey177@gmail.com" ]
amcasey177@gmail.com
c116410549f3163872e603eed3a4ac4b39ce91c7
9725c13591c1a78b2e1eaf28b742556ecabfbf17
/HAR_DATASET/models_code/latem.py
626fda65e9f4c4108b56bace13db4a3d21d0919d
[]
no_license
amanshreshtha1998/Zero-Shot-Learning-on-Sensor-Data
3803789a9fa653a490054021b2993200706aa888
9c575fc72d28b93775e7d5468a9dafa2da1c848b
refs/heads/master
2020-08-26T11:51:22.118377
2019-10-23T08:37:07
2019-10-23T08:37:07
216,988,580
0
0
null
null
null
null
UTF-8
Python
false
false
13,755
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 20 07:09:04 2018 @author: RAJDEEP PAL """ import os import pandas as pd import numpy as np from numpy.linalg import inv from sklearn.metrics import accuracy_score, classification_report, confusion_matrix, precision_score, recall_score, f1_score import itertools import ma...
[ "aman.shreshtha.ece16@itbhu.ac.in" ]
aman.shreshtha.ece16@itbhu.ac.in
c82cb77e6050347ad0b411272ad1fa32bc6d46fc
913fcaa8e193ae7541e1711e91f26d43a660f631
/blog/urls.py
532f9b102cdc01c61be9135672b17c068a01c4df
[]
no_license
Brian10257/fabico
af3fd24d3f7544e0c82009fd394a0b6a32109ff7
fe9ff6e71f8bd09a7e87b41cddf89cdf4be32b21
refs/heads/master
2021-02-10T13:12:00.764732
2020-05-01T12:57:48
2020-05-01T12:57:48
244,385,119
1
0
null
null
null
null
UTF-8
Python
false
false
195
py
from django.urls import path from . import views urlpatterns = [ path('blog/', views.BlogList.as_view(), name = 'blog_post'), path('<slug>/', views.blog_detail, name = 'blog_detail'), ]
[ "47368577+Brian10257@users.noreply.github.com" ]
47368577+Brian10257@users.noreply.github.com
8f9c60e39b2117f7b30856ca4162d699fd5efccb
d570ec5184acda8fb3c283c19c58c97c6588c9a3
/pymon/pymon.py
68b4acfdbc04560b913d2b682765c7f6420713f9
[ "MIT" ]
permissive
vishalpentakota/pymon
86f120ce451f3ecc56f83e16cc5c957daaa9e20a
864cc25d2b592b6118f090c62c8138b97ddb18ad
refs/heads/master
2020-11-30T00:26:14.992591
2016-07-20T19:36:21
2016-07-20T19:36:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
#!/usr/bin/env python from lib.run import run if __name__ == "__main__": run()
[ "curtis99877@gmail.com" ]
curtis99877@gmail.com
51672d53fe9a21047bf76edc02739efeac589421
768a3b04ba1f99284460b6d8c10a5d8016acf371
/reptile/example/test/test.py
8c688bc25fd2e4ac2d6516e346f78d6c37d6a09b
[]
no_license
qiualu/GrowProject
26777cf6c36bb8e106c3951792d199ee75f6732d
c015d67cb9b71be579f6bd122e83be878f2016ff
refs/heads/master
2021-09-05T14:04:57.661275
2018-01-28T14:54:11
2018-01-28T14:54:11
110,330,494
2
0
null
null
null
null
UTF-8
Python
false
false
69
py
import os print(os.getcwd()) print(os.path.join(os.getcwd(),'img'))
[ "1101938064@qq.com" ]
1101938064@qq.com
797700159fc90dbd457a9eaca90349244cf4b0a3
13295a4fb8afc22618b85ff46fc528c932ade795
/summarizer.py
544aa6c0caa3c05cebbef8de703edb22e8b83810
[]
no_license
AdlyTempleton/Exploring-Sentence-Vector-Spaces-Through-Automatic-Summarization
38b0ddf73ae47ac9e57b1f186027e283d86fcfd7
2a3dfd167b6f341732a2920305d66b3153932141
refs/heads/master
2020-04-10T15:17:24.929124
2018-12-10T02:17:46
2018-12-10T02:17:46
161,104,392
0
0
null
null
null
null
UTF-8
Python
false
false
4,066
py
import functools import nltk import numpy as np from nltk.stem.porter import * from sklearn.decomposition import PCA import summarizer_modules # nltk.download('punkt') # nltk.download('brown') def keywords(v, str2vec, selector, wc, args): stemmer = PorterStemmer() args['semeval'] = True matched_phrases...
[ "adlytempleton@gmail.com" ]
adlytempleton@gmail.com
9fce78c33599b043ab1153393dec36264b5bc2e4
f6705b45ee5577890f88a1c35cae8919644a74af
/docs/conf.py
2e06c2b343f8b43d0f780b92cf7c7a56216b89f8
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
LTHODAVDOPL/TensorNetwork
f51530ba8495718b2bf1c080903f5b67c918506a
3fdad23e3730c097960b20c8b35e6ebc9162fa56
refs/heads/master
2021-01-05T10:09:09.811264
2020-02-13T06:54:58
2020-02-13T06:54:58
240,987,377
1
0
Apache-2.0
2020-02-17T00:12:12
2020-02-17T00:12:11
null
UTF-8
Python
false
false
1,739
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup -------------------------------------------------------------- # If extensions (or module...
[ "noreply@github.com" ]
LTHODAVDOPL.noreply@github.com
e7159178feb44294ca65f2950df97849910ba3bd
fcd8bd855aeba3da232a50d5877d8867a3a6e99d
/unilogin/urls.py
cde27b5c4d20eb90534801b6ffff0eb39bf5b313
[]
no_license
youngrok/actiontrac
89f05b6d04e32bcb9cb2db35099b60dca51022b3
11d0ac2e8f1fefd93a9fcf767dcfaa98443b3f43
refs/heads/master
2020-05-17T11:07:44.131946
2014-04-28T10:01:12
2014-04-28T10:01:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from django.conf.urls import patterns, include, url from djangox.route import discover_controllers from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url('', include('social.apps.django_app.urls', namespace='social')), (r'', discover_controllers('unilogin.controllers')), )
[ "pak.youngrok@gmail.com" ]
pak.youngrok@gmail.com
2ee6997660492e3b2557d99cd0e6ab109b6f461e
5fa7f016dbcc9f23bf5676c9988e14fb13852231
/Beden Kitle İndeksi Kolay Hesaplama Programı.py
83adcfa1bd236ec6763b4032781e6445a9abd580
[]
no_license
ibrahimek76/Python-le-Kodlama-Denemelerim
cb9a6241ecacc39a1d54a8c913886a0918d8420a
aaadbbdc8543d2851b27833b50c49387bf2bd03d
refs/heads/main
2023-05-27T04:24:17.308005
2021-06-08T07:30:48
2021-06-08T07:30:48
374,916,340
1
0
null
null
null
null
UTF-8
Python
false
false
832
py
# Kolay Beden Kitle İndeksi Hesapma #İf else Blokları sonradan dahil edilmiştir #Aşağıda Verilen Değerler ile programı yazın # BKİ 18.5'un altındaysa -------> Zayıf < küçüktür olucak #BKİ 18.5 ile 25 arasındaysa ------> Normal >= 18.5 için büyük eşittir olucak < büyüktür 25 için #BKİ 25 ile 30 arasındaysa -----...
[ "noreply@github.com" ]
ibrahimek76.noreply@github.com
37b94195e8a6c4a0741d7aa6055f129c1a300786
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/08/42/15.py
74bfb998ed676426e202d073b69f4fc578a5ccf5
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
568
py
import psyco psyco.full() def solve(N, M, A): for x1 in range(N + 1): for y1 in range(M + 1): for x2 in range(N + 1): for y2 in range(M + 1): S = abs(x1 * y2 - x2 * y1) if S == A: return "%d %d %d %d %d %d...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
ed46f8558aa62b977b86517ac53a60d2af75abf0
1f5860d45720bdf798c74308ba37c40d6f3e3bd7
/info_search_system/config.py
d18a7ca128c0957faabf91aa7ebdc07783eeac8c
[]
no_license
Chinoholo0807/Information-Search-System
f3f5564b499fcdacc8a6fcd248a71b8042aee81e
a55b293ec64334175d3ec3f26ae5db0d5b6e6f99
refs/heads/main
2023-06-17T02:41:33.257822
2021-07-12T05:51:25
2021-07-12T05:51:25
385,136,610
4
0
null
null
null
null
UTF-8
Python
false
false
227
py
data_folder = 'business' # info search system's topic # business # culture # science spider_doc_folder = 'science' # spider save folder topic = 'Sci' # spider topic # Culture # Business # China # World # Sports # Sci
[ "likamylike@gmail.com" ]
likamylike@gmail.com
fc3999335a4e17cc41dd8ed64041dbec4b3af4bf
9b4fe9c2693abc6ecc614088665cbf855971deaf
/103.binary-tree-zigzag-level-order-traversal.py
644efcffd6fdfe44a408863524ee55c7b14dff78
[ "MIT" ]
permissive
windard/leeeeee
e795be2b9dcabfc9f32fe25794878e591a6fb2c8
0dd67edca4e0b0323cb5a7239f02ea46383cd15a
refs/heads/master
2022-08-12T19:51:26.748317
2022-08-07T16:01:30
2022-08-07T16:01:30
222,122,359
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
# # @lc app=leetcode id=103 lang=python # # [103] Binary Tree Zigzag Level Order Traversal # # https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/description/ # # algorithms # Medium (40.48%) # Likes: 957 # Dislikes: 59 # Total Accepted: 222.2K # Total Submissions: 530.4K # Testcase Example: ...
[ "windard@qq.com" ]
windard@qq.com
b6a8c082903c4779163d196b5ce46348b58a9d92
be06759270d816171bc576f973fb536e216aef9a
/BioInformatics/NumberToPattern.py
9f5be0f6725c83c796aa4356e112f83e27f5b16a
[]
no_license
espaciomore/my-code-kata
6d6fbeda8ea75813e1c57d45ae1382207e2197fa
6c8e1987648350c880e8ab8a038c69608c680cab
refs/heads/master
2020-12-10T00:31:45.023012
2020-10-12T19:35:07
2020-10-12T19:35:07
18,149,340
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from NumberToSymbol import * def NumberToPattern(index, k): if k == 1: return NumberToSymbol(index) prefix_index, remainder = divmod(index, 4) symbol = NumberToSymbol(remainder) prefix_pattern = NumberToPattern(prefix_index, k - 1) return prefix_pattern + symbol
[ "manuel.cerda@introhive.com" ]
manuel.cerda@introhive.com
48bb6753a68c5f833fd7da6923fc77257f9ab6ce
2391b76356cfab7ee4802fa029b2407fae529bfa
/main.py
771139557fc3968ff9ecdf110eb0f3fbd13d5d6b
[]
no_license
LencoDigitexer/SomeCloud
28f4f56bfb8c91a2c719bf428bda8204517314ee
8e1b642c116d1d300521a7577bb5671b23520f19
refs/heads/master
2020-08-28T15:32:35.240617
2019-10-26T16:57:14
2019-10-26T16:57:14
217,740,911
1
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
from telethon import TelegramClient, events, sync, connection # для создания приватного канала from telethon.tl.functions.channels import CreateChannelRequest, CheckUsernameRequest, UpdateUsernameRequest from telethon.tl.types import InputChannel, InputPeerChannel import re # для поиска канала в списке # These exampl...
[ "noreply@github.com" ]
LencoDigitexer.noreply@github.com
4a4b7eaede1687a8380d65b67a911646ed5032d5
8336cbd226bd9eebe1472e168c681a09daa6703f
/rareserverapi/migrations/0003_auto_20201116_1646.py
073a8791b03bb64ec2bbdebd0f5e777b3b6f6576
[]
no_license
jmskinne/Rare-API-TalkingHeads
6d99bdcc4f8ef4d5f1e35a31ca96e1663e770d95
f869c789f046fa2b60c5658d4d27296cc4eff5e3
refs/heads/main
2023-01-20T03:33:10.053942
2020-11-20T16:44:08
2020-11-20T16:44:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
# Generated by Django 3.1.3 on 2020-11-16 16:46 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('rareserverapi', '0002_auto_20201112_2129'), ] operations = [ migrations.AlterField( model_name=...
[ "brett.derrington@gmail.com" ]
brett.derrington@gmail.com
09c6da67040cb98994b4f39f265db4655729e137
8d17108960e95ff21c8b659419295f0b4e0cd754
/sms/models.py
cb2d34473d086604777af67df929f2f663bdda57
[]
no_license
pawaranand/SchoolMS-Assignment
456acf55dd13caab6f243e559efad2f8be6d207a
9ff912844656fce22980b6250a99c13e6a6fbe2c
refs/heads/master
2020-04-13T10:31:54.315132
2019-01-02T07:17:49
2019-01-02T07:17:49
163,143,463
0
0
null
null
null
null
UTF-8
Python
false
false
6,926
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals # Create your models here. from django.contrib.auth.models import AbstractUser from django.db import models from django.utils import timezone import datetime from django.utils.translation import ugettext as _ class User(AbstractUser): is_student = mo...
[ "apawar@mamar.sa" ]
apawar@mamar.sa
8d92f8b0764cd51243d968a2fbd1ff3ac8889794
ef7f6f1193d76668882bf2e7d0ef742d40ed52be
/editor/lib/themes/darkstyle/pyside_style_rc.py
2180ed5b2282436c45ca205301f2a338e2b4a57d
[ "MIT" ]
permissive
brucelevis/juma-editor
b5eca857ae1c27f414b5949656841bc775ef3721
125720f7386f9f0a4cd3466a45c883d6d6020e33
refs/heads/master
2022-04-12T17:28:34.848062
2019-09-15T09:13:56
2019-09-15T09:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
80,981
py
# -*- coding: utf-8 -*- # Resource object code # # Created: Fri Jun 17 13:35:54 2016 # by: The Resource Compiler for PySide (Qt v4.8.7) # # WARNING! All changes made in this file will be lost! from PySide import QtCore qt_resource_data = b"\x00\x00c\xa6/*\x0a * The MIT License (MIT)\x0a *\x0a * Copyright (c) <2...
[ "razielsun@gmail.com" ]
razielsun@gmail.com
e2ca12699ef4867c8f0038004a8a54d12992063f
9fcca5389a6a888c9a36f623139da2a0590be150
/heydayzdiary/migrations/0033_remove_day_entry_bed_time.py
36f96aa0f47f1b5603aba21a150194a8eac0f70b
[]
no_license
aramicon/heydayzdiary
1914261a081d7f1b870fef3aee8ad73bbd346299
85cd90090decbea74a3e2e017b6b590378f613a0
refs/heads/master
2022-03-19T22:54:35.062260
2022-02-21T20:01:47
2022-02-21T20:01:47
104,363,833
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-21 13:25 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('heydayzdiary', '0032_auto_20170921_1350'), ] operations = [ migrations.RemoveField(...
[ "aramicon@gmail.com" ]
aramicon@gmail.com
d412f5d4d9f45f53b4d4cb7f89a0e4bfb0ab0e95
cbbbc1cfb846209c64a8ee77a07deb460bb73610
/backend/inventory/venv/Lib/site-packages/ibm_db_tests/test_040_FetchTuple.py
0ad776f870cf373451429e75aec9ae851c4d10cc
[ "Apache-2.0" ]
permissive
SmartPracticeschool/SBSPS-Challenge-925-Optimized-warehouse-management-of-perishable-goods-for-a-food-delivery-company
dc7a07404ac7c29c645a326435786a4317384c3f
ffc57ba59a2525ceac245aa8f13d30009b14d6f2
refs/heads/master
2023-07-19T20:43:27.099710
2020-07-19T20:56:45
2020-07-19T20:56:45
270,385,655
4
1
null
2023-07-13T07:04:44
2020-06-07T17:50:11
Python
UTF-8
Python
false
false
1,421
py
# # Licensed Materials - Property of IBM # # (c) Copyright IBM Corp. 2007-2008 # import sys import unittest import ibm_db import config from testfunctions import IbmDbTestFunctions class IbmDbTestCase(unittest.TestCase): def test_040_FetchTuple(self): obj = IbmDbTestFunctions() obj.assert_expe...
[ "jtaniha@gmail.com" ]
jtaniha@gmail.com
670592f7a6691261829166472f8bd4d08d841f30
3fcdeb9d0f447b6f8af0f98c712345f768535fca
/image_classifier/data.py
c885ac5e8b0b1bd0d778b78c51260ec785793197
[]
no_license
jl-massey/DSND_Term1
983b219ecad4de5092ed1690615dd46add9cfa51
994aac5af878e0d28c82621e15bf4be090e4780c
refs/heads/master
2020-03-22T17:50:01.396571
2018-09-25T15:28:25
2018-09-25T15:28:25
140,419,124
3
1
null
null
null
null
UTF-8
Python
false
false
2,119
py
from torch.utils.data import DataLoader from torchvision import transforms from torchvision.datasets import ImageFolder from utils import get_max_workers def count_classes(data_dir): """ Uses ImageFolder to check the number of classes in the provided directory. :param data_dir: Image directory (E.g. trai...
[ "jim.massey@team.telstra.com" ]
jim.massey@team.telstra.com
fa3dc974ee0583d90f7d7261a7d65e39e99cdf5f
2ea093309f6637c03566d2af11401417e2fca8fa
/server.py
f28751fe31e18ff13826277a2bcd709c0d675b20
[]
no_license
quildm/Assignment-Great-Number-Game
820444ff239dd79b28d393885ff2ccc90a0fffd5
73a39704ee2bc213f88ecd016e4d06083f5e0612
refs/heads/master
2020-12-02T07:45:18.491212
2017-07-10T00:43:43
2017-07-10T00:43:43
96,720,540
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
from flask import Flask, flash, render_template, request, redirect, session import random app = Flask(__name__) app.secret_key = 'ThisIsSecret' def setSession(): session['num'] = random.randint(1,100) @app.route('/') def index(): if 'num' not in session: setSession() print (session['num']) re...
[ "quildm@ymail.com" ]
quildm@ymail.com
a689cb07002456071c67dd35e848176c59018407
ec8146beeb2bb86186cfdd4c7087fa01f8ac7a45
/src/Snakemake/rules/Alignment/GATK.smk
765be9953bc364826edf96f92957adc77ea6e3a9
[]
no_license
jonca79/TSO500_GATK4
3d28c4e9031604b2caa7a5033a4119ecb464703e
e45eea3620ea15aa192ed4db6467182366966eb8
refs/heads/master
2023-01-29T23:39:10.862496
2020-12-08T12:51:03
2020-12-08T12:51:03
297,880,275
0
0
null
null
null
null
UTF-8
Python
false
false
4,704
smk
chrom_list = ['chr1','chr2','chr3','chr4','chr5','chr6','chr7','chr8','chr9','chr10','chr11','chr12','chr13','chr14','chr15','chr16','chr17','chr18','chr19','chr20','chr21','chr22','chrX','chrY'] rule GATK_recal_step1: input: bam = "bam/{sample}-sort-cumi.bam", bai = "bam/{sample}-sort-cumi.bam.ba...
[ "jonas.almlof@igp.uu.se" ]
jonas.almlof@igp.uu.se
6fab7f8926a85095669ce77bdb87d63bc747815d
201b42947d38be70cd0985fb3fc46bd6068ca2f8
/virtual_env/libs/mysql-connector/python3/mysql/connector/protocol.py
fccc6da7a8056753c07f1d0606e1733f16a1d8af
[ "MIT", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-or-later", "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rcosnita/fantastico
d4fade25a10231f50b62fff6b41d814815dd4b62
81c8590556baa9e1148071b7835d74b1efada561
refs/heads/master
2021-03-12T21:55:03.260192
2020-07-28T07:16:39
2020-07-28T07:16:39
9,280,607
3
1
MIT
2020-07-28T07:16:40
2013-04-07T17:52:51
Python
UTF-8
Python
false
false
9,971
py
# MySQL Connector/Python - MySQL driver written in Python. # Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. # MySQL Connector/Python is licensed under the terms of the GPLv2 # <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most # MySQL Connectors. There are special exceptio...
[ "radu.cosnita@gmail.com" ]
radu.cosnita@gmail.com
b533703afa1112639dbb9060e7a0a0afc775db88
9e549ee54faa8b037f90eac8ecb36f853e460e5e
/venv/lib/python3.6/site-packages/pylint/test/functional/abstract_method_py2.py
1e4f318581d93261321a92d5a5c4eb5bc52d85be
[ "MIT" ]
permissive
aitoehigie/britecore_flask
e8df68e71dd0eac980a7de8c0f20b5a5a16979fe
eef1873dbe6b2cc21f770bc6dec783007ae4493b
refs/heads/master
2022-12-09T22:07:45.930238
2019-05-15T04:10:37
2019-05-15T04:10:37
177,354,667
0
0
MIT
2022-12-08T04:54:09
2019-03-24T00:38:20
Python
UTF-8
Python
false
false
2,024
py
"""Test abstract-method warning.""" from __future__ import print_function # pylint: disable=missing-docstring, no-init, no-self-use # pylint: disable=too-few-public-methods, useless-object-inheritance import abc class Abstract(object): def aaaa(self): """should be overridden in concrete class""" ...
[ "aitoehigie@gmail.com" ]
aitoehigie@gmail.com
00b8c07cc013ddb3f58ae153db09568888b28e2a
99441588c7d6159064d9ce2b94d3743a37f85d33
/cloud_convertor/scripts/print_diagram.py
b581bfdb63fcdcaadbebddf365488aec5cf569ad
[]
no_license
YZT1997/robolab_project
2786f8983c4b02040da316cdd2c8f9bb73e2dd4c
a7edb588d3145356566e9dcc37b03f7429bcb7d6
refs/heads/master
2023-09-02T21:28:01.280464
2021-10-14T02:06:35
2021-10-14T02:06:35
369,128,037
0
0
null
null
null
null
UTF-8
Python
false
false
5,991
py
#!/usr/bin/env python # coding=utf-8 import numpy as np import matplotlib.pyplot as plt # 数据格式定义:time,car_speed,reel_speed,cb_speed,reel_current,cm7290_current,cb_current if __name__ == '__main__': car_speed = np.load("m234_car_speed.npy", allow_pickle=True) reel_speed = np.load("m234_reel_speed.npy", allow...
[ "yangzt_0943@163.com" ]
yangzt_0943@163.com
ae04fd859cfd830caef54076d10043f80449f504
2e3c4540e4470d1fc6043e8abf3c3e8b87b4c5ab
/oldstuff/python/bounce/box.py
28624db2ec65b832b5f46c05f8da4d250ca5fae4
[ "MIT" ]
permissive
renowncoder/bcherry
ce521655bab2b79b07c1db02a272f569dcfaf4bc
5d2f1144dbdbf35d6284018fa2c9e24ec5cecec6
refs/heads/master
2021-12-04T15:31:50.046428
2015-03-26T22:42:37
2015-03-26T22:42:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
import pygame from pygame.locals import * class Box: def __init__(self,screen,size,velocities,background,boxcolor): self.screen = screen screensize = self.screen.get_size() self.screenwidth = screensize[0] self.screenheight = screensize[1] #Position #Box will start roughly middle self.x = screensize[0]/...
[ "bcherry@gmail.com" ]
bcherry@gmail.com
851b32b04b3b4b1a121d96f19aa3e85cf5aaf47a
326da863d53a4a05703424c6ab1cc17773967d52
/MacroSystem/words.py
e7db6041645a074d9530ebf2fe60150030625e95
[]
no_license
rantaoca/voice-typing
0e54174ccd555eb92d664118f7d0cf804a6105d8
6ecc5961b042d3dea2770c10f17266779dccd434
refs/heads/master
2021-09-09T14:24:30.680927
2018-03-17T01:41:51
2018-03-17T01:41:51
114,822,541
0
0
null
null
null
null
UTF-8
Python
false
false
3,539
py
# module for dictating words and basic sentences # # (based on the multiedit module from dragonfly-modules project) # (heavily modified) # (the original copyright notice is reproduced below) # # (c) Copyright 2008 by Christo Butcher # Licensed under the LGPL, see <http://www.gnu.org/licenses/> # import aenea import ae...
[ "rantaoca@google.com" ]
rantaoca@google.com
bdea0d65f8b29b588e3a614f1d2946e88b2d8783
d789682dabe3b10106f9fea2d23ca09cb97f1e39
/src/api/hello/world/root.py
2b839bbb1dea88e46b383616f14ea8a544565534
[]
no_license
PyBackendBoilerplate/micro-service
210feab9c4faa0ac9974b6a23d5710f620ab5b63
47664ae8148fbc23adca94da42634b53584bc373
refs/heads/master
2023-01-11T23:36:04.368522
2020-11-11T17:30:26
2020-11-11T17:30:26
284,282,429
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
"""APIs implementation. Implementing the route's RESTFul API. To attach route handlers functions to their routes in the relevant openapi yaml file, use this: x-openapi-router-controller: [module path after src].[python module name (without extension)] operationId: Route handler function name Example: x-ope...
[ "Nusnus@users.noreply.github.com" ]
Nusnus@users.noreply.github.com
fcae963673fb7a9a3e0704f4c5a45bf3d6f647f9
ebed5ccdbcc951b2891eafa59b97611366d7856b
/env.py
7350e656249bd8489ad01dde1a6bda7c0b48fbb4
[]
no_license
Upasna29/hvac
b149c04c04401bfaedbdc85d46c7844032bce593
5a8843b51014632eba144ddd5c40dadfaa7f4b19
refs/heads/master
2021-01-23T22:00:08.881741
2017-06-05T22:11:19
2017-06-05T22:11:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
import os from os.path import join, dirname from dotenv import load_dotenv MANDATORY_ENV_VARIABLES = ["DATABASE_URL", "SERIAL_PORT"] environment = {} class EnvironmentSetupError(Exception): pass try: dotenv_path = join(dirname(__file__), '.env') if not load_dotenv(dotenv_path): raise EnvironmentSetupError("Mis...
[ "brandonfujii2018@u.northwestern.edu" ]
brandonfujii2018@u.northwestern.edu
0cf24761ef1e6b829ad1497b0e4181665a36f0dc
d0dd94cd9caf70731d3d95623752e0439e73c244
/Homework/Homework_4/test5.py
7fed87fbc918f09a165301d9155c87ac449ce16d
[]
no_license
kratika1008/DS501_Introduction_To_DataScience
9499cd7fe7b40f3ed4dfdd65d1181a2734be10ec
b083f0c28ee7ee2624b3539868b497fb82da72f3
refs/heads/main
2023-02-18T06:08:27.539545
2021-01-19T05:42:04
2021-01-19T05:42:04
330,815,446
2
0
null
null
null
null
UTF-8
Python
false
false
5,970
py
from problem5 import * import numpy as np import sys ''' Unit test 5: This file includes unit tests for problem5.py. ''' #------------------------------------------------------------------------- def test_python_version(): ''' ----------- Problem 5 (20 points in total)---------------------''' assert s...
[ "agrawalkratika1008@gmail.com" ]
agrawalkratika1008@gmail.com
f81d2a4fe7b181380bced5758ec0db043b5e59c4
47ef6997d03f4d5c921c83cc09aef1dfc6828e2c
/zeus/report/__init__.py
b327b709b4289c1d32150f648d091454c7653e54
[ "MIT" ]
permissive
huawei-noah/xingtian
620c9f245183d636e0a65659fd99a984397ecbd4
e4ef3a1c92d19d1d08c3ef0e2156b6fecefdbe04
refs/heads/master
2023-09-03T01:10:21.768245
2022-03-21T03:39:39
2022-03-21T03:39:39
287,759,621
308
91
MIT
2023-09-12T11:33:22
2020-08-15T14:13:06
Python
UTF-8
Python
false
false
218
py
from .report_server import ReportServer from .report_client import ReportClient from .record import ReportRecord from .share_memory import ShareMemory from .nsga_iii import NonDominatedSorting, SortAndSelectPopulation
[ "hustqj@126.com" ]
hustqj@126.com
fa1dceff710c0975174ff918b25c703bd7067e05
ff66ebe88066241b1e783f4792d6f52d378f612d
/FTVM_TestAgent/tests/L1_tests/test1.py
7fde1c49852b46ca9fd99e984515908d9daf1f84
[]
no_license
vaporting/FTVM_TA
17a82d7cffe22850c6e13b38fd336faef9f9fd4d
11dbec637e91cf23f999e2b21e98f82fb8831b03
refs/heads/master
2021-01-18T20:19:58.632216
2014-04-10T06:11:22
2014-04-10T06:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
import sys import time from testagent import TA_error def run_test1(parser): print "test1" time.sleep(float("1.1")) raise TA_error.Assert_Error("test1 assert exception")
[ "root@ting.(none)" ]
root@ting.(none)
2695c05773efce23f447e4bda3a59255f398fe98
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03102/s335852298.py
dcc23fa4b8d4a4d7dcd9072373fd9795db300d2a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
MM = input().split() N = int(MM[0]) M = int(MM[1]) C = int(MM[2]) count= 0 BB = input().split() for i in range(N): AA = input().split() total = C for i,j in zip(BB,AA): total += int(i)*int(j) if total >0: count +=1 print(count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
61085640f1d05f5f93b920a600305bda58c4f77a
2dc3f73dcce0d9abc692421a6c4c981e7ac3ca96
/speech.py
3f67055992c25f3714810688d60dd6f0a572ca86
[]
no_license
Gokhu18/FacialAnalysis-Industrial.App.Dev
cf002dc70a9c2e5a67924e159e0f8d7c721498bb
691ef2fee6f68de4963b70ce1593ad2a45a553fd
refs/heads/master
2020-11-28T03:27:48.263959
2019-08-18T20:27:36
2019-08-18T20:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
""" Author :- Aman Altaf Multani Awan Description:- Recognize speech using Google Speech Recognition - Listen for the first phrase and extract it into audio data - Using the library for performing the speech recognition with the support of several engines and API’s online and as well as ...
[ "noreply@github.com" ]
Gokhu18.noreply@github.com
ad19bca46f37a4f6b3d7b02d44c2d4cfb74167c6
15598a49312b573cd405875cee06205011645baa
/src/application_properties.py
8c27c193ff5e0f266be3b19567eed25805bcb07f
[]
no_license
guziy/GevFit
f206635a0d7f84cd89b236ab0d712b755969f71e
93784b295170c91121a863cfc671d0a9ee3c67ea
refs/heads/master
2021-01-21T05:00:42.560690
2015-06-05T15:54:24
2015-06-05T15:54:24
2,045,291
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
__author__="huziy" __date__ ="$26 mai 2010 12:23:59$" import os PROJECT_DIR = 'GevFit' def set_current_directory(): dir = os.getcwd() while not dir.endswith(PROJECT_DIR): os.chdir('..') dir = os.getcwd() if __name__ == "__main__": set_current_directory() print(os.getcwd()) pri...
[ "guziy.sasha@gmail.com" ]
guziy.sasha@gmail.com
8b99a459701591aae0eb07ccbe1fdd17235d54ab
c8e0f1ae2987f98770482cccbf36f0a6d50d6f26
/code/正则表达式/z_04.py
7a5712a32a1ba96855621a20cb6fb4ae1c246507
[]
no_license
RemainderTime/python_primary
2dd97d4b03abc7f71b45317fd3a3435a64df7a01
fcea9d9fc951295ed6064cf37b76275f2af32fd6
refs/heads/master
2020-07-06T03:15:48.451004
2020-01-11T07:45:34
2020-01-11T07:45:34
202,870,655
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
#数量词 import re a='5566dfd5fdg5gs26s0' r=re.findall('[a-z]{2,6}',a) s=re.findall('[a-z]{2,6}?',a) #贪婪 与 非贪婪 #python 默认贪婪 #非贪婪 后面加问号 print(r) print(s)
[ "remaindertime@gmail.com" ]
remaindertime@gmail.com
227f85d54309bd8972ddedc21cce93b2c0bbd882
525d0d2973de75fb012bdbb6e57ebc30769e20dc
/ci/admin.py
df29bed63e55a0f1ffc399e4faaba5cdd49f920f
[]
no_license
xuhshen/comci
9fb6d1605e0b5c3dae79f6891df8bfce9dc1dc7c
7af0dd13c86dd729e69e4be2d61c320984b3debc
refs/heads/master
2021-07-14T20:41:25.555379
2017-10-13T02:15:32
2017-10-13T02:15:32
106,767,221
0
0
null
null
null
null
UTF-8
Python
false
false
1,154
py
from django.contrib import admin # Register your models here. from .models import * class FeatureAdmin(admin.ModelAdmin): filter_horizontal = ('task','module','params') class UserdefcasesetAdmin(admin.ModelAdmin): filter_horizontal = ('caseset',) class UserdeftagsetAdmin(admin.ModelAdmin): ...
[ "xuhui.shen@nokia-sbell.com" ]
xuhui.shen@nokia-sbell.com
d510bc9641baefa468a873146d2e284f9a2037c5
b73f3bacc7f0ad3b46f9efa4f7312b6ac487e3f4
/网易云音乐爬虫/4、生成词云图.py
eb15a75106fb27b42fa457cce76a0f989db96b31
[]
no_license
sitetianminghui/-
ff87817462319dd4d64455287952a35153a040d5
d413df0c96c1606c37bdd576513201af7b91dee5
refs/heads/master
2022-11-22T15:34:07.932612
2020-07-26T06:29:03
2020-07-26T06:29:03
282,589,229
1
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
# 第三部分:提取词组 , 用作字云图像 import jieba # 结巴分词:用于分开词 , 详情见结巴分词的功能.py from wordcloud import WordCloud, ImageColorGenerator import matplotlib.pyplot as plt with open('TFBOYS歌词集.txt','r',encoding='utf-8')as f: all_lyric = f.read() ...
[ "noreply@github.com" ]
sitetianminghui.noreply@github.com
b7fddaae7a5c65b4fa97bc257fe714c5e63d9e00
37f029c1dd24b89b74dfa8ce0abcc41f83418c16
/blog/blog/urls.py
99c74bd03d241d9c23729fc9de7c87988b0ed177
[]
no_license
HalfSugar1/blog
5a6c42b6225ab759cf5ea722672a869eb0a796c7
bb1334a8a574cf9660e37672775aeac52f673bc4
refs/heads/master
2022-12-10T04:22:15.906923
2019-10-17T12:14:26
2019-10-17T12:14:26
214,826,852
1
0
null
2022-12-08T05:22:54
2019-10-13T13:39:06
JavaScript
UTF-8
Python
false
false
1,531
py
"""blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "634115922@qq.com" ]
634115922@qq.com
a83cc72bca4ad13eaf7047e632b08e1f1ef9aeff
c5aadc198b1ccd9630498245d3b414f1871290c6
/internet.py
00c7d7885ce63a9aed034246a3063d3c5f2ffd80
[]
no_license
Arce213/Telecommunication_Brand_Arce213
e6d8bba92c04c62b0f08e6c4532c2ac2fb10237c
674dc8e034329491aeff0ff2b87ce10ff2d040d6
refs/heads/main
2023-06-04T06:03:15.023824
2021-06-14T20:06:37
2021-06-14T20:06:37
376,916,769
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
import json data = {} data['clients'] = [] data['clients'].append({ 'first_name': 'Sigrid', 'last_name': 'Mannock', 'age': 27, 'amount': 7.17}) data['clients'].append({ 'first_name': 'Joe', 'last_name': 'Hinners', 'age': 31, 'amount': [1.90, 5.50]}) data['clients'].append({ ...
[ "noreply@github.com" ]
Arce213.noreply@github.com
13082ba6833f1270626fbce8bcb1f9b818b9a204
0fd92b7d882a1edb5542f6600bb177dcad67ed50
/powerful104/1676a.py
887a9fb2719458b35e1fa98069de68ec0ac3ac9e
[]
no_license
alpha-kwhn/Baekjun
bce71fdfbbc8302ec254db5901109087168801ed
f8b4136130995dab78f34e84dfa18736e95c8b55
refs/heads/main
2023-08-02T11:11:19.482020
2021-03-09T05:34:01
2021-03-09T05:34:01
358,347,708
0
0
null
2021-04-15T17:56:14
2021-04-15T17:56:13
null
UTF-8
Python
false
false
231
py
#1676번 오버플로우 신경안쓴 알고리즘 num = int(input()) fact=1 for i in range(num): fact*=i+1 fact=list(str(fact)) fact.reverse() ans=0 for i in fact: if i!="0": break ans+=1 print(ans)
[ "noreply@github.com" ]
alpha-kwhn.noreply@github.com
50a0e2505829ff003bd63cbfeea6d81747501061
934d09590409faf617e2652e7cb6e0ba1730b551
/Python/Raspberry Pi 3/Programs/RC/Test_Motor.py
c6b048e5a2b49e9ec8e0ae64514770aa29383ad0
[]
no_license
TockThomas/stuffs
e72cf6dec7ce7b2396730375998433e6bfe4eecd
810ca0a6d45218679518357288e68daeb6e28c55
refs/heads/master
2023-03-19T09:17:29.909539
2021-02-19T21:29:51
2021-02-19T21:29:51
324,415,730
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
import RPi.GPIO as GPIO import time left = (7,8) # 7-; 8+ right = (9,10) # 9+; 10- GPIO.setwarnings(False) def init(): GPIO.setmode(GPIO.BCM) GPIO.setup(7, GPIO.OUT) GPIO.setup(8, GPIO.OUT) GPIO.setup(9, GPIO.OUT) GPIO.setup(10, GPIO.OUT) def forward(tf): init() GPIO.output(7, False) ...
[ "thomas.schleicher@fastad.de" ]
thomas.schleicher@fastad.de
6c7cc1c3c99e73c089cde2fbd85e29eaf020de03
3f46ad00ebe6ffd0ac059152246d1dcc757fe52d
/code3/geojson.py
a6fbe02447d9db0fa5fd95851402dda16f5fe85f
[]
no_license
pkern001/pythonlearn
63540c0e695c3ac578e4fdf433dd7209731668bf
aeb21370672b1265e1c7656067a65e38a565a7de
refs/heads/master
2021-01-18T01:16:06.850690
2016-01-03T22:55:19
2016-01-03T22:55:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
886
py
import urllib.request, urllib.parse, urllib.error import json serviceurl = 'http://maps.googleapis.com/maps/api/geocode/json?' while True: address = input('Enter location: ') if len(address) < 1 : break url = serviceurl + urllib.parse.urlencode({'sensor':'false', 'address': address}) print('Retrievin...
[ "csev@umich.edu" ]
csev@umich.edu
f6842097c4dbf40525c664c5fc0304cfb0d2e9ac
90a036e37f0cdad26bfab4d14da70d1706ade74c
/src/pt_utils.py
cf8df8c9bc660e07e28914a8d1c7b25c040812f3
[ "Apache-2.0" ]
permissive
m3hrdadfi/fun-neural-style-transfer
0a0ab97d9a77b8fea771c25c90d2b90d995d908a
c03d6c94a9ea59327378e9d0606cafd4bf5ee900
refs/heads/master
2022-12-03T03:38:35.489680
2020-08-17T13:59:28
2020-08-17T13:59:28
286,227,631
1
1
null
null
null
null
UTF-8
Python
false
false
4,841
py
import json import os import numpy as np from PIL import Image import torch import torchvision.transforms as transforms import matplotlib.pyplot as plt def image_scale(image, resize=None, max_size=None): """Scale the image based on resize or maximum size ratio""" if isinstance(max_size, int) and not isinstan...
[ "m3hrdadfi@gmail.com" ]
m3hrdadfi@gmail.com
43b31344c7354d423bb37f809d1e4e406894f4a2
e21d39d4079f05563a2bb7655ba1fa471464827a
/smoothie/app.py
0f37d91f6e568a82d2d108f20388c043b5e010cc
[]
no_license
izhyk/smoothie
8e091aea958a830f5298b214d5aa7f89083a75d8
2af233ee4f3ddb722301fa669bbe2ff1dc62ce33
refs/heads/master
2020-04-22T04:00:33.813658
2019-02-21T16:07:32
2019-02-21T16:07:32
170,108,170
0
1
null
2019-02-21T16:07:34
2019-02-11T10:15:03
null
UTF-8
Python
false
false
1,110
py
from pathlib import Path from typing import Optional, List import aiohttp_jinja2 import aiopg.sa from aiohttp import web import jinja2 from smoothie.routes import init_routes from smoothie.utils.common import init_config path = Path(__file__).parent def init_jinja2(app: web.Application) -> None: ''' Initi...
[ "chimamireme@gmail.com" ]
chimamireme@gmail.com
3c619d8d4d1d9b6995230f78b03e4547f4dd70bf
2714ecf5f72fa47ae52adaec7a6ef5e4ca284991
/爬虫第1关---HTML基础/1.py
a19aad350759266fbacc3dfc6e6e17afe559758c
[]
no_license
somw/python
905e47b031dae712283a9c7ca602d5c6cf42fa3b
b774ff9aa89de1e23c4672a12751682a2bae42d7
refs/heads/master
2020-04-28T19:42:59.548234
2019-08-07T08:47:42
2019-08-07T08:47:42
175,520,110
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
import requests res = requests.get('https://localprod.pandateacher.com/python-manuscript/crawler-html/spider-men5.0.html') res.encoding = 'utf-8' aa = res.text aaa = open('aaa.txt','a+') aaa.write(aa) aaa.close()
[ "somw@qq.com" ]
somw@qq.com
449f06694c194d2b417097d8fa3d6682d7bf25b7
acc71b91ffddc511d70a9a772a1823921840dc97
/Python/unidade5/fundo/fundodeinvestimento.py
a18b9e81f701c46a7ced03207bddf955d20505fa
[]
no_license
biel2k20/C-diguin-em-Python
e1a1f02b78ae5c0f76a2ffa8e397bcf8f95bd6e4
a528109c3d005502b8c427c783e0bdc9efb79e7d
refs/heads/main
2022-12-20T04:47:19.036194
2020-10-06T14:58:57
2020-10-06T14:58:57
301,755,016
0
1
null
2020-10-06T14:57:44
2020-10-06T14:29:57
Python
UTF-8
Python
false
false
362
py
#coding: utf-8 #Gabriel Dnatas Santos de Azevêdo #Matrícula: 118210140 #Problema: Fundo de Investimento cima = 0.0 cont = 0 media = 0 while True: valor = float(raw_input()) if valor >= media: cima += valor cont += 1 media = cima / cont else: break print 'Saldo total do FIS: R$%.2f.' % (cima) print 'Média d...
[ "gabriel.dantas.azevedo@ccc.ufcg.edu.br" ]
gabriel.dantas.azevedo@ccc.ufcg.edu.br
665a15d66af83ab0d0674bf08a0eb2ef07401c04
a0c6174652a793c6d5ff989fc0ce2845cee3259b
/test_employee_ut57.py
b8f6c74165415b9afc3436982257a9055c0ad9ce
[]
no_license
rfvdgh/schafer_crs
1fb8c840904873d27cf8cb71a1a309ed4d572dc9
40edc9b4c6a2b5c5b1120acb394409418c381b8d
refs/heads/master
2022-12-21T14:34:25.939855
2020-09-28T15:18:34
2020-09-28T15:18:34
296,402,889
0
0
null
null
null
null
UTF-8
Python
false
false
2,180
py
import unittest from unittest.mock import patch from employee_ut57 import Employee class TestEmployee(unittest.TestCase): # setUpClass and tearDownCLass gets run before and after everything, respectively @classmethod def setUpClass(cls): print("setupClass") @classmethod def tearDownClass...
[ "banannas@tree.edu" ]
banannas@tree.edu
6ae2a28c5acfdb9ec8b1cb68c85502e938148591
5388078ef91709078563e55fa4bbc6935d79ae1a
/file_input_output/demo_max_word.py
2356e272287d9cc61d96aeed04eb7f47b7e54adb
[]
no_license
hanv698/PythonDjangoLuminar
a0b764efe67be40f08337593b69143fa602a06ac
e2fdec301b5f3c48e070fddcf715c3565435806d
refs/heads/master
2023-03-19T17:35:15.838189
2021-03-10T06:44:27
2021-03-10T06:44:27
327,817,291
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
f=open("demo","r") dict={} for lines in f: words=lines.rstrip("\n").split(" ") for word in words: if(word not in dict): dict[word]=1 else: dict[word]+=1 maxi=sorted(dict,key=dict.get,reverse=True) print(maxi[0],":",dict[maxi[0]])
[ "hanv698@gmail.com" ]
hanv698@gmail.com
6108b99e4d996f51bfbbc836f3d19abb16fa8cde
073aa281d44b1212a54f3f0ed7ecea17ce4ed195
/lib/BoardMRAA.py
efffb0aee2195037f798349115f6dcfb8df92046
[]
no_license
VeronaFabLabRepo/intelmaker16_openlogger
cede8706af6da20002d6abc26474be6eb18731fe
17100db76af534512f14cf0f61391a587bb80ad9
refs/heads/master
2020-07-07T06:10:11.643116
2016-11-08T20:07:47
2016-11-08T20:07:47
67,450,382
1
0
null
null
null
null
UTF-8
Python
false
false
963
py
import Hardware import mraa import psutil import os import time #Implementazione dell'hardware Intel Edison class BoardMRAA(Hardware.Hardware): def getInfo(self): return "IntelEdison" def getData(self): return { "date":time.strftime("%x"), "time":time.strftime("%X") } def setData(self,data): # data =...
[ "zamby.ing@gmail.com" ]
zamby.ing@gmail.com
6804a11ea2a813351e7b51112737afdddd3ab834
772c0c955eee54bfa8f483c52491c490c130e4bf
/inputs1.py
4aa6db3f2b43946c02766ee5c0a1ee2e0a36328e
[]
no_license
CGayatri/Python-Practice1
9bedd2beb3c2418ed7f6212ef2810b451a055fdf
96d184628c9187db10ee4f0951805d157628ca8e
refs/heads/master
2023-08-25T20:29:20.565673
2021-11-11T05:02:35
2021-11-11T05:02:35
426,872,928
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
### program - 1 to accept a string from keyboard # accepting a string from keyboard str = input("Enter a string: ") print("U entered: ", str) #Output: ''' F:\PY>py inputs1.py Enter a string: Gayatri Chaudhari U entered: Gayatri Chaudhari '''
[ "chaudharisimran1@gmail.com" ]
chaudharisimran1@gmail.com
c5bcac69d4260a7eef9611be71c5f98aa7e41129
5944350c93efe682af2018dd07ec74205be05969
/Jumping on the clouds.py
2096c55cc9bc0654f91d6e95ced5faa649a704ee
[]
no_license
Siddharth-IITH/HackerRank-Solutions
9fda99a6624eeebb9687c2fe4330c7900c080c6c
00b934cf69d9b2e610137a36337591432ecf61d4
refs/heads/master
2022-12-06T14:15:11.147242
2020-09-03T07:11:24
2020-09-03T07:11:24
283,832,506
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
#!/bin/python3 import math import os import random import re import sys # Complete the jumpingOnClouds function below. def jumpingOnClouds(c): i=0 count=0 while(i<len(c)-1): try: if c[i+2]!=1: i=i+2 else: i=i+1 except: ...
[ "noreply@github.com" ]
Siddharth-IITH.noreply@github.com
2b4fa7e0c6e142064366b2e43a6fae63213b0e1e
93b866284ca1ac29c5005555f2cb30454a0fb5cf
/Problems/700-Problem/Problem 700.py
513d24149c9e61e8f1f15aaa4ce5ac5be3a963b3
[]
no_license
FrancoisdeFouchecour/Projet-Euler
c2b17d1e35fbd10a708ba3221825a62a17818382
0cf70457c0418264c2eff7cdd0e92a07b61ecb07
refs/heads/master
2021-12-25T05:44:08.054648
2021-11-27T21:47:42
2021-11-27T21:47:42
168,253,571
1
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
import time import numpy as np import os import sys sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.getcwd())),'Utils')) from arithm import bezout problem_number = 700 problem_input = 1504170715041707 problem_input_modulo = 4503599627370517 #Solution def solution(K, modulo): sumation = K ...
[ "francois.fouchecour@gmail.com" ]
francois.fouchecour@gmail.com
6a1c0fef217a5a87defbe7ea2b9837d232dc7b92
56b4287af3bad2a7c5d56f5d150d41f445bf3e95
/util/text_connector/detectors.py
54d360a024cb5e506a3b5999387f0e27bb5767dd
[ "MIT" ]
permissive
smartcai/cptn-crnn
32c9144df597f90306802ef51988083aa36297f8
5586d72dd513aad1fc55e6335cf38100af21be65
refs/heads/master
2021-05-24T17:17:37.156576
2019-07-23T03:32:04
2019-07-23T03:32:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
# coding:utf-8 import numpy as np from util.bbox.nms import nms from .text_connect_cfg import Config as TextLineCfg from .text_proposal_connector import TextProposalConnector from .text_proposal_connector_oriented import TextProposalConnector as TextProposalConnectorOriented class TextDetector: def __init__(self...
[ "xyh650209@163.com" ]
xyh650209@163.com
a48a155a32f543452e418f1d4097f3748baa480d
803286daa5c0992b6ad0008676789d14178f465e
/CSElab2/quidditchStats.py
b23b439a373473412119b37a2ebc6a7895d77397
[]
no_license
lchristopher99/CSE-Python
8bbd6f464336a11ce7dcb20e359cb35836434818
efb6b17d4eb514e602d65a3806d0872e310fd584
refs/heads/master
2020-04-02T15:56:26.185115
2019-02-04T00:45:49
2019-02-04T00:45:49
154,590,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
# Name: Logan Christopher Assigned: 9/12/18 # # Course: CSE 1284 Section: 11 Date Due: 9/12/18 # # File name: quidditchStats.py # # Program Description: Calculates statistics of a Quidditch match based off of user input. print('The following is a quidditch stats calculator.') print('Enter the match information below a...
[ "logan.christopher@comcast.net" ]
logan.christopher@comcast.net
39aafe89c7dec26bf248161d0d286f400253e5b9
5623c2115878a710f75e38d4bf2831afe18c5114
/Week3/Opdracht2/main.py
d3b0ac3f5541037dbd44a0dc9cf5d82414e93fe3
[]
no_license
renedekluis/HBO-ICT_python_2B
126e90e2440db165aa7c6e582d02c09648fcace4
05854e6ac90c2945a784c98f1b54361f42c6e2b7
refs/heads/master
2021-01-12T07:00:33.936591
2017-01-17T16:14:57
2017-01-17T16:14:57
76,893,366
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
class ListNode: def __init__(self,data,next_node): self.data = data self.next = next_node def __repr__(self): return str(self.data) class MyCircularLinkedList: """ This class creates a looping list of nodes. """ def __init__(self): self.tail = None def __repr__(self): """ ...
[ "rdekluis@hotmail.com" ]
rdekluis@hotmail.com
512c0b680008db2acda2d2a77c4dadbb7d980b2b
f73d43d8139e9cc57ead5ece561a50540bc3a039
/DawnEng.py
4e73e5558a54f08d7bc2c9632fe091ccff6ea559
[]
no_license
msohaibali/RssNews
5e96af6d1aa2844910389a0d94eee91db47b4c24
683a9ec433abfefe89b6a48577dd9ee2248c2727
refs/heads/master
2020-03-21T20:13:03.345962
2018-06-28T10:19:06
2018-06-28T10:19:06
138,994,032
0
0
null
null
null
null
UTF-8
Python
false
false
10,392
py
import traceback import arrow from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.firefox.firefox_binary import FirefoxBinary from pymongo import MongoClient import xml.etree.ElementTree as ET from selenium.webdriver.support.ui import WebDriverWait import time import dateutil.parser as ...
[ "sohaibayub9@gmail.com" ]
sohaibayub9@gmail.com
adf0636c17fb7050f4228e609a3fe4d8c9f97323
54f525ab1acc8f854c7a110f06086a94add93e16
/nlp-2/q3.py
394df0208ea2fdbaff3d883ab7429d1c50345351
[]
no_license
edison0829/course_codes
799ee302d86aa4410c615e04bbfcf7d6e69a38d7
a8d6c34ce890250b62048ba22b93ed6acd64d298
refs/heads/master
2020-04-30T19:16:05.602708
2019-05-13T18:20:06
2019-05-13T18:20:06
177,033,521
1
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
#!/usr/bin/env python import distsim word_to_ccdict = distsim.load_contexts("nytcounts.4k") ### provide your answer below ###Answer examples; replace with your choices # a name (for example: person, organization, or location) print 'china' for i, (word, score) in enumerate(distsim.show_nearest(word_to_ccdict, word...
[ "ruotianj@usc.edu" ]
ruotianj@usc.edu
25922c7f5a7a5df86b7b350b3530783a603c1dea
969027d46b99cc5e54f8fd683efb6cf6aa0bc8c0
/config.py
61c3f1084ba7bee398eab5b2ed00249a39f86934
[]
no_license
anshingy/xinjingzixun
719f538a600ae3b2cf2b424e9caf8610c74c0201
ad11a009a7290e32857179adae5f1fd0a9fcd736
refs/heads/master
2020-04-12T16:16:51.397909
2018-06-15T06:36:38
2018-06-15T06:36:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
from redis import StrictRedis class Config(object): # 设置调试模式 DEBUG = None # 设置秘钥 通过os,和base64代码编码生成 SECRET_KEY = 'k6fQDT/sHyZbrHiefRIESIvzo8LKQkrLYCui5glE2C0=' # 配置sqlalchemy连接mysql数据库 SQLALCHEMY_DATABASE_URI = 'mysql://root:mysql@localhost/newsInfo' # 配置数据库的动态追踪修改 SQLALCHEMY_TRACK_MODI...
[ "henan_youngstar@163.com" ]
henan_youngstar@163.com
673c03193725598c13eeb2a99e9775d727bc081f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03362/s814934853.py
0da7c3cf2ebcc6702e2881843c1c3712208b689d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- from collections import defaultdict import numpy def sieve_of_eratosthenes(n): primes = [2] cands = numpy.array(list(range(3, n+1, 2)), dtype=numpy.int) while len(cands) != 0: prime = primes[-1] cands = cands[cands % prime != 0] if len(cands) == 0: bre...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f76cde7ae38998a40d36dafdd55813b58b0ea099
88122e9812c937196094aa11a7399f4e3f69baba
/change_attribute_xml.py
2e458e23c7d4bbb9bd38755f7bcc13e21e6d2166
[]
no_license
ylltest/myscripts-github
d6c0383d43d92d7d70ec3c81f25b66f0c0146c07
0a79ce01c283d5fbb6032ed8d793bd14b0b00985
refs/heads/master
2020-04-04T18:04:59.479821
2018-12-12T09:38:50
2018-12-12T09:38:50
156,149,164
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
import os import xml.etree.cElementTree as et input_file_dir="C:\\Users\\Administrator.X36KKQ2UTQSEZ5O\\Desktop\\xmltest" # 待读取文件存放路径 xml_dir="C:\\Users\\Administrator.X36KKQ2UTQSEZ5O\\Desktop\\xml-ok\\" # 输出xml文件保存路径 def alter_file(file): tree=et.parse(file) root=tree.getroot() for node in root.iter(...
[ "llye@miivii.com" ]
llye@miivii.com
a56f060dbc5c93ea4851fc4fcbcf2f11e8adcccd
73e580830119adcf9bd0cd74598353fb4f3b000b
/pyhelm/repo.py
3f6dcc0826f01f5246c4f91f33b86bc0b9d111f9
[ "Apache-2.0" ]
permissive
HackToHell/pyhelm
9a79b2edeec11299c13cfc11769a824296840d6a
054729c4838a50b3395aa5f000701414d5314d77
refs/heads/master
2021-04-28T16:49:52.334759
2018-02-19T05:33:28
2018-02-19T05:33:28
122,023,000
0
0
null
2018-02-19T05:32:32
2018-02-19T05:32:32
null
UTF-8
Python
false
false
1,777
py
import cStringIO import itertools import os import pygit2 import requests import shutil import tarfile import tempfile import yaml def repo_index(repo_url): """Downloads the Chart's repo index""" index_url = os.path.join(repo_url, 'index.yaml') index = requests.get(index_url) return yaml.load(index.co...
[ "flaper87@gmail.com" ]
flaper87@gmail.com
e2259e34e5a91d547e72dd1c516a745cf64faa1e
212336dec0f4d17cfb430b2401acd845a8d9ef56
/string_basic.py
3e365fc6de61d286fcf670e77a26fa1383efe4bb
[]
no_license
Mizoguchi-Yuhei/udemy-kame-python
bdde0054a7ef1f096e43689be450ab20d3063636
1d5ac821e8b5032fc602c5a5da22877adc0f2578
refs/heads/main
2023-07-11T12:07:22.849858
2021-08-13T15:00:23
2021-08-13T15:00:23
376,057,781
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
# 文字列(String) print("Hello World!!") print('1') print("I'm fine.") print('I"m fine.') print(""" Hello world!! How are you doing? """) print("Hello \nworld") print("Hello \tworld") print("back slash n: \\n") print('I\'m fine') print("hello" + "world" + "!!")
[ "mizo.cb.fl@gmail.com" ]
mizo.cb.fl@gmail.com
76fdbcb324ed6cc4886f7268ac013e349c82f725
88f76659804ae25947352c3c26310480f06cabea
/run_merge.py
e8afd510ca506400528e26c3a5d30bdf2c25ca69
[]
no_license
92hoy/pandas_excel_merge
b0b2450efdb006ec641ba4fcc3a0bf36da1a95d0
a5d353014e321050b84dca26b671da8cf4a0fe26
refs/heads/main
2023-02-02T10:56:03.586190
2020-12-10T08:30:57
2020-12-10T08:30:57
319,853,764
0
0
null
null
null
null
UTF-8
Python
false
false
3,037
py
import pandas as pd from pandas import DataFrame import openpyxl import sys ########### use pandas ################ df = pd.read_excel("./location_data/AI_TEST_201104.xlsx", sheet_name='03_자동측정망') df1 = df['SN'] != 0 # column sort df1 = df[df1].sort_values('SN', ascending=False) h_list = [] equal_name_excel = [] tmp_...
[ "ho_9209@naver.com" ]
ho_9209@naver.com
a156d87e7889b89cfff4f16636c7edb787bc8b41
ca9ef917ecd5ba9615ab46d42d9409ccfa91d163
/step4c2.py
586870400c662f749c50bcd63de50c587523a01e
[]
no_license
ssy248/Lidar
8936e09b0b7a1906a63d2d5c17d30f1bfb63d0b1
125de93e1c5c9af2f5edcef718831878f1aadae1
refs/heads/master
2021-12-17T20:03:32.223556
2021-12-09T01:47:18
2021-12-09T01:47:18
191,840,225
0
1
null
2020-07-25T21:45:55
2019-06-13T22:16:00
Jupyter Notebook
UTF-8
Python
false
false
5,836
py
# STEP 4 C # updated process from above #input tfile ="april2019/2019-02-27-12-19-36_Velodyne-HDL-32-Data-BF1-CL1-Traj.csv" import math import csv trajnum = 0 obnum = 1 irow =0 outlier =0 #settimestamp={0} #setx ={0} #sety ={0} #settimestamp.clear() #setx.clear() #sety.clear() # change settimestamp to a norma...
[ "noreply@github.com" ]
ssy248.noreply@github.com
ac66200d1dd1ca23fe2f3468e6f90795b56a4e74
cd63877cac79429599bf30b7ad916ff52b7df266
/zvt/api/account.py
89674a5576d0babd121511684721c472dc901db8
[]
no_license
zfsamzfsam/zvt
2f803c3d0f4e5a4729b38fa316c007192e0a464f
f77f27d1ccd199a1b860ead71d4e6738438f804a
refs/heads/master
2020-05-30T22:43:22.894053
2019-05-31T03:16:55
2019-05-31T03:16:55
189,998,719
1
0
null
2019-06-03T12:15:05
2019-06-03T12:15:04
null
UTF-8
Python
false
false
2,124
py
# -*- coding: utf-8 -*- from zvt.api.common import get_data from zvt.domain.account import SimAccount, Position, Order def get_account(trader_name=None, return_type='df', start_timestamp=None, end_timestamp=None, filters=None, session=None, order=None, limit=None): if trader_name: if filt...
[ "5533061@qq.com" ]
5533061@qq.com