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
457db9cf31f17eff66a91f40c6afac4e33165f21
c2e2d1a80850017b95931752801024eb3f03b66a
/revision/repeated_word.py
2be1c4bb117045c352ee5c281760dcd177c55f98
[]
no_license
shreyasvinaya/School_assignments
61e7c909f1f0764d0978455d137a962e05e34c5e
2c2dbd328fc896b70555176802c1c2166c974353
refs/heads/master
2020-07-08T18:58:15.001500
2019-11-19T05:01:12
2019-11-19T05:01:12
203,750,066
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
#most repeated word a=input('enter a sentence') b=a.split() print(b) d={} for i in range(len(b)): pass if b[i] not in d: d[b[i]]=1 else: for j in d: pass if b[i]==j : pass d[b[i]]+=1 highest=0 item='' for q in d: if d[q]>highest : pass highest=d[q] item=q print(item,hi...
[ "noreply@github.com" ]
shreyasvinaya.noreply@github.com
9a985c189a5328bcc149258b1faf5e97c967615f
ab66cdd15bb1ad964e21ce236e3e524b1eebb58a
/build/toolchain/win/setup_toolchain.py
66e840bb9bee4e29ff2d61f9afdf05d8d839e3f3
[ "BSD-3-Clause" ]
permissive
tainyiPeter/build-gn
729659f3af90318d8ca80caa0a2f72d9bbfc595e
59376ea32237f28525173e25fe1ce4a5c19ad659
refs/heads/master
2020-04-19T09:52:23.499802
2018-12-18T10:43:26
2018-12-18T10:56:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,687
py
# Copyright (c) 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # # Copies the given "win tool" (which the toolchain uses to wrap compiler # invocations) and the environment blocks for the 32-bit and 64-bit builds on #...
[ "zcbenz@gmail.com" ]
zcbenz@gmail.com
4918810498af75369329a2204c7cccbe0e40efb1
40dd8330e5f78c4348bbddc2c5acfd59d793dd51
/tools/model_converters/twins2mmseg.py
647d41784aa07468be4b3f2e183064ad55266ad1
[ "Apache-2.0" ]
permissive
open-mmlab/mmsegmentation
0d12092312e2c465ede1fd7dd9847b6f2b37049c
30a3f94f3e2916e27fa38c67cc3b8c69c1893fe8
refs/heads/main
2023-09-04T10:54:52.299711
2023-07-24T07:28:21
2023-07-24T07:28:21
272,133,018
6,534
2,375
Apache-2.0
2023-09-14T01:22:32
2020-06-14T04:32:33
Python
UTF-8
Python
false
false
2,764
py
# Copyright (c) OpenMMLab. All rights reserved. import argparse import os.path as osp from collections import OrderedDict import mmengine import torch from mmengine.runner import CheckpointLoader def convert_twins(args, ckpt): new_ckpt = OrderedDict() for k, v in list(ckpt.items()): new_v = v ...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
668a48a3ce0d405c8471c0a654011de3bee895c6
96facbfa0cd5a2ca63819d67f46af3c3456631c1
/sound4bats/plot_metrics.py
9e4acaa3c4f6e31ed3e7ecbc9ab6650ece023e7c
[ "MIT" ]
permissive
cloudedbats/cloudedbats_sound
114a79f88ea0dd789304b88ecf451acc4196bb3e
e9c263ed86665f2f2a0b8bed300bca0a5c5b61f6
refs/heads/master
2021-07-14T03:36:12.777907
2020-07-21T07:27:54
2020-07-21T07:27:54
158,961,160
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
#!/usr/bin/python3 # -*- coding:utf-8 -*- # Project: http://cloudedbats.org # Copyright (c) 2019 Arnold Andreasson # License: MIT License (see LICENSE.txt or http://opensource.org/licenses/mit). import numpy import pathlib import dsp4bats class PlotMetrics(): """ """ def __init__(self, debug=False): ...
[ "parallels@parallels-Parallels-Virtual-Platform" ]
parallels@parallels-Parallels-Virtual-Platform
2e7a4bd79b06aac3719043d6611fdd4744d9fe10
51065aaa884c855fb00d65abbebd6d33f99b289c
/Nenotal PDA monitoring/Software/HR_Unit_Tests.py
5617303e8bb7e476765ed366ba2bcf0ad1bbe6df
[]
no_license
johnsonhit/Neonatal-cardiac-monitoring
e5d78ae8772f0366a764760a804c33293ee015bc
efd2b896e8ef7272d61b5f2b98e49ed6ad6e4e1a
refs/heads/master
2020-07-25T16:43:31.984399
2019-03-26T02:03:23
2019-03-26T02:03:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,552
py
# -*- coding: utf-8 -*- """ Created on Wed Sep 23 18:04:46 2015 @author: Moseph """ import unittest class runTests(unittest.TestCase): #all of the below unit tests test the accuracy and correctness of functions used in HR_Monitor.py # Status: All tests Run OK in ~0.03 seconds def test_findTHRZone(self): ...
[ "noreply@github.com" ]
johnsonhit.noreply@github.com
440882081229f4907b7d73f358e1e957fd47ae98
9660ada2f477f0d89f60cfd2e979824c7c97ea31
/src/experiments/no_trading_data.py
6903b582da442d6a8ab9f56f8ff7138f8a02fa9c
[]
no_license
JonasLaksen/deeptsa
941464fa499ac8022f7980e59265d48d83d078b9
1e8f9faf6272e9720bafcb7a0269ad7301fd3cdd
refs/heads/master
2022-12-20T21:46:39.246314
2020-07-19T21:28:36
2020-07-19T21:28:36
170,122,906
0
0
null
2022-11-21T22:47:57
2019-02-11T12:11:49
Python
UTF-8
Python
false
false
3,705
py
import json import os import pathlib import random import sys from datetime import datetime from functools import reduce import numpy as np import tensorflow as tf from src.lstm_one_output import LSTMOneOutput from src.models.stacked_lstm import StackedLSTM from src.utils import load_data, get_features, ...
[ "pthoang94@gmail.com" ]
pthoang94@gmail.com
c436a852bf1b29fdd43c22fec676f7de2348174a
da7a165522daea7c346693c5f32850017c482967
/abc51-100/abc066/c.py
09ed9795009df321637516a4eee2dcfb604ef0b8
[]
no_license
SShayashi/ABC
19f8750919208c5ff8935638dbaab941c255f914
3cbfee0c5251c1bb0df6306166d8d4b33bf7bb2c
refs/heads/master
2021-05-04T21:06:10.720367
2020-07-11T13:59:16
2020-07-11T13:59:29
119,886,572
2
0
null
null
null
null
UTF-8
Python
false
false
317
py
def main(): n = int(input()) a = list(map(int, input().split())) even = a[1::2] odd = a[::2] ans = [] if n % 2 == 0: even.reverse() ans = even + odd else: odd.reverse() ans = odd + even to_str = map(str, ans) return " ".join(to_str) print(main())
[ "sshayashi0208@gmail.com" ]
sshayashi0208@gmail.com
03df94b728472d4265b8096044658913498868d3
e669f692892b23cdc5829bf82e3b81ab016ec973
/active_learning/query_strategies/core_set.py
3a52ff7357f36990feff47e505bf04ec60b9916d
[]
no_license
JackYANG19/A-Benchmark-and-Empirical-Analysis-for-Replay-Strategies-in-Continual-Learning
848610f94eb38de0148ef6d05af0ec4144feecce
a6be52884576d56135fd05181df747ea2323f79f
refs/heads/main
2023-05-29T00:37:49.633513
2021-06-11T07:44:02
2021-06-11T07:44:02
375,931,888
1
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
import numpy as np from .strategy import Strategy from sklearn.neighbors import NearestNeighbors import pickle from datetime import datetime class CoreSet(Strategy): def __init__(self, X, Y, idxs_lb, net, handler, args, tor=1e-4): super(CoreSet, self).__init__(X, Y, idxs_lb, net, handler, args) se...
[ "noreply@github.com" ]
JackYANG19.noreply@github.com
16f56f1f208c469a2d92b843ac849f98a7111d08
7087a5dd1772c9456f098bc024a894dcaeef5432
/backup/build/new-calkube/kubernetes-6.0.0_snapshot-py2.7.egg/kubernetes/client/models/v1_delete_options.py
575bcf443ee81e1402ef6bba7a8c440f8590df0a
[]
no_license
santhoshchami/kubecctl-python
5be7a5a17cc6f08ec717b3eb1c11719ef7653aba
cd45af465e25b0799d65c573e841e2acb983ee68
refs/heads/master
2021-06-23T11:00:43.615062
2019-07-10T16:57:06
2019-07-10T16:57:06
145,669,246
0
0
null
null
null
null
UTF-8
Python
false
false
10,530
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.10.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "root@kube-node02.local" ]
root@kube-node02.local
e00966eccc36c07429403e8283952fe96a7dc0c6
f398d8a101679f02c86d056a7027664559d59f3d
/mediaserverV1/common/app.py
5dbbb1bdc00586acd75186a2e07f615d8a9a8e95
[]
no_license
sasanyi/mediaserver-client
5c5ffcef438eb54947a7fe73a66f2fef4c52b9f1
bd2eaadd2aa0412dd80d3fedfee9438331b48923
refs/heads/main
2023-05-09T19:21:03.170112
2021-04-20T11:59:58
2021-04-20T11:59:58
359,217,955
0
1
null
2021-06-02T06:58:31
2021-04-18T18:05:05
JavaScript
UTF-8
Python
false
false
646
py
from sqlalchemy.orm import sessionmaker from .models import Base class App: __db = None @staticmethod def setDb(db): App.__db = db @staticmethod def getDb(): if App.__db is not None: return App.__db else: raise RuntimeError("Server ...
[ "savanya.sandor.jozsef@gmail.com" ]
savanya.sandor.jozsef@gmail.com
d240a545d7bf8d3761c56d2353c1b9191d5c5c8d
fcc0e1f62924c6e64e3197f2c39df8c85fd91e72
/The Millionth Fibonacci Kata/main.py
cf1f70b1f573d180a09349164f3a4529306b25cd
[]
no_license
T-800cs101/Codewars-solutions
9c9a9f3178401081867dbacb8c5473197de1039c
704e4514d01225586fffb77499956115f7deba24
refs/heads/main
2023-02-08T01:02:14.442862
2021-01-03T18:39:53
2021-01-03T18:39:53
324,001,669
0
0
null
null
null
null
UTF-8
Python
false
false
558
py
def fib(n): """Calculates the nth Fibonacci number""" a=1 b=1 c=1 rc=0 d=0 rd=1 if n >= 0: while n>0: if n%2!=0: #multiple matrix a with vector r tc = rc rc = rc*a + rd*c rd = tc*b + rd*d ta = a t...
[ "noreply@github.com" ]
T-800cs101.noreply@github.com
6332935611c8fc4d545043236f06b43121fcb9a3
555319a2f344a789e6971a877824111b13004c6d
/transfer_points.py
65a0b2040789bb1378783a424f0548a72d95a945
[]
no_license
Kairobo/Learn_Python
66e792054e70b72039a610cb8159693352b3092e
903f5d1d8614f4b3a81dc005362efb0ee50e8778
refs/heads/master
2021-01-25T09:45:00.162914
2018-09-12T04:53:07
2018-09-12T04:53:07
123,317,004
2
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
from copy import deepcopy import numpy as np def vector_norm(vec): return np.sqrt(np.power(vec[0],2)+np.power(vec[1],2)) def vector_divide(vec,divider=1): assert(len(vec)==2) vec_new = deepcopy(vec) vec_new[0] = vec_new[0]/divider vec_new[1] = vec_new[1]/divider return vec_new def vector_add(...
[ "kajia@umich.edu" ]
kajia@umich.edu
ccc0c33067aa23f9329f7727f8ce57f7f5cf29b1
fff24c6c6123e5e90ac2fae26536150449140c6d
/setup.py
0b74facb61fe0ac8600893175528a1d17392e7ab
[ "ISC" ]
permissive
binaryf/demosys-py
83da9f9ddd8d1672413f89153012ab6bb7fae6ab
f11b09cb6502adfaa437c8cbe780039c49b72524
refs/heads/master
2020-03-22T16:30:16.767030
2018-07-24T11:19:22
2018-07-24T11:19:22
140,331,208
1
0
null
2018-07-09T19:12:49
2018-07-09T19:12:48
null
UTF-8
Python
false
false
1,375
py
from setuptools import setup setup( name="demosys-py", version="1.0.4", description="Modern OpenGL 3.3+ Framework inspired by Django", long_description=open('README.md').read(), long_description_content_type='text/markdown', url="https://github.com/Contraz/demosys-py", author="Einar Forselv...
[ "eforselv@gmail.com" ]
eforselv@gmail.com
bfdd2ab6551b6a573aaa983869d46156ea4d2fb7
eba98519fc6a54c2960618d0f51cbf065c2507b6
/Praktikum/Praktikum 7/QDateTime.py
caef0b9a04aa7dd98ed6fc36a357f4f5b2292d17
[]
no_license
novianromadon/19104011-Novian_Dwi_Romadon-Pemrograman_GUI
b110c5be31ebf7ccc709d3cc2098fd78f97be21f
c056728c241a06bccd1e051e3dc437cccbf49515
refs/heads/main
2023-05-31T10:29:52.672493
2021-07-09T07:59:31
2021-07-09T07:59:31
358,150,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,998
py
import sys from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * class MainForm(QWidget): def __init__(self): super().__init__() self.setupUi() def setupUi(self): self.resize(400, 100) self.move(300, 300) self.setWindowTitle('Demo...
[ "noreply@github.com" ]
novianromadon.noreply@github.com
5a1800a557704e33d4f51badeae781b4ae00bcca
c3a01f8bcece48f94a347b92694f90227708f507
/pyvisa/testsuite/test_constants.py
8c5add8034b3b0c9c0686b60af1742adea537ea8
[ "MIT" ]
permissive
panlun/pyvisa
e16a6cdaae47bc69d932538f14c62015d17be7ab
124c46bd2ad89e49031339d6181255c2808fecbc
refs/heads/master
2022-11-21T13:07:29.280849
2020-06-24T22:23:27
2020-06-24T22:23:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
# -*- coding: utf-8 -*- """Test objects from constants. This file is part of PyVISA. :copyright: 2019-2020 by PyVISA Authors, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ from pyvisa.constants import DataWidth from . import BaseTestCase class TestDataWidth(BaseTestCase): def ...
[ "marul@laposte.net" ]
marul@laposte.net
b066397fb9bc946e9a69c27740fce629d38265b4
6e3a397cea008e6d103c3df0d8ecebd73e625f5e
/857MinimumCostToHireKWorkers.py
b3fb07d05afd9ed4e2744cf7f3f7c5dbb7447aa1
[]
no_license
mz-jobs/LeetCode
21aef007e44debb80baaba6b122cb9d7784476da
eae9e977106a136952cd21cf0de2662f00b6bd4c
refs/heads/master
2020-11-26T18:07:42.901772
2019-12-20T02:11:56
2019-12-20T02:11:56
229,168,713
0
0
null
null
null
null
UTF-8
Python
false
false
1,951
py
import heapq # quality = [3, 1, 10, 10, 1] # wage = [4, 8, 2, 2, 7] # K = 3 quality = [10, 20, 5] wage = [70, 50, 30] K = 2 # calculate wage/quality for each worker # calculate proposed wage for every other worker # select those that will take this wage # if more or equal than K will take than return ...
[ "mateusz.zarkowski@starburstdata.com" ]
mateusz.zarkowski@starburstdata.com
dddef1b6727b5842f1ec2e9af0d392ed0c77866a
1c18dd1a1ffaa107d7b7539989d2855a205621be
/tables.py
76c1f15c44e3aa5f8d4455b763eb2c0a9a482acc
[]
no_license
mertse7en/kafka-to-bigquery
a104bef210baeb1c52f224555fa8615b13f9f9b1
e5d9ecf11eb98de2973c779f3133fcaef2a141a4
refs/heads/master
2023-03-29T17:04:36.076720
2021-03-31T10:49:20
2021-03-31T10:49:20
353,313,912
3
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
# table_schema = [ # {'name':'Attributed Touch Type', 'type':'STRING'}, # {'name':'Attributed Touch Time', 'type':'STRING'}, # {'name':'Install Time', 'type':'TIMESTAMP'}, # {'name':'Event Time', 'type':'TIMESTAMP'}, # {'name':'Event Name', 'type':'STRING'}, # {'name':'Event Value', 'type':'STRI...
[ "mertse7en@hotmail.com" ]
mertse7en@hotmail.com
9c966306cb14e900ddb0fe333aef456dc990cd86
20854911d21af4061fb8508998f9e6221805fa11
/compasssudoku/util.py
0350f8e270cc274ec463fce0a507bdc1235c9e05
[ "MIT" ]
permissive
corrodedHash/compass-sudoku-z3
4df43bb79e5b8143b6efae8a7b09e353d6cbc428
62105ce76e1965da48944d98eb7eaac16ac313b0
refs/heads/master
2020-09-11T08:15:29.459647
2020-02-27T14:12:12
2020-02-27T14:12:12
222,002,117
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
"""Contains utility""" import enum from typing import Tuple, List, Optional Coord2D = Tuple[int, int] class CardinalDirection(enum.Enum): """Cardinal directions""" north = enum.auto() east = enum.auto() south = enum.auto() west = enum.auto() DIRECTION_MAP = { CardinalDirection.north: (0, -1)...
[ "lukas.woelfer@rwth-aachen.de" ]
lukas.woelfer@rwth-aachen.de
de359021284051a02d242a0b4f474b162f719d09
b2f6d5c7ecc1f38e6ba72e6888377a390adbff2a
/mysite/settings.py
25e38aee41cee359d023b9bbfbfa0c53561e9aa6
[]
no_license
DanielDeLeon5/Final
2402bf892bd0e918de4e767af4550417dffaf575
9db84c2436ab53e55e59586579c0cfcfbfc3bb65
refs/heads/master
2020-09-12T20:41:12.156660
2019-11-18T21:26:28
2019-11-18T21:26:28
222,547,912
0
0
null
null
null
null
UTF-8
Python
false
false
3,184
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "danieldleon5@outlook.com" ]
danieldleon5@outlook.com
c15c664c78d7bb3445a5100274c4956b98fa0822
992fdae00c35edfc55b7b9217d3416e23a41e32f
/django課程/urexpenses/urexpenses/asgi.py
0c441247f979b289639046f618ad83ab34e36949
[]
no_license
kinqston34/django_web
de5fb44126894b8154b2a579c926a02521aab9ea
c9f7bb9465d130bcebae6e53ba163e6ae2b44e3e
refs/heads/main
2023-08-06T19:19:38.751897
2021-09-21T07:49:20
2021-09-21T07:49:20
408,726,221
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for urexpenses 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_SE...
[ "aa37741867@gmail.com" ]
aa37741867@gmail.com
fde7b2f385fccb968d25eec83d170caed70787a3
1c2402d3e736dc250a0a26b3f293d0f4b61656b2
/src/msgvan/msgvan.py
fd2ecabe1ceb99e6d85ebd0a8aeb40bdfe21b53b
[ "Apache-2.0" ]
permissive
sabaini/msgvan
31ca002b1790720a5fd3c25107ef2b2244fc51d2
e921b993654a03ed671296ed3e88eb9f3f24ff79
refs/heads/main
2022-12-28T21:31:26.290011
2020-10-10T18:14:17
2020-10-10T18:32:07
301,180,081
0
0
null
null
null
null
UTF-8
Python
false
false
3,525
py
"""The msgvan module Has a factory function for message vans and a base class for messages to be sent """ import logging import logging.handlers import attr from msgvan.thespmessages import ( AddSubMessage, DelSubMessage, HandlerMessage, MessageWrapper, StatusRequest, ) from thespian.actors impo...
[ "peter.sabaini@canonical.com" ]
peter.sabaini@canonical.com
4f8b1b66f46d84dc3ff522025003878e745fb9f0
e71bc93bab1d97959bf97998ee349e431f9c18f3
/dag/weather_feeds_dag.py
2159c28ba3686ac38491bb51df49e49e3b2cf335
[]
no_license
Techfitlab/weather_feeds
7bb83f280a6563051d4772dc091fee91d21b47bf
98dc6b96cd113e2e32fee40ae664628d8b34fed6
refs/heads/master
2022-12-20T22:10:48.394560
2020-09-26T16:24:43
2020-09-26T16:24:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,740
py
import datetime as dt from airflow import DAG from airflow.operators.bash_operator import BashOperator from airflow.operators.python_operator import PythonOperator def notify_script1(): print('Writing in file') with open('/path/to/your/repo/weather_feeds/log/notification.txt', 'a+', encoding='utf8') as f: ...
[ "noreply@github.com" ]
Techfitlab.noreply@github.com
82bf956dd3c287298797333382139077cbb943dd
b09e6cbd019c4f2002ba0c34caaa4506132c1d6b
/FINAL/3. Sentiment Analysis/SA_Ensemble_Models_Training_Olga.py
ae2ad7c3950eba41e5766d4e0258e8e2dc0013fb
[ "MIT" ]
permissive
o0oBluePhoenixo0o/AbbVie2017
935be251170722443a13602e5ae635b0128bf286
356583487455ba2616457f8a59ca741321c0b154
refs/heads/master
2021-09-24T17:32:02.676494
2018-10-12T12:49:04
2018-10-12T12:49:04
83,968,797
2
0
null
null
null
null
UTF-8
Python
false
false
7,132
py
# coding: utf-8 # In[3]: #Download the libraries import nltk import re from sklearn.metrics import confusion_matrix import pandas as pd import numpy as np import csv import os import matplotlib.pyplot as plt import sys import time import random from sklearn.feature_extraction.text import TfidfVectorizer from sklearn...
[ "noreply@github.com" ]
o0oBluePhoenixo0o.noreply@github.com
dfc119e744be40778ca5cd17e33454a7d7001076
fd18ce27b66746f932a65488aad04494202e2e0d
/day34/farms/categories/categories/categories/pipelines.py
dba029c921f259cfcbba84dba0b24d192b7fa697
[]
no_license
daofeng123/ClassCodes
1acbd843836e550c9cebf67ef21dfca9f6b9fc87
fbcd1f24d79b8bb56ad0669b07ad118064609612
refs/heads/master
2020-06-24T12:34:28.148197
2019-08-15T03:56:40
2019-08-15T03:56:40
198,963,469
3
0
null
2019-07-26T06:53:45
2019-07-26T06:53:44
null
UTF-8
Python
false
false
558
py
# -*- coding: utf-8 -*- import json # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html from categories.dbs.redismq import RedisMQ class CategoriesPipeline(object): redis_mq = RedisMQ() def p...
[ "38395870@qq.com" ]
38395870@qq.com
e63fced98376b8b111bf2c2ad5eed5d9dad939a1
c17bf882ae045d38afd4d5092c0acaff43440f08
/src/python/structbox.py
ce4a3dc795ec10a994e972794b9abf870bfef0f5
[ "Apache-2.0" ]
permissive
jstnlef/structbox
9a50a01e0d1ea8baa6cdeb3554e48d14703c094f
6d751a616a6c3c3a5ad69855d43473239e2b8475
refs/heads/master
2020-04-02T07:23:38.501747
2016-07-07T01:18:56
2016-07-07T01:18:56
60,471,965
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
from sys import platform from cffi import FFI def initialize_dynamic_lib(): if platform.startswith('darwin'): prefix = 'lib' ext = 'dylib' elif platform.startswith('win32'): prefix = '' ext = 'dll' elif platform.startswith('linux'): prefix = 'lib' ext = 'so...
[ "jstnlefebvre@gmail.com" ]
jstnlefebvre@gmail.com
6b8ed011ec4b222f6da0db0cb561594982347b23
97de77d0fffb2aa3e52e74685b4b0037a32d8ae7
/mp4_renamer.py
fe61976d9954989e082d3e897875c93028776d84
[]
no_license
mpagels/mp4_renamer
a71ca5f945faebce3742d45e18a5c956f0ff39fe
599feff276eed2376b23302faf50b3a2eb492813
refs/heads/master
2020-08-09T06:46:01.050859
2019-10-09T23:18:12
2019-10-09T23:18:12
214,025,388
1
0
null
null
null
null
UTF-8
Python
false
false
2,551
py
import os import shutil def start(): # Config # Liste die die Fragen enthält frage = [ "[1] - Vorne was hinzufügen - XXXXDateiName.mp4" , "[2] - Hinten was angängen - DateiNameXXXX.mp4", "[3] - Vorne und hinten was anhängen - XXXFDateiNameXXX.mp4...
[ "noreply@github.com" ]
mpagels.noreply@github.com
06623f252070f66e9280fe42ee2ffbe9322fc85e
28b4243e031772102433bc951a75ff04b2d6e51f
/src/main/dimention_reduction.py
5fb87c3e9eaaa4ee0ac077e991e3cdcb39cef8f8
[]
no_license
mana-ysh/gaussian-embedding
6ffb8389e58cc21dc580da0b642a506b0963b961
1bfa3ad1d132074a8a4903a333c4d009e760f26c
refs/heads/master
2020-03-11T14:27:46.106834
2018-04-23T12:34:01
2018-04-23T12:34:01
130,055,158
2
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
import argparse import bhtsne import matplotlib.pylab as plt import numpy as np import sklearn.base from sklearn.decomposition import PCA import sys sys.path.append('../') from models.gaussian_bilinear_model import GaussianBilinearModel from utils.vocab import Vocab class BHTSNE(sklearn.base.BaseEstimator, sklearn....
[ "manabe.hitoshi.me0@is.naist.jp" ]
manabe.hitoshi.me0@is.naist.jp
5360d61f104aa7008b4b9781d2455b9f9f7b96ad
b27509662b15ab4ae8d7ee1ce274b60b82eddbb9
/Lab6/DDPG/ddpg_PBT.py
2cc00e8297705e83432a59bfbf3a5542f15550f2
[]
no_license
kuolunwang/Deep-Learning-and-Practice
4bf22f73a568a079537ea19bc9bd4e4ccff35b44
1bd0c089e7f4075b0dd0970b1833d914f54f6ee6
refs/heads/main
2023-06-14T06:29:03.537905
2021-07-14T10:28:33
2021-07-14T10:28:33
351,057,326
0
0
null
null
null
null
UTF-8
Python
false
false
12,235
py
'''Implement PBT in DDPG''' __author__ = 'chengscott' __copyright__ = 'Copyright 2020, NCTU CGI Lab' import argparse from collections import deque import itertools import random import time import os import json from functools import partial import gym import numpy as np import torch import torch.nn as nn import torch...
[ "kuolunwang.ee08@nycu.edu.tw" ]
kuolunwang.ee08@nycu.edu.tw
0d34a54609bdbacefa44b936368d3ff2f9852728
f1d50419d5ba32938bb48c6ef503ce698f569872
/code/wii.py
e18aa5e1ad653fdc208df91ebfe9526738a6da45
[]
no_license
DFNOsorio/Force_Platform
f2c0aa2e5950a69778cb50b9fa5871d7133fd334
a778d00c9051b613e14d43fd5987c0ce16cf4177
refs/heads/master
2021-01-22T11:36:44.984159
2016-09-23T16:08:04
2016-09-23T16:08:04
68,393,860
0
0
null
null
null
null
UTF-8
Python
false
false
3,218
py
from WII_Config import * def converter(rtl, rtr, rbl, rbr): [converted_tl, converted_tr, converted_bl, converted_br] = all_2_kilo([rtl, rtr, rbl, rbr], [TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, ...
[ "vdosavh@gmail.com" ]
vdosavh@gmail.com
14137630f521a0b7ae73c3c12a6089944fcf3c98
ae0f90383fd4317e29e5ade4be50f825eeed0d71
/Greedy/구명보트/jungmin.py
b91e4d1e1c3db9ae0a7843ff18c9d3350b671348
[ "MIT" ]
permissive
YAPP-18th/Study_Algorithm_Team_3
281b3641ab6cd35d7c4e809980aa1932f91de097
bab515c68bfb46b65611ce9fd6742824db4f2ba2
refs/heads/master
2023-04-20T23:43:14.490384
2021-05-07T19:50:05
2021-05-07T19:50:05
342,540,718
0
6
MIT
2021-05-07T19:42:17
2021-02-26T10:26:15
Python
UTF-8
Python
false
false
540
py
from collections import deque def solution(people, limit): answer = 0 people.sort() queue = deque(people) while queue: if len(queue) >= 2: # 무게 큰 놈이 나감 if queue[0] + queue[-1] > limit: queue.pop() answer += 1 else: ...
[ "gjwjdlas@sookmyung.ac.kr" ]
gjwjdlas@sookmyung.ac.kr
9e47150a76fdb7ee18bebc782085fa849b35d399
6c5c052058262588cd665d7fb629f4a2fcd8b743
/src/mdscripts_dmunozg/__init__.py
299de9ed1b8dcad571a01da84537024d04755b39
[ "MIT" ]
permissive
dmunozg/personal_scripts
e34193bb93c06d0e9733e9088be6b7415f501b9a
35fc8bb404ae30db86a88738ed15d712051e8738
refs/heads/main
2023-04-20T16:10:31.329636
2023-04-18T23:49:32
2023-04-18T23:49:32
366,151,890
0
0
null
null
null
null
UTF-8
Python
false
false
8,086
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import re import matplotlib.pyplot as plt import pandas as pd from scipy import interpolate class Function: """This class loads a function from a spread of sorted data. It has the 'eval' method, which evaluates the function on any number as long as it ...
[ "diego.munoz.g@ug.uchile.cl" ]
diego.munoz.g@ug.uchile.cl
6a3ef821de3e6230d254b961f69eee75586ab627
36e0d381ac6688a11c88faa6da7befd4b9f1ff4a
/DataDiffFull/parsers/utility.py
16c582307beeb62c8ac908eec5ba823f2c57c52b
[]
no_license
r0nharley/DataDriven21
cdcb8d8b99512cdf3f82e6ed52a5bb91f6a9a30a
4f99023b927a14c2b5743cb0ed0066691d1dcb1b
refs/heads/master
2023-05-24T12:08:28.568909
2021-06-09T22:03:38
2021-06-09T22:03:38
375,474,993
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
def get_span_value(span_value): """ Return the integer value of how many rows/columns a rowspan/colspan value represents :param span_value: the value of the rowspan/colspan html attribute :return: integer value of the attribute; returns 1 if the value is not a number """ return int(span_value) i...
[ "rharley77@gmail.com" ]
rharley77@gmail.com
8569ada425a7a6d84818ba286f86eeec28fcdbaa
73a06c33e686f7e01055fdf8d7c69eca901fe40d
/round473/even_odd.py
5d140fcae4222105f5151464cab711124119f34e
[]
no_license
hashkanna/codeforces
cb8eee2d19e354b32b84208920c8a91995da050f
fc56cb9caaa52aac157ba9e4b717c13d8f51ce1f
refs/heads/master
2021-06-27T10:37:01.906835
2019-01-16T15:55:06
2019-01-16T15:55:06
112,921,295
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
n=int(input()) if n%2==0: print('Mahmoud') else: print('Ehab')
[ "hashkanna@gmail.com" ]
hashkanna@gmail.com
8a6af64bda1660fee7c263541b1c3e8425df645e
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/request/AlipayOpenMiniInstantiateQueryRequest.py
2e24f412ecf6d93999b8fecab84c0b693832af9e
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
3,979
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayOpenMiniInstantiateQueryModel import AlipayOpenMiniInstantiateQueryModel class AlipayOpenMiniInstantiateQueryRequest(object): ...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
620f1406e617e247e382133e5f540ee19c5b62d4
d4318fc739de6cc17c74dcca3a0cd8ee9e238c34
/slack_bot/PythonScripts/greensheet_response.py
c7069a371d6525ebf44de8dd448308ee22cd9980
[]
no_license
surgoku/CMPE273-Project
ac173ee551ae1b5e12a4ca4c688ab94a657cff13
1e4933dbc201ba43b8a91bc5be37c4843b14fda0
refs/heads/original_changes
2021-01-23T08:34:45.761778
2017-05-16T00:21:47
2017-05-16T00:21:47
102,538,589
0
1
null
2017-09-05T23:14:16
2017-09-05T23:14:16
null
UTF-8
Python
false
false
2,572
py
import spacy from SpellCheck import SpellCheckResponse import MySQLdb import enchant from checkGreensheetAttribute import checkSubjectCode import getColumnandTableName import enchant d = enchant.Dict("en_US") nlp = spacy.load('en') def DB_Response(command,gloBalVariable): db = MySQLdb.connect(host="127.0.0.1", ...
[ "noreply@github.com" ]
surgoku.noreply@github.com
5396d59485edcffb1060921d5fc348209d891fe0
b13a326c8aac68f72c71169187a4aa8d4fe1438f
/environment/envs/icra.py
eaa3aafeecc909022ff8d9a459423e63e37e2866
[]
no_license
zy10zm/Pulsar
9f1d9abdf90d94e80c6dba2a02630bfe4b4e2115
714ee2d78577e59077af7c0f890e639879490eb8
refs/heads/master
2023-02-22T20:26:42.995175
2021-01-23T04:35:38
2021-01-23T04:35:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,882
py
import os, sys import numpy as np import logging from copy import deepcopy from mujoco_worldgen import Floor from mujoco_worldgen import ObjFromXML from mujoco_worldgen.util.sim_funcs import qpos_idxs_from_joint_prefix, qvel_idxs_from_joint_prefix from environment.worldgen.battlefield import Battlefield from environm...
[ "impeccableaslan@gmail.com" ]
impeccableaslan@gmail.com
80e5a620a51115228c9c48f190d3fcad02c8679d
ed0fbabfdb575969de233d184fa8e4b9c913ef39
/Form_Project/Form_Project/settings.py
16fdd43a8a17ca422179596e87af7816cc7c40ad
[]
no_license
sourabhjoshi220/Django_Codes
6ef762d168437d8122763a28c8c67006e01786bf
cc2b2b3960c754a25c15723495d75120def723e5
refs/heads/master
2020-07-03T09:50:47.913169
2019-08-30T14:00:19
2019-08-30T14:00:19
201,870,892
0
0
null
null
null
null
UTF-8
Python
false
false
3,387
py
""" Django settings for Form_Project project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ ""...
[ "noreply@github.com" ]
sourabhjoshi220.noreply@github.com
eecdc90449ea3bbc47e90548ca8004f0872498f7
ac03d9f3a8c2e6209940ae30900e9b2e32084dce
/main.py
9ef8df5eafeff0357882459573d9ee1b460c71e4
[ "Apache-2.0" ]
permissive
cls1991/github-projects-remover
29f28e0a23b596a7e07b0c07b65092626b42de05
d924100fedccbb0fd6e20365d4f4df98bf04b292
refs/heads/master
2022-12-11T12:31:59.498180
2019-10-23T14:22:14
2019-10-23T14:22:14
84,054,255
0
0
Apache-2.0
2019-10-23T14:22:16
2017-03-06T09:25:51
Python
UTF-8
Python
false
false
1,042
py
# coding: utf8 import os # 切换工作目录到项目根目录 project = os.path.split(os.path.realpath(__file__))[0] os.chdir(project) from core.github import GithubSample if __name__ == '__main__': gs = GithubSample('8709c9b9d01ec8e7388378c3992eff61aa7df813') # pretty_print(gs.query_api_info()) # pretty_print(gs.query_user_...
[ "tzk19910406@hotmail.com" ]
tzk19910406@hotmail.com
5a940509727ba2a3009b1c0b9d1f9080d6eb4205
ea9e01715df603ff767395a9d51182d4103b1a2f
/pdf_generator.py
ec7df6d443f7853e203611fad1d21a03c6791e16
[]
no_license
kmutreja/Creator
1bc5dd9eea8d265862fc2c913cd39a8a612cdf9c
44b4c95162dad9296a24965600122841488dd927
refs/heads/main
2023-05-07T02:33:06.721774
2021-06-04T14:23:46
2021-06-04T14:23:46
373,863,767
0
0
null
null
null
null
UTF-8
Python
false
false
3,179
py
import io from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas from reportlab.platypus import Table, TableStyle from reportlab.lib.enums import TA_CENTER from reportlab.lib import colors from PyPDF2 import PdfFileReader, PdfFileWriter from reportlab.lib.units import inch import random import strin...
[ "nanotech.softapp20@gmail.com" ]
nanotech.softapp20@gmail.com
38cce542df0415d2d792a37b8355ec7ce0f789d3
9e2d467de2d665f41dc94799f0acb98479571922
/_error.py
cf399a395d6e832d683a0de18251cbd067d4a2f6
[]
no_license
pytsite/plugin-geo_ip
c63ecd12c95004c05fdae76b20a9343b52fb923f
db71e67651eb57b6ca76136d0014eaadf2cb6ffb
refs/heads/master
2021-10-23T09:29:32.580289
2019-03-16T22:04:28
2019-03-16T22:04:28
112,030,619
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
"""PytSite GeoIP Errors. """ __author__ = 'Oleksandr Shepetko' __email__ = 'a@shepetko.com' __license__ = 'MIT' class ResolveError(Exception): pass
[ "a@shepetko.com" ]
a@shepetko.com
f7b22c64ab658985f221cf7076cee8fc91505b98
a360a22af5e0b385db438b1324564ef317ff2f38
/idex_module/views.py
a846edfb5592c73af23acdf636aeb55d68b6c4af
[]
no_license
ogglin/exchange_comparison
3eb2d849e731f94e67509e4ce9130e33bb37bbaf
f3feae64aff26b574f7ecd24e6f7aff7bb95ec65
refs/heads/master
2023-04-26T07:45:06.229584
2021-05-31T18:52:29
2021-05-31T18:52:29
287,036,194
0
1
null
null
null
null
UTF-8
Python
false
false
532
py
from rest_framework.response import Response from rest_framework.views import APIView from .functions import idex_profits # Create your views here. class idex(APIView): def get(self, request): # hotbit_result = hotbit_profits() idex_result = idex_profits() results = [] # idex_i...
[ "server.ares@gmail.com" ]
server.ares@gmail.com
33f88b3804973bb17c410c2bdf24456d89324c34
9bcfbdf23c9ac156e0cdf5b5b5e06f18a1ad6fae
/pre_code/stock/xueqiuPawer.py
1a9ff34bb4d43402fbd96230452d2828ff831e48
[]
no_license
haoson888/vnpy_future
a7576513b7ecf50c36d730c647263c6d1e44f3a6
89df2d5079a2e6d3782531369675248e38b2ff00
refs/heads/origin
2020-09-04T15:04:55.368725
2017-12-10T10:37:47
2017-12-10T10:37:47
219,762,816
0
1
null
2019-11-05T15:12:32
2019-11-05T14:18:18
null
UTF-8
Python
false
false
6,873
py
#coding: utf-8 from selenium import webdriver import re from urllib import request as urllib2 import sys import os from datetime import datetime from datetime import timedelta from datetime import date import xlrd from xlrd import open_workbook from xlutils.copy import copy #import nltk import time description_i...
[ "511735184@qq.com" ]
511735184@qq.com
7fa407813dc0e9f4324ea6fa68186ad55071a769
fda201d7cca34e216a17d97665c8457c72e66cb2
/register/tests/test_center_csv.py
5106fe3734607be0a86be712d190cf444751a602
[ "Apache-2.0" ]
permissive
SmartElect/SmartElect
94ab192beb32320e9ae8ae222f90ee531037c1c6
d6d35f2fa8f60e756ad5247f8f0a5f05830e92f8
refs/heads/develop
2020-12-26T04:04:42.753741
2019-07-17T17:08:25
2019-07-17T17:08:25
44,687,036
24
12
Apache-2.0
2020-06-06T07:16:48
2015-10-21T15:47:07
Python
UTF-8
Python
false
false
28,774
py
import os import shutil import tempfile from django.test import TestCase from django.urls import reverse from ..models import RegistrationCenter, Office, Constituency, SubConstituency from .. import utils from .factories import OfficeFactory, ConstituencyFactory, SubConstituencyFactory, \ RegistrationCenterFactor...
[ "vinod@kurup.com" ]
vinod@kurup.com
71997201796ce62175d0745d6fef7532a5f65d44
111608c4cdf1665583770bc8c47e405d010b45a6
/TP2/Conv_vis.py
eb1ea0a8a0578c9a21fd50834369e2d39dc86f0a
[]
no_license
wangzeyao/ComputerVision
56184bb792382cab90d68bb59b4ef410d8750f27
96daec6cb5e086e312ca956a857715d89f6a6adc
refs/heads/master
2020-04-27T15:09:57.906474
2019-04-30T19:31:07
2019-04-30T19:31:07
173,483,698
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
from keras.models import Model from keras.models import load_model import matplotlib.pyplot as plt # this script is for plot the out put of the convolution layer def conv_output(model, layer_name, img): input_img = model.input try: out_conv = model.get_layer(layer_name).output except: ra...
[ "blithetyrell@gmail.com" ]
blithetyrell@gmail.com
291f1107e0a99ce49de7bd1a42bab6e7fa9b9073
ffae55f50f9eb0ae028d9f46cebea565f3700585
/18/VAJets/PKUTreeMaker/test/CrabJobsSrc/MC/crab3_analysisWZ_v1.py
7d3a2cd976ff0802af00a8aafe4ae252256a8d2a
[]
no_license
JINGFFF/test
57a92eb2c3143bcfa5776fc87d3ff16ff7cdc04b
d48c2be6387dfaff3eb37e28ff116c91c3eaf67e
refs/heads/master
2021-02-06T21:00:52.184508
2020-04-26T04:35:04
2020-04-26T04:35:04
243,942,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,197
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'WZ_v1_2' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.maxMemoryMB = 3000 config.JobType.inputFiles = ['Summer16_07Au...
[ "15827238926@163.com" ]
15827238926@163.com
be99f713491a17a0f0cb456799aca46472352110
3116a22fcc4426a2e034f9ad244c907b8bab0f8f
/core/Config.py
1e3674711425d30f726428fd2b67bddb58a2f91e
[]
no_license
avjui/Homepy
8821986686c3808b11b1a1c4798a56a298a1ce8f
5c943d885edb75110db90c10ba27d20804f3f66d
refs/heads/master
2016-09-05T20:31:13.061590
2013-05-13T10:39:01
2013-05-13T10:39:01
8,085,378
1
0
null
null
null
null
UTF-8
Python
false
false
3,189
py
import os import sys from lib.configobj import ConfigObj import core import core.Logger class Config: def CheckSection(self, sec): """ Check if INI section exists, if not create it """ try: core.CFG[sec] return True except: core.CFG[sec] = {} return False ######################################...
[ "renej@vol.at" ]
renej@vol.at
90461e000c35af10dc0b8d65f682b4731f30ca25
57fb9e67e5134be1d45622726fdc2c5ed7918ac8
/wallapi/wallapp/urls.py
6253e5d86f2c6f7336ceaca39ba14facb3717a1f
[]
no_license
renatoln/WallMessages
b798e770a551945f5062465244771ae1742845ac
be0013aeda05dbe260efebcb787279f5055a4e25
refs/heads/master
2022-12-16T23:06:14.858578
2018-03-15T20:35:19
2018-03-15T20:35:19
124,813,272
0
0
null
2022-11-22T01:55:44
2018-03-12T00:36:04
Python
UTF-8
Python
false
false
678
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^usuarios/$', views.UsuarioList.as_view(), name='usuario-list'), url(r'^usuario/(?P<pk>[0-9]+)/$', views.UsuarioDetail.as_view(), name='usuario-detail'), url(r'^disciplinas/$', views.DisciplinaList.as_view()), url(r'^disciplin...
[ "renatoln@yahoo.com.br" ]
renatoln@yahoo.com.br
e8a48631debbf0d92915eee050925ee446953169
586f71acf5f50d893674de28f12f6f0336e79ae9
/less3/add_files/003.py
2fb804047209375411572876f610439a2a5e22e3
[]
no_license
alexphpteacher/python
7d1b60d40e83e72b5ad2463c6b4d866b0254978c
d159c578f82019df5f45c2cd88f244526e3a13cb
refs/heads/master
2020-03-21T17:44:00.591826
2018-07-09T16:37:41
2018-07-09T16:37:41
138,849,778
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
def f(a, b, c, d, aa, bb, cc, dd): print(a,b,c,d) print(aa,'',bb,'',cc,'',dd) args = [1,2,3,4] kwargs = { 'aa': 'aa val', 'bb': 'bb val', 'cc': 'cc val', 'dd': 'dd val', } f(*args, **kwargs)
[ "alexphpteacher@gmail.com" ]
alexphpteacher@gmail.com
e4636070438d299c95e00eb5f247fb6dcd338088
322ffff4be00c0fa4da4fde7442393cc2d54a08b
/blogp1e0/apps/voicea/views.py
8c71ea268f836d739b67e9cff807b97c7fc1c322
[]
no_license
aleporyadin/django-simple-blog
d04ef95c79553ad9060651a0e47dd02add72dacf
203f8d660e67c1072be998da810acf227fb9d82e
refs/heads/master
2023-02-23T17:27:42.613692
2021-01-27T18:33:38
2021-01-27T18:33:38
299,535,447
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
from django.shortcuts import render import requests def index(request): return render(request, 'voicea/voicea.html')
[ "ale.poryadin@gmail.com" ]
ale.poryadin@gmail.com
d64cb11c04445671cb8472f9ac553377401756df
1a54e43c7e277029822ad8cf0bd4644e6aa3d0f8
/qgis/ogrprocessing/sextanteext/ParameterDbConnection.py
2c8d04f41cb46a5ffe64bd11171a131702d4708b
[ "MIT" ]
permissive
maphew/ogrtools
f25e5398cc45aba214ff8712c294d0d0a205a7fe
9fc20807038439e831cf6f0a33afef0874ffc23e
refs/heads/master
2021-01-21T16:38:26.693153
2015-05-29T17:21:55
2015-05-29T17:21:55
36,517,475
0
0
null
2015-05-29T16:58:53
2015-05-29T16:58:53
null
UTF-8
Python
false
false
2,242
py
from sextante.parameters.ParameterSelection import ParameterSelection from ogrprocessing.dbconnection import DbConnection class ParameterDbConnection(ParameterSelection): def __init__(self, name="", description=""): self.options = DbConnection.qgis_connections() ParameterSelection.__init__( ...
[ "pka@sourcepole.ch" ]
pka@sourcepole.ch
eb3a8d5c498c7474673b63e103c93f49315218fa
3ff9821b1984417a83a75c7d186da9228e13ead9
/No_0122_Best Time to Buy and Sell Stock II/by_dynamic_programming.py
5874db8b00a7a87dcea7b16d8be839baf34edc99
[ "MIT" ]
permissive
brianchiang-tw/leetcode
fd4df1917daef403c48cb5a3f5834579526ad0c2
6978acfb8cb767002cb953d02be68999845425f3
refs/heads/master
2023-06-11T00:44:01.423772
2023-06-01T03:52:00
2023-06-01T03:52:00
222,939,709
41
12
null
null
null
null
UTF-8
Python
false
false
2,646
py
''' Description: Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may complete as many transactions as you like (i.e., buy one and sell one share of the stock multiple times). Note: You may not engage in multiple transactions...
[ "brianchiang1988@icloud.com" ]
brianchiang1988@icloud.com
d0dcfc939e257611608f80299b05985ddb4d0589
721fe60fad57f0b0ec9c9c320c24ca18cdc981cd
/django/rustic_cut/rustic_cut/admin.py
77671f3a23ef0d8229a4874fdc88dfa94ee92195
[]
no_license
OldGareBear/rustic-cut
e53159c64228de9a953675c43227c79ca7b0778e
176b0775bb7b6db518fe25c9057682da7df1368d
refs/heads/master
2021-01-10T15:57:25.685101
2016-02-09T18:53:55
2016-02-09T18:53:55
48,298,553
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
import rustic_cut.models as m from django.contrib.admin.views.main import ChangeList from django.contrib import admin @admin.register(m.Product) class ProductAdmin(admin.ModelAdmin): list_display = ('name',) search_fields = ('name', 'categories') @admin.register(m.Category) class CategoryAdmin(admin.Mo...
[ "betheagary@gmail.com" ]
betheagary@gmail.com
4bd4bebebcee12e2cf64dd1eacd1a163512bbeee
78c76c8ec506080ff83edd7a3619a6b1e709a4e5
/apps/courses/__init__.py
3b3a526b16976686d4850ba0f61ebd17bc4992e1
[]
no_license
wadayu/mxonline
dd0a08d21b858a49f2107974ba13b6e283a1f01f
58e808b3415e51935c15b1e5f7b30461c879d861
refs/heads/master
2021-01-20T23:47:55.025272
2018-02-08T01:41:06
2018-02-08T01:41:06
101,853,173
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
#xadmin后台中文显示 default_app_config = 'courses.apps.CoursesConfig'
[ "wadayu@163.com" ]
wadayu@163.com
46a639f619911ed380be15d8e19d2d7d854a4939
50e39231d8bea2a01a9d5db69aeb5c1a8054642b
/test/test_update/test_module.py
d0498fe86f21adf89dd240bec41836c7977f5729
[]
no_license
leecrest/wafer
eb09e96d79e149cfee4d6fc40270996618bdea6c
58b148d03dc18dcfdf6bac1c5ed410f1fe112ad3
refs/heads/master
2020-05-18T18:16:41.566961
2014-07-15T13:37:31
2014-07-15T13:37:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
# coding=utf-8 """ @author : leecrest @time : 2014/6/30 20:31 @brief : """ #NAME = "I am NAME" NAME2 = "I am NAME2"
[ "281042207@qq.com" ]
281042207@qq.com
155e6f8d2612353259928900fac73b905ca32da0
e5d8b15cbd899283d6ead4742334e997db06d6e0
/web/config/settings/base.py
37124bc82aab5552b2646ceca937c109e33f6676
[]
no_license
Maliaotw/dashboard-django
628d777d88b61dad7c3c551b72979b38c2065e15
cabbc3e6e8156510dd4ba91ffe1066c9cb040eac
refs/heads/main
2023-02-16T02:52:02.169754
2021-01-12T03:13:55
2021-01-12T03:13:55
289,612,737
0
0
null
2021-01-12T03:13:56
2020-08-23T04:05:36
JavaScript
UTF-8
Python
false
false
5,390
py
""" Django settings for web project. Generated by 'django-admin startproject' using Django 3.0.1. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os from ....
[ "MaliaoTW@gmail.com" ]
MaliaoTW@gmail.com
a0fb6c98577c64b357b2869ef1c3ec0ceecded1c
8ac2b232fff16e6c32b872dfb505e951c5e6753c
/samples/contrib/pytorch-samples/bert/news_dataset.py
a1c1f8945d390d52b54023046b07179840091ad8
[ "BSD-3-Clause", "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
Bobgy/pipelines
95a3e434ea19492f85ed8711fde566f6a5dff5c5
105e10090e6d00ed1910121c00e72c7cf6001633
refs/heads/master
2022-05-17T02:39:40.388972
2021-07-31T05:36:35
2021-07-31T05:36:35
200,167,826
1
1
Apache-2.0
2021-02-06T01:33:33
2019-08-02T04:57:30
Python
UTF-8
Python
false
false
2,500
py
# !/usr/bin/env/python3 # Copyright (c) Facebook, Inc. and its affiliates. # 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 ...
[ "noreply@github.com" ]
Bobgy.noreply@github.com
61dbadf241ebabf20e985be5c0ebeac9a380b5f1
560a1c817fe015b165a6f2885bfa0575d5c2f2ba
/splibrary.py
f6b08bae7df936a6dbe1f63e6af32b8ac6a67107
[]
no_license
daniel2005d/SharePointTools
19ad23181f5611ad725c775882872c0c7468fb06
59658a84c0f512c6c61b317ac34238648bb18fbc
refs/heads/master
2021-01-21T15:37:39.590170
2020-06-16T22:45:32
2020-06-16T22:45:32
91,852,987
0
1
null
null
null
null
UTF-8
Python
false
false
2,121
py
#!/usr/bin/env python from colored import fg, attr import argparse from bs4 import BeautifulSoup from urlparse import urlparse import requests import sys def validaracceso(pagina): r = requests.get(pagina, verify=False) if r.status_code == 200: print('{} {} {} --> {} OK {}'.format(fg('yellow'), pagina...
[ "daniel2005d@gmail.com" ]
daniel2005d@gmail.com
7903b63e3153fe8c031f7f176fc936e66a33a123
41d25836fc24cd540f163235fadf07b8030199e3
/Sparse Auto Encoder/load_dataset.py
af254a576086af14b4013869c54fdddbae25500a
[]
no_license
AchyuthaBharadwaj/Machine-Learning
d9828eeb22a95c5893bf902d6a8273513b00a117
fca3462f0aa9f1c02b520b297a9f59c00b9b4243
refs/heads/master
2020-03-15T10:28:41.773871
2018-05-06T01:11:17
2018-05-06T01:11:17
132,099,605
0
0
null
null
null
null
UTF-8
Python
false
false
2,720
py
import numpy as np import os import pdb datasets_dir = './data/' def one_hot(x,n): if type(x) == list: x = np.array(x) x = x.flatten() o_h = np.zeros((len(x),n)) o_h[np.arange(len(x)),x] = 1 return o_h def mnist(ntrain=60000,ntest=10000,onehot=False,subset=True,digit_range=[0,2],shuffle=True): data_dir = os....
[ "32027107+achyu1729@users.noreply.github.com" ]
32027107+achyu1729@users.noreply.github.com
6bf1a8ce698e2b0c1de939eb7ad87f03c6b43fb3
da10044b2248b4aac89bdc5c4886cc7486d3d938
/blog/models.py
87ea42b48156fafd97327ecca94139749c5a8481
[]
no_license
g-akash/my-blog
49100d55b78886ea11423bd317b53c4c1bde7aa4
bb8239c7bc76aafa50ce2d124946c12535a68fce
refs/heads/master
2020-12-02T19:24:27.493143
2017-07-06T20:56:33
2017-07-06T20:56:33
96,337,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User') title = models.CharField(max_length=200) text = models.TextField() created_date = models.Dat...
[ "akash.garg2007@gmail.com" ]
akash.garg2007@gmail.com
f9d8898f58752cd3781b1c1101eefbc33a20667c
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/perf/CascadeMaskRCNN_iflytek_for_PyTorch/configs/seesaw_loss/cascade_mask_rcnn_r101_fpn_sample1e-3_seesaw_loss_mstrain_2x_lvis_v1.py
853289e67b4a5019eddfc1bbefb0b44e53dd49e2
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
3,714
py
_base_ = [ '../_base_/models/cascade_mask_rcnn_r50_fpn.py', '../_base_/datasets/lvis_v1_instance.py', '../_base_/schedules/schedule_2x.py', '../_base_/default_runtime.py' ] model = dict( pretrained='torchvision://resnet101', backbone=dict(depth=101), roi_head=dict( bbox_head=[ ...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
a87804d2d25c07f79802384fc10580b459fae10e
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/media_source/test_local_source.py
bc637caab808964792012429bc925ee473d435b8
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
10,965
py
"""Test Local Media Source.""" from collections.abc import AsyncGenerator from http import HTTPStatus import io from pathlib import Path from tempfile import TemporaryDirectory from unittest.mock import patch import pytest from homeassistant.components import media_source, websocket_api from homeassistant.components....
[ "noreply@github.com" ]
home-assistant.noreply@github.com
e8604bf04360abbcf19d34b33ca5f23bde6bf241
9837c961c37ef39b8658117ffd58df3bc2a57e46
/util/operate_global.py
fcb96fd8def0e49b19b13d844a2698aae00aebab
[]
no_license
tan0833/dynamic_inventory_api
3012f895a44ab11b77572851f3f0b51c51341a15
ab1d739e939b95d44596bcc77864ce75a5189bde
refs/heads/master
2021-07-11T05:25:22.191705
2021-03-04T06:17:52
2021-03-04T06:17:52
232,775,605
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
u''' 本页面将接口返回的数据以字典的形式存在全局字典中,方便后续调用 ''' from config.Log import Log import traceback class GlobalDict: def __init__(self,dict): self.log = Log() self.__global_dict = dict def set_dict(self,key,value): self.__global_dict[key] = value def get_dict(self,key): try: ...
[ "tanxueqiang@chinasoftinc.com" ]
tanxueqiang@chinasoftinc.com
817bef268e1d15ce277c10d89f96d2d96be5bd73
7fb95d6a5b4712c257c79e2a31b2c5443f895af7
/Python/iterative/icount/test_icount.py
710e78dc79ce5112e819ad5cb3eb8894843431a5
[ "CC0-1.0" ]
permissive
AlexBuzin/Algorithms
e6c716cb02bb18deca56be2e954c989a90101437
904df4f93000a81f87f2b1a1a0029fdef29cc841
refs/heads/main
2023-07-15T06:54:04.707656
2021-08-31T08:00:55
2021-08-31T08:00:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,070
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """The icount function test module.""" __author__ = "Stanislav D. Kudriavtsev" from itertools import count from pytest import fixture, raises from icount import icount # pylint: disable=redefined-outer-name NITERS = 10 @fixture def numbers(): """Numbers for...
[ "staniskudriavtsev@yandex.ru" ]
staniskudriavtsev@yandex.ru
f8043f24603be8397d9b38e57c40cd0715eb1b90
12746e788495a69d9a56468d0c17860064718796
/DjangoGalleryProject/asgi.py
9c75b1d66593602406125ca21c98b1ea39cb59e0
[ "MIT" ]
permissive
Loisa-Kitakaya/django-gallery
aa3f1f0ac1d168dec3ad15e2b405a086759e8583
dfe1b816b3756ee15ccd7765346f573ffdd928ea
refs/heads/master
2021-11-27T03:04:50.269682
2020-03-03T13:14:43
2020-03-03T13:14:43
243,682,160
0
0
MIT
2021-09-22T18:40:20
2020-02-28T04:59:59
Python
UTF-8
Python
false
false
417
py
""" ASGI config for DjangoGalleryProject 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault(...
[ "loisakitakaya@gmail.com" ]
loisakitakaya@gmail.com
8dd59bbc40376cb8883b20951a8e2e36ce56d2a4
8aae25a40542e228a9d4e934c1f9331937682aec
/utils/utilities.py
431fd67b405434171378d9d0a0c44e00e1d144cc
[]
no_license
lijunhon/acoustic_scene
61acb94b4c56f31d27660bfafc83b98414af1257
328d0ca8a74c26b43233b46a8f5786b492ca1804
refs/heads/master
2021-06-27T15:15:08.284332
2020-11-14T14:13:34
2020-11-14T14:13:34
181,034,683
0
0
null
null
null
null
UTF-8
Python
false
false
5,267
py
import numpy as np import soundfile import librosa import os from sklearn import metrics import logging import matplotlib.pyplot as plt import matplotlib.ticker as ticker import config def create_folder(fd): if not os.path.exists(fd): os.makedirs(fd) def get_filename(path): path = os.path.realpath(...
[ "812143550@qq.com" ]
812143550@qq.com
607394898c44755e60a85bcf201e935d2c46130a
20f2b05116ab1ad5b9421c52157097305d68ae66
/mxnet/tools/common/gluoncv_utils_export_helper.py
fa1febb5da4755b4a736f4719e55d35b0391787d
[]
no_license
autumnfallenwang/pycode
0ac860bbbe6b64b49037652945df481f8d2264b9
449db37f0a93862e0610f37296ad066031eb2299
refs/heads/master
2022-12-13T23:23:49.011574
2020-09-14T16:25:31
2020-09-14T16:25:31
240,272,352
0
0
null
2022-12-07T18:30:03
2020-02-13T13:54:25
Python
UTF-8
Python
false
false
4,795
py
"""Helper utils for export HybridBlock to symbols.""" from __future__ import absolute_import import mxnet as mx from mxnet.base import MXNetError from mxnet.gluon import HybridBlock from mxnet.gluon import nn class _DefaultPreprocess(HybridBlock): """Default preprocess block used by GluonCV. The d...
[ "qiushiwang0509@163.com" ]
qiushiwang0509@163.com
91aa9483cabeb25ea754ababe244d944de6fe99f
44cfc32ae35487314cbf2ea83fbc96de9ac3e693
/Sorting/merge_sort.py
af08cfbed4e7e08386c3d5ea9da8271b1dbd8d35
[]
no_license
Imonymous/Practice
738fdf2099a74127460a647fee8db97c95f322fc
ff6138d858777e6a669a5a387cd2f775c60c9aff
refs/heads/master
2020-03-18T16:53:15.029553
2019-11-09T23:29:27
2019-11-09T23:29:27
134,991,515
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
#!/usr/bin/env python def merge(arr, start, mid, end): n1 = mid - start + 1 n2 = end - mid L = [] R = [] for i in range(start, end+1): if i <= mid: L.append(arr[i]) else: R.append(arr[i]) i = 0 # track the Left array j = 0 # track the Right array k = start # track the output array while i < n1 a...
[ "iman.mukherjee@gmail.com" ]
iman.mukherjee@gmail.com
462ef7284be2acaf6d730c20b7d8773065520058
62531ac44615b1bd1e3952b7b72c6b3c345309b5
/programming_models/assignment2/random_test.py
2707d2065af5ffce25b8ba3111e7d0217baa4524
[]
no_license
leanand/my_hws
8ea65945fce9070a78f954f7513b7adff110ea1e
cf3795df58fe79f6628b1829da19e539f217ffab
refs/heads/master
2021-03-30T16:01:40.097099
2017-09-22T22:28:02
2017-09-22T22:28:02
70,349,378
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
import random radius = 200 rangeX = (0, 2500) rangeY = (0, 2500) qty = 100 # or however many points you want # Generate a set of all points within 200 of the origin, to be used as offsets later # There's probably a more efficient way to do this. deltas = set() for x in range(-radius, radius+1): for y in range(-r...
[ "anandlovelin@gmail.com" ]
anandlovelin@gmail.com
3cbb58f18a0adf960d0e16034001493bb8b40f37
bfe9beb3e6b7eff02dab414383705aee051cea80
/lib/stories/base.py
2b25d7f86d6e0da4c9dc369e367678439d88f7f1
[]
no_license
windo/Theory-of-Magicity
33cb2690a8f156ebf4ba35aaea9a6d2d75c94d09
2cef1769cf01e4a76872dd0c97a1e2d28bd61f6c
refs/heads/master
2021-01-02T09:52:19.544624
2010-10-23T21:13:54
2010-10-23T21:13:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,408
py
from random import random from lib import fields, actors from lib.debug import dbg from lib.resources import Resources class StoryBook: """ Container for (sets of) stories """ tree = {} all = [] def get_all(self): return all def get_elements(self, d): set...
[ "siim@p6drad-teel.net" ]
siim@p6drad-teel.net
33987b4cf2353663e5b9d7a66280c65649d2691d
6ff95cd8a2d5f67673e378e461fbc7162af97226
/session06/gcd.py
3957847ad502e0b106f75e7d713c3f03110a1307
[]
no_license
alastairng/mis3640
80c52a473afecc45d28693a6539cff490e24a789
3bb15fa4007a81249fb9a7181ad2ad907b4e90f4
refs/heads/master
2020-03-27T16:41:42.306924
2018-10-25T03:22:36
2018-10-25T03:22:36
146,800,422
0
1
null
null
null
null
UTF-8
Python
false
false
17
py
3%2 25%10 465%100
[ "36486239+alastairng@users.noreply.github.com" ]
36486239+alastairng@users.noreply.github.com
e234a8079711be2c3d06150ede58ce02370a578b
c75ec82316ed5322c5844912ce9c528c24360b9f
/nsd1905/devweb/myansible/webadmin/admin.py
dcb81958f29fbd102b6bac0302d385ab3985e950
[]
no_license
MrZhangzhg/nsd2019
a94cde22f2e4bd648bb9e56ca63827f558f3c083
54f6d2c7b348a69f13ad5f38f2fbdc8207528749
refs/heads/master
2021-08-22T17:38:27.697675
2020-02-22T08:36:21
2020-02-22T08:36:21
183,539,489
21
24
null
2020-05-17T12:07:55
2019-04-26T02:06:16
HTML
UTF-8
Python
false
false
167
py
from django.contrib import admin from .models import HostGroup, Host, Module, Argument for item in [HostGroup, Host, Module, Argument]: admin.site.register(item)
[ "zhangzg@tedu.cn" ]
zhangzg@tedu.cn
3d825b0e036a2c4f6a56c755ea8fe0225bc2d1f8
6610ebe9141f00678851a6f068ec1e5458bf050c
/code/graph_keyboard.py
19a6ffbf2f3e96351320d674a186a385b8d5dedc
[ "MIT" ]
permissive
iamrajee/bio_medical
e9cec1d9e12c04d87b893d0c12c92d3a1b8fb963
8d91cd3838f46685faa057f93f5d22f8e6c4187b
refs/heads/master
2020-05-04T23:47:45.595827
2019-09-17T17:14:19
2019-09-17T17:14:19
179,555,562
3
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
import matplotlib.pyplot as plt import networkx as nx G=nx.Graph() # G.add_nodes_from([1,2,3,4,5,6,7,8,9,0],key="A") # # G.add_edges_from([(1,2),(2,3),(3,4),(5,8),(9,1),(2,3),(4,6),(8,2),(7,3)]) # G.add_weighted_edges_from([(1,2,1),(2,3,2),(3,4,3),(5,8,4),(9,1,5),(2,3,6),(4,6,7),(8,2,8),(7,3,9)]) # keyboard_config =...
[ "singh.raj1997@gmail.com" ]
singh.raj1997@gmail.com
e54071db5aba3ebba0b16b9606f8a8b131066a40
93cf12f4008b3e4514a9372c951b3bb675212f3a
/gmso/parameterization/topology_parameterizer.py
3811650150f9cb71272879acbac51d61a69952c6
[ "MIT" ]
permissive
daico007/gmso
77cde76e3fc8eb9ad540062d02a2ec312b9ff8a9
0da111c50f35aa9036ffae92e0222e34263b43d2
refs/heads/master
2023-08-31T00:19:34.003435
2023-05-12T16:59:16
2023-05-12T16:59:16
243,855,307
1
0
MIT
2022-07-01T19:37:15
2020-02-28T21:12:36
Python
UTF-8
Python
false
false
19,464
py
"""The parameterizer module for a gmso Topology.""" import warnings from typing import Dict, Union import networkx as nx from boltons.setutils import IndexedSet from pydantic import Field from gmso.abc.gmso_base import GMSOBase from gmso.core.forcefield import ForceField from gmso.core.topology import Topology from ...
[ "noreply@github.com" ]
daico007.noreply@github.com
86a5cccacd4985d1ceef8dafb8cb826ed19a7e6c
f4a060eb5d0248044e846be138ddd1e2a72b08d4
/Rename_File.py
bfac4c5c7f866c2cc4f635d4e5e742993562d4d3
[]
no_license
NahuatlC137/PythonSnippets
451e6b193327c9afb696a8015179fdb6fb353ba6
7dfeeca1f4978ca5a2cc6a34f417178f1a1985d7
refs/heads/master
2020-04-12T13:09:28.759385
2018-12-20T02:32:37
2018-12-20T02:32:37
162,513,830
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import os import pandas as pd os.chdir("DIR") NameKey = pd.read_excel('WB_NAME.xlsx', 'SHEET_NAME') path = os.getcwd() FileNames = os.listdir(path) DealerAccountNumber = 0 FileExtension = '.pdf' for file in FileNames: if file[:1].isdigit(): DealerAccountNumber = int(file[:7]) DocumentType = file...
[ "noreply@github.com" ]
NahuatlC137.noreply@github.com
181c283e5ce2f6749514fd8d40479ebffbf64a3f
a03c89a6145026e22207d652003b0425a75372bb
/intro-python/main.py
4559bc4c0759db9b83aac453004f35b1191cd7ce
[]
no_license
Jaydenmay-040/software-basics
abecc51eb8bae17d5279b401cc1053b3fd2fcbc2
71309cb05597cb3712bdb668d12ead43914a7543
refs/heads/master
2023-06-09T12:18:38.097153
2021-07-01T14:25:36
2021-07-01T14:25:36
356,247,841
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# Task 2 Sample Solution radius = input("Please enter the radius: ") _PI = 3.14 area = _PI * int(radius)**2 print("The area of a circle is: " + str(area)) # Calculate the circumference circumference = 2 * _PI * int(radius) print("The circumference of a cirlce of a circle is: " + str(circumference))
[ "jaydenmay040@gmail.com" ]
jaydenmay040@gmail.com
dc1249667df773b5dc7a28c743814ccbf70e8042
539c267a58cb727c5f1925b67da0bbbae0b04de2
/insight_api_src/manage.py
7be5d1abe2cf5be6543437dd1d0f80ab4ed9a2aa
[]
no_license
jiananarthurli/insight_api
e228b7cbd193b4eb2a9c3ad5a9b490816c1f65ed
c6c46f1fa96e3fe6d182ef6b7a575deaa3d6bee9
refs/heads/master
2022-12-17T08:58:29.978049
2020-10-03T04:42:04
2020-10-03T04:42:04
191,235,576
6
1
null
2022-12-08T05:17:11
2019-06-10T19:49:08
Jupyter Notebook
UTF-8
Python
false
false
635
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'insight_api_src.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rais...
[ "reudnetwork@gmail.com" ]
reudnetwork@gmail.com
03fea34e3c11916cfd291a566610c03c8d3de9fc
51f887286aa3bd2c3dbe4c616ad306ce08976441
/pybind/slxos/v17r_2_00/interface/ethernet/qos/flowcontrol/link_level_flowcontrol/__init__.py
3960a6dbe85e3ab3c78e7385317b495bc048176a
[ "Apache-2.0" ]
permissive
b2220333/pybind
a8c06460fd66a97a78c243bf144488eb88d7732a
44c467e71b2b425be63867aba6e6fa28b2cfe7fb
refs/heads/master
2020-03-18T09:09:29.574226
2018-04-03T20:09:50
2018-04-03T20:09:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,751
py
from operator import attrgetter import pyangbind.lib.xpathhelper as xpathhelper from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from d...
[ "badaniya@brocade.com" ]
badaniya@brocade.com
9729b4cf7e0c626554531e11b13d2050abb5e64c
e71ff28628071069952b515a5a1f00f4fc7c7ec2
/crm1/accounts/migrations/0001_initial.py
253339af7dbd1a4728bbf8e574528a26b0f8557f
[]
no_license
Nour-Elgeziry/Django-CRM
55f7bded95b7ad970e21302e865e29c469c13153
6d64f5d2a175a573a5d1757d25f3befbfffbb433
refs/heads/master
2022-11-29T13:22:38.244655
2020-08-11T15:50:51
2020-08-11T15:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
727
py
# Generated by Django 3.1 on 2020-08-10 06:38 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Customer', fields=[ ('id', models.AutoField(a...
[ "nourelgeziry@Nours-MacBook-Pro.local" ]
nourelgeziry@Nours-MacBook-Pro.local
f08e83052579be7c992470ebd91a4a354a9d9d5c
9d21e2482234ce13fafe385baea359dd5a879f59
/GIL_test/single_thread.py
4539fd6d1cb1a9cc48ecf20e093c384a9051b452
[]
no_license
hexiaoong99/spider_data_save
e64ea500ce3c93b11d50493a524a8567390ae051
8c7e099bad4b1f8e7c2880547335c167ed3929ad
refs/heads/master
2021-01-11T02:23:17.339594
2016-11-06T02:52:18
2016-11-06T02:52:18
70,970,657
0
0
null
2016-10-15T06:22:08
2016-10-15T06:22:08
null
UTF-8
Python
false
false
1,086
py
''' GIL无疑就是一把全局排他锁。毫无疑问全局锁的存在会对多线程的效率有不小影响。甚至就几乎等于Python是个单线程的程序。 那么读者就会说了,全局锁只要释放的勤快效率也不会差啊。只要在进行耗时的IO操作的时候,能释放GIL,这样也还是可以提升运行效率的嘛。或者说再差也不会比单线程的效率差吧。理论上是这样,而实际上呢?Python比你想的更糟。 下面我们就对比下Python在多线程和单线程下得效率对比。 一个通过单线程执行两次,一个多线程执行。 ''' # -*- coding: utf-8 -*- from threading import Thread import time def my_counter(): i ...
[ "740322560@qq.com" ]
740322560@qq.com
42a3440f5055af7250f46ea5da4734991bae627f
b30d7e28932056d69b3a3dba4e9c0c552ac19029
/model_evaluation_utils.py
2b1870d19748d7fd2e3cd4fd9a62a61b72ecc57d
[]
no_license
rsawin/transfer_learning
19b9818a9f978ddc31080354bdc3538f32b870e3
d2a28f7947f481f3466f425e3fd21011c0c91243
refs/heads/master
2021-07-08T23:43:55.211542
2020-08-03T21:33:47
2020-08-03T21:33:47
174,645,139
0
0
null
null
null
null
UTF-8
Python
false
false
8,201
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 31 20:05:23 2017 @author: DIP @Copyright: Dipanjan Sarkar """ from sklearn import metrics import numpy as np import pandas as pd import matplotlib.pyplot as plt from sklearn.preprocessing import LabelEncoder from sklearn.base import clone from sklearn.preprocessing import...
[ "you@example.com" ]
you@example.com
3fd59004b8a3ada46670dc8f08e82e5d397cce55
b7b5f5b52f07b576a20e74839136d397f14d0566
/main/admin.py
cd3bbcc3572a48186b2724bb94ba97c49bfe0e18
[]
no_license
Chudische/Shabashka
02d7e81cb2bd317b36e73620fc197868c4d65e1c
c3bab797601e8509439dc6538ec1f712755eb8c9
refs/heads/main
2023-07-08T07:54:04.044559
2021-08-18T13:40:44
2021-08-18T13:40:44
315,249,268
0
1
null
2021-08-10T06:42:42
2020-11-23T08:34:46
Python
UTF-8
Python
false
false
4,510
py
import datetime from django.contrib import admin from import_export.admin import ImportExportModelAdmin from import_export import resources from .models import ShaUser, SubCategory, SuperCategory, Offer, AdditionalImage, Comment, ShaUserAvatar from .models import UserReview, ChatMessage, Location from .utilities imp...
[ "=" ]
=
a8e75ce6d64bb6b07b557d26e44569c370a3a5de
2631dcd293772e857c457c71cde8db2f3d93c450
/cam_frame _copy_paste.py
817f41bfe4b769fd6d69a56aae4caa20dba14aa6
[]
no_license
Keshav-Asopa/python_projects
fec723e9bba646737354fe856a360c32ea3156e6
2ee05cc98f466f421c79d795c5fb52f5f4c47054
refs/heads/master
2020-03-19T13:53:53.874915
2018-09-19T16:42:25
2018-09-19T16:42:25
136,600,122
0
1
null
2019-10-13T03:24:48
2018-06-08T09:47:15
Python
UTF-8
Python
false
false
1,091
py
# A python program to copy the part of image from webcam and put it on another image import cv2 #loading the image on which part of another image is to be pasted img1 = cv2.imread("dog1.jpeg") print("Press 'c' to capture the photo") print("press 'q' to exit") #to start the webcam or external web camera capture = cv...
[ "noreply@github.com" ]
Keshav-Asopa.noreply@github.com
acdb55b99babfd077efdf9e844794993a1a1f1dd
8949accc2af8a2ab88a6bdc3f6c85dfa3a7fa16f
/Tolerance_test/python/torx/module_Int8/w2g.py
a05b6f115231095c3a4f52dbdc53b686cc687bc9
[]
no_license
DamonAtSjtu/HAWIS
6f67d3473a8b78096245e0c2b1e36e282f60031d
9a9155f2c56411e69bbfb6cfc3d6d6f124d67f84
refs/heads/master
2023-08-28T21:41:31.219419
2021-10-23T09:30:04
2021-10-23T09:30:04
420,367,719
1
1
null
null
null
null
UTF-8
Python
false
false
4,729
py
# Copyright 2019 The PytorX Authors. All Rights Reserved. # # 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 ...
[ "tangqidong@sjtu.edu.cn" ]
tangqidong@sjtu.edu.cn
831d7ab7e6bcee8f13d11ea5de2934d0cea83c31
185bbb353bc402863b468e215fb629658a2e4e74
/OrderTraversal.py
a308f7d064b91fb45eeacf49a03a919e23903a17
[]
no_license
conniechu929/Algos
d6f8e960cf90e53698a0e6ecd5176a320c30d0a4
f5fe4be6e0f849b43c4e4f665ee2e332a739edb0
refs/heads/master
2021-05-23T05:10:08.158744
2020-06-11T15:31:57
2020-06-11T15:31:57
95,244,924
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def levelOrder(self, root): """ :type root: TreeNode :rtype: List[List[int]] """ ...
[ "conniechu929@gmail.com" ]
conniechu929@gmail.com
fdc58293d65c23a6bd4e146624a5e89753163e19
8c1562c22fd52b423e5dace418910ec4fd198bc3
/mysite/settings.py
8448ba261e111a504fa41a5fd667af7446fcf1e2
[]
no_license
UlTropy/first-Django-blog
7fd1047757c98a73c0545b7a9ad896e2cde3cb9f
738a649c6ec901a152d9eb974d8fc792eaadc024
refs/heads/master
2023-02-06T12:11:37.729032
2020-12-21T15:15:10
2020-12-21T15:15:10
321,672,499
0
0
null
null
null
null
UTF-8
Python
false
false
3,636
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os from...
[ "wowan-minsk@yandex.ru" ]
wowan-minsk@yandex.ru
d966df1ef50313f7c8e2b8bc6910f56eb22a0388
5a4d2dda4372a1ce0fbd4b272cdff90dc38a08ec
/_config.py
79b885cfc426d3d2e1b1a7ef4439f985416d526b
[ "BSD-2-Clause" ]
permissive
a2nt/silverstripe-digitalocean-nginx-backup-scripts
46ed4262fe700098dde89ae223c9c4eff6af357c
3eae487e76213be05cbc70289ae1a12c9e055e79
refs/heads/master
2021-01-11T01:42:50.281089
2016-12-13T16:27:50
2016-12-13T16:27:50
70,655,646
14
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
import _lib # Digital Ocean API token (to create temporary block storage / server) token = '' # Digital Ocean SSH Key ID (will be used to connect to temporary backing up server) sshkeyid = '' # your web sites root folder path (with the folders named: my.domain.com) sitepath = '/srv' sites = _lib.list_dirs(sitepath) #...
[ "tony@thewebdevelopmentagency.com" ]
tony@thewebdevelopmentagency.com
9bc90ac7d12e2b6a623323740464528474703da4
4db45f25ac41da4208d6dd9e2046e5d64daf077f
/Assignment10_2.py
0d083fb612f1aa5a36fd59511ae37508a90489a8
[]
no_license
likair/python-programming-course-assignments
029ee83c4a96edb897a22efbbc245687f2eabced
066a5245cf55dc8c79f17c84cc1f706b6df937a2
refs/heads/master
2023-02-17T23:07:11.263592
2015-06-10T15:42:12
2015-06-10T15:42:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
''' Created on Jun 5, 2015 A GUI application , which changes the background color of the main window as the mouse moves above it. @author: lebs ''' from tkinter import * def changeColor(Event): root.configure(background='black') if __name__ == '__main__': root = Tk() root.wm_title('Colo...
[ "lebs.fi@qq.com" ]
lebs.fi@qq.com
d44cd5123695d6c48fef84f95857d085ddda8775
52b5773617a1b972a905de4d692540d26ff74926
/.history/2D_20200722180003.py
f67079f7677c6a1e5d41c5b12f694fad5f417ffe
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
def array(n,m): # where n is row size and m is column size array = [[0 for x in range(n)] for x in range(m)] print(array) a = [[2, 4, 6, 8, 10], [3, 6, 9, 12, 15], [4, 8, 12, 16, 20]] # where the first arguement reps the row and second arguement reps the column print(a[0][3]) def hourGlass(...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
9b61c14e3c94a49aed2178fbcf9d5fb71741e03b
7c1a4312f0b0f8bfff26779fea1ab95cb1f94e53
/newfile.py
499caa01d847276d4155f9fe9bddd183761de035
[]
no_license
kminwoo4/Moojae2
86a388606d8efe78947adbd0439f6ae7acb70d6a
af771b48144ce229ec3753404893f8e9937035e4
refs/heads/master
2022-11-26T03:49:23.599420
2020-08-03T06:07:44
2020-08-03T06:07:44
284,617,652
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
def backAndForthNumbers (x): number = 23 #Assigned number checker = number #Chekcer for reverse of the number reverse = 0 while number > 0: digit = number % 10 #Extracting last digit of the number reverse = reverse*10 + digit #appending the digit to the reverse number = number // 10 #Leave behind ...
[ "yjk@gimmin-uui-MacBookPro.local" ]
yjk@gimmin-uui-MacBookPro.local
3ba277c4600b290b63c75ef92a95a1015da482a4
b1db73e6c9df798e190ec23d170710d7f0b9f073
/zadanie 4.py
a0b9da7db60fcb2d0ff5f3e9d94670cf09649c39
[]
no_license
andypaw03/homework
3f9fe1825f4a9a4e3245994b02a0520fa88f8acd
d0553507b5842867aaac21aaeaa7638969e307c6
refs/heads/master
2021-05-17T11:07:05.534910
2020-03-28T17:29:59
2020-03-28T17:29:59
250,748,906
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
a=input("") def lena(x): b=0 for i in a: b+=1 return b print (lena(a))
[ "andypaw03@gmail.com" ]
andypaw03@gmail.com
93b4ff666a4c0dbc1475a16fb53d3a864ecec53d
1e0ec4d34def6d1d31665551b4aecbb644323249
/disambig_creation_constants.py
2fca0360764a115a37e4d1aa2de947aad7ea4777
[]
no_license
RheingoldRiver/leaguepedia_archive
e10615530846080446fa5a56ae2e570f9376f875
52703d4fb0fef2345353945044a78915d78688bf
refs/heads/master
2022-06-19T21:37:47.480986
2022-06-01T18:44:32
2022-06-01T18:44:32
242,654,649
1
1
null
2021-12-15T20:07:19
2020-02-24T05:33:07
Python
UTF-8
Python
false
false
928
py
originalName = 'Limit' irlName = 'Ju Min-gyu' newName = '{} ({})'.format(originalName,irlName) initmove = True blankedit = False limit = -1 timeoutLimit = 30 listplayerTemplates = ["listplayer", "listplayer/Current"] rosterTemplates = ["ExtendedRosterLine", "ExtendedRosterLine/MultipleRoles"] scoreboardTemplates = ["M...
[ "18037011+RheingoldRiver@users.noreply.github.com" ]
18037011+RheingoldRiver@users.noreply.github.com
69a1634d445e07945fcf4295399a9402133a27b5
2cf543b38f17b1fc7b9c20d19d2da7fde235abca
/docs/conf.py
e41b0aa24138b21a5d5e76f11cd9ab6762e0e5b7
[ "MIT" ]
permissive
arvimal/ceph_check
0de8b93462a8e1449b2cddbbe008ed256aa1a072
7e82b7838de247568e64ef84a0fcdaf20e6c1728
refs/heads/master
2020-04-16T02:17:36.186334
2017-12-25T16:45:34
2017-12-25T16:45:34
46,115,573
6
0
null
2017-09-07T09:20:02
2015-11-13T10:28:24
Python
UTF-8
Python
false
false
8,414
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # ceph_check documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # ...
[ "arvimal@yahoo.in" ]
arvimal@yahoo.in
666dfa4951ff0ae8197cda16cfa2dc10be92003c
69d081693a6f68b54aff61fffc2ebceff65e03c4
/src/13_RomanToInteger.py
ab8595d89100356194fd010196717e739ec89163
[ "MIT" ]
permissive
SofiaSmile/LeetCode
9a70deb90260e565d9c3a79ce6e3dfa36fa1f80c
f1aca2f35a758d6ecd98c5701755fef59394bac6
refs/heads/master
2023-01-05T01:48:02.685303
2020-11-14T01:46:11
2020-11-14T01:46:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
""" 13. Roman to Integer Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, two is written as II in Roman numeral, just two one's adde...
[ "481528024@qq.com" ]
481528024@qq.com
cd1caaedb6fa1d12bca76e6971d6d386ec505d3b
a7bc6f7a55f1486c5cdd5619e6d267eee71820ed
/enhancement-metrics/main.py
b844290b1ce3089b2d62093e6e131883daedd4e9
[]
no_license
usmanzafar/aws-experiments-data-ingestion-and-analytics
977d39ab2933e359668e7509a14ed8249348fc20
c4e9610a374daffd015a08ef0037e35e8df841f4
refs/heads/master
2022-07-29T20:18:04.920158
2020-05-14T15:06:52
2020-05-14T15:06:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
# A sample output record from Kinesis Analytics application for this function is as below # {'recordId': '8afbe41d-db75-4cd1-8dc3-f80ca2c382e2', 'lambdaDeliveryRecordMetadata': {'retryHint': 128}, 'data': 'eyJBRCI6Ik5vdCBjbGlja2VkIiwiSU5HRVNUSU9OX1RJTUUiOjE1NjcyMDg4MTkzMDEsIk5CUiI6MTU0OH0='} # The decoded data is {"AD"...
[ "nivonh@amazon.com" ]
nivonh@amazon.com
ae7118ad89062e3af0681bd7a8c2347f6bc8e7c6
9a6fde3e4fbee6b8f12ed81598970991ec76a78e
/avaliacoes/api/viewsets.py
de927af97462a9043c8225c562acddfb3aa596c6
[]
no_license
manfredimelo/pontos_turisticos
4c167a364f65eddd3c4a1406aadbb005fd0fb944
b364f9a52e37e3fea16974567913da65ec2a3d76
refs/heads/master
2022-02-19T05:24:38.429998
2019-09-23T18:47:46
2019-09-23T18:47:46
209,296,596
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from rest_framework.viewsets import ModelViewSet from avaliacoes.api.serializers import AvaliacaoSerializer from avaliacoes.models import Avaliacao class AvaliacaoViewSet(ModelViewSet): queryset = Avaliacao.objects.all() serializer_class = AvaliacaoSerializer
[ "noreply@github.com" ]
manfredimelo.noreply@github.com
2b9bd0a8a39604785a9686f4ec2ef8ce078ff84b
2c4cbb270fd53c172f6a3f90ba75b8292d8cd88f
/sensitivity_analysis.py
2e9607fb07e09297aadaadaf6ca325bf8b0057ce
[]
no_license
HansongN/dynamic_vehicle_network_clustering
be4de341788985ba089bee0b08e52ae300eedb41
d363db072fab998de2917f7f89f5049a804e4c22
refs/heads/master
2021-04-04T10:31:07.488315
2020-11-19T12:17:07
2020-11-19T12:17:07
248,448,964
5
1
null
null
null
null
UTF-8
Python
false
false
16,752
py
# !/usr/bin/env python # -*- coding:utf-8 -*- # @Author: Hansong Nie # @Time : 2019/10/25 15:55 import numpy as np from utils import load_any_obj_pkl, save_dict, load_dict import pandas as pd from sklearn.cluster import KMeans from clustering import Dunn_Validity_Index import matplotlib.pyplot as plt from sklearn.metr...
[ "hansong.nie@outlook.com" ]
hansong.nie@outlook.com
111b0e3fdbd6beabd602738595a0fdf949089ff2
b65cfcda05fd72350c7b9e11e5995cc1d10fdd75
/shop/models.py
df6a76b04ed4d1f1473b36d641881c259f5e0b06
[]
no_license
gauraviit1/pahal_project_2
f4e6a2cf1cfd613088ad27344279460bb72c9786
bc89c3848359ae0b95cb55c24d6fe24d637caabd
refs/heads/master
2021-04-28T21:20:44.614522
2017-01-01T09:57:25
2017-01-01T09:57:25
77,773,709
0
0
null
null
null
null
UTF-8
Python
false
false
2,480
py
from django.db import models from django.core.urlresolvers import reverse from django.utils.functional import lazy from PIL import Image from django.contrib.postgres.fields import HStoreField from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ from decimal import ...
[ "mcjail.shi.hp@gmail.com" ]
mcjail.shi.hp@gmail.com
b6f56697fb41c5e23e58b13a4e63f3780c4b41ea
db338cf7720a0ecbf181f7077b0dcf22b499d822
/src/mobot_client/migrations/0003_auto_20210902_2106.py
0f96c067c7d54e446c9525c7deab02ba86fffdfe
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
isabella232/mobot
94a7e33755cdf3b1916b6642ee7dc9bdfdebf84d
8a1fc884351211b4730e7de1c0bad1e18a1b1c8f
refs/heads/main
2023-08-31T17:00:21.341368
2021-09-16T00:55:35
2021-09-16T04:49:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,800
py
# Generated by Django 3.2.7 on 2021-09-02 21:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mobot_client', '0002_auto_20210902_2053'), ] operations = [ migrations.AlterField( model_name='bonuscoin', name='id'...
[ "noreply@github.com" ]
isabella232.noreply@github.com
2c4ab74cda2680598623c66912579b5d2540ef70
edf510cc5bbbe24469d8ff262c022b33b4d80a75
/tacotron2/model/tacotron2.py
fafca0078fcb2bc687a7f48b30a31e19137b81ac
[ "Apache-2.0" ]
permissive
rheehot/Tacotron2
e8b8a4be614708800b10b9fa7829264407510fa8
ddbe55b426397d40cadd14f5040c55ba7c25615d
refs/heads/master
2022-12-26T14:13:39.966498
2020-10-06T18:34:57
2020-10-06T18:34:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,577
py
# -*- coding: utf-8 -*- # Soohwan Kim @sooftware # This source code is licensed under the Apache 2.0 License license found in the # LICENSE file in the root directory of this source tree import torch.nn as nn from torch import Tensor from typing import Optional from tacotron2.model.encoder import Encoder from tacotron...
[ "sh951011@gmail.com" ]
sh951011@gmail.com
54fa67bd86817f2351dd6f2ee7f678c36f87cbc4
4123f9133ddf6ce6396f7a9ef3909d0056438ec6
/Z-Blog/Skype.py
6d25ac4beb5b31d69622a5f951ff01cb74873b38
[]
no_license
ngotiendat8795/Ngo.T.Dat-C4E28-Fundamentals
83af9cfde6daad0b21b97d884cc3c202e4f885f9
4b8893cde28084ab2f883606d13aba1153c14701
refs/heads/master
2020-04-23T22:08:46.352244
2020-01-05T07:49:02
2020-01-05T07:49:02
171,491,553
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from skpy import Skype sk = Skype('ngotiendat8795@gmail.com', 'dungquen5399') # connect to Skype sk.user # you sk.contacts # your contacts sk.chats # your conversations ch = sk.contacts["ngotiendat8795"].chat # 1-to-1 conversation ch.sendMsg('cái tên này chắc cả VN có mỗi c') # plain-text message ch.getMsgs() # re...
[ "ngotiendat8795@gmail.com" ]
ngotiendat8795@gmail.com