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
82e56263eeee8167a26929e00f78250969c87ab4
7b12bcdb390c5beaf3fe0bc6a994222fb2c85dd9
/scripts/moon/shotgun/__init__.py
237e0d1187f2b88ecf53c84dafc5dddf8f545ab7
[]
no_license
you4jang/moonlight
803350ddf1174b9c51f7048ed8b8ae5ba12eabeb
758f61b976339f8707b0a1ec3a839ffedbbc2770
refs/heads/master
2023-04-06T17:59:33.824614
2021-04-19T08:38:44
2021-04-19T08:38:44
337,308,424
0
0
null
null
null
null
UTF-8
Python
false
false
1,463
py
# -*- coding: utf-8 -*- import shotgun_api3 # SUPERVISORS_GROUP_ID = 6 # SG_PERMISSION_RULE_SET_MANAGER = {'type': 'PermissionRuleSet', 'id': 7} # SG_PERMISSION_RULE_SET_ARTIST = {'type': 'PermissionRuleSet', 'id': 8} # Groups # SG_GROUP_SUPERVISORS = {'type': 'Group', 'id': 6} # Departments # SG_DEPARTMENT_PD = {'...
[ "gmdirect@naver.com" ]
gmdirect@naver.com
2334b622780a949833143ed370cf64dec3daacdc
8d3e70a2d827ae849a3274b6cd75fddb63c7aca1
/src/app/main.py
830c7993448e57ce1e9de30b06a278888a48bc50
[ "MIT" ]
permissive
fabianoa/mlops-deploy-alura
dc6028d796d9da49637f3d47f9d8538cc3498e42
ed76419289293f69bf0261e90cd6808c85f34bd0
refs/heads/master
2023-07-17T06:52:45.796073
2021-08-31T10:12:41
2021-08-31T10:12:41
401,658,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
from flask import Flask,request,jsonify from flask_basicauth import BasicAuth from textblob import TextBlob import pandas as pd from sklearn.linear_model import LinearRegression from sklearn.model_selection import train_test_split import pickle import os #df = pd.read_csv('casas.csv') #X = df.drop('preco', axis=1) #y...
[ "fabiano.alencar@gmail.com" ]
fabiano.alencar@gmail.com
9f3a6da4bd3f71cca3c96be91ba169f4415dabfe
c5d68f58c9523257a8b41954553f5cff2cd5f487
/Secao_05_Lista_Ex_41e/ex_26.py
5e1ced6cfbac38f24f677470fbda8bfb4d233128
[]
no_license
SouzaCadu/guppe
04bfcde82d4404eb9ec795006c6931ba07dc72b6
1f8a672230c5c27712f522e1e34516591c012453
refs/heads/master
2023-03-13T01:32:51.019871
2021-02-25T17:02:59
2021-02-25T17:02:59
320,908,119
1
0
null
null
null
null
UTF-8
Python
false
false
456
py
""" Dada a quilometragem e quantidade de litros consumidos calcule o consumo em km/l """ print("Para saber a eficiência do carro informe:") km = float(input("A distância em quilômetros:")) l = float(input("A quantidade de litros de gasolina consumidos \n" "por quilômetro percorrido:")) km_l = km / l ...
[ "cadu.souza81@gmail.com" ]
cadu.souza81@gmail.com
5e3c688cfd1469d2ae26ef1105ca7e99c9ee3da6
8189c3d355f71db573483fa1e5d181044cf7e892
/face-opencv-project/faceenv/bin/f2py
4347e453fadf17eea092082ca5c89742ee74a56a
[]
no_license
quoc-dev/My-Python
2ae3585ca1aea7a743f60ee5a5fdb2c9ecce38ed
8d1bdb66f013950c75638226255e713faf4ae56d
refs/heads/master
2020-03-17T22:56:02.052950
2018-07-15T15:13:08
2018-07-15T15:13:08
134,024,011
0
0
null
null
null
null
UTF-8
Python
false
false
826
#!/Users/quocnguyenp./QuocDEV/MyPy/My-Python/face-opencv-project/faceenv/bin/python3.6 # See http://cens.ioc.ee/projects/f2py2e/ from __future__ import division, print_function import os import sys for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]: try: i = sys.argv.index("--" + mode) ...
[ "phucquoc.dev@gmail.com" ]
phucquoc.dev@gmail.com
6d30fd2f9ef98ebd534565d6e63baf02aae1ad8d
863c3154ba19251bd37fac8459592dbb9e748829
/jejuRSScrawler.py
acdefdb8dfb9f0c374372c29ddb385bf5875e354
[ "MIT" ]
permissive
LiveCoronaDetector/covid-19-crawler
7e852c1c3c32941c8a726aa0b7a33d5c83e7ac59
dc089f2e1e340ce9a3f7fbef1024db2e38cc6344
refs/heads/master
2022-11-21T05:16:41.041077
2020-07-21T03:39:46
2020-07-21T03:39:46
237,893,675
9
7
null
null
null
null
UTF-8
Python
false
false
1,669
py
""" 제주특별자치도 보건서비스 현황 및 브리핑자료 http://www.jeju.go.kr/wel/healthCare/corona/coronaNotice.htm Author: Eunhak Lee (@return0927) """ import re import requests from bs4 import BeautifulSoup as Soup from bs4.element import Tag from datetime import datetime # Preferences url = "http://www.jeju.go.kr/wel/healthCare/corona/cor...
[ "admin@return0927.xyz" ]
admin@return0927.xyz
5060c8a8f910847c90a31e3b29f64bb357fe38d7
8111d62ccff6137f9770e591299ee01b928099ff
/nadmin/plugins/details.py
b9ebbd94cc68ec117b03982ec1ff99a6b03dc9e0
[ "MIT" ]
permissive
A425/django-nadmin
73cd9a5d0095e0a7b3e1f4b5035acac83bfc9c0a
9ab06192311b22ec654778935ce3e3c5ffd39a00
refs/heads/master
2021-01-24T22:35:54.665401
2015-10-20T05:24:16
2015-10-20T05:24:16
43,421,651
1
0
null
null
null
null
UTF-8
Python
false
false
2,923
py
from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse, NoReverseMatch from django.db import models from nadmin.sites import site from nadmin.views import BaseAdminPlugin, ListAdminView class DetailsPlugin(BaseAdminPlugin): show_detail_fields = [] show_all_rel_deta...
[ "liu170045@gmail.com" ]
liu170045@gmail.com
4cca3bbdf60ee174427fb018e22fe9972c04e563
b336674934022040fe8fed3dc88ad06a0edf0014
/To find a leap year.py
0e0b6d6fbb7048180f73c7f48e4d282649addd55
[]
no_license
rajuraj-rgb/Python-projects
7332d8bbfb8853ad8dfb8a1e39a3f1220805f9c7
5cd8b6b553778139ee86ef429ee7abb7c3444606
refs/heads/master
2023-05-29T22:43:47.422943
2021-06-12T17:55:40
2021-06-12T17:55:40
286,728,039
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
def is_leap(year): leap = False if (year % 4) == 0: if (year % 100) == 0: if (year % 400) == 0: return True else: return False else: return True else: return False year = int(input()) print(is_leap(y...
[ "noreply@github.com" ]
rajuraj-rgb.noreply@github.com
d24f038c49fabcf817d8e83e5985d312402b09ee
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/fv/rttoepipforeptoeptask.py
72948c45ecf44d8a43c5c7675999f2c87dff7f63
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
17,087
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
22380181ee62e3e0c5ad86e1f55f3efe751586f2
4bc19f4dd098ebedcb6ee78af0ae12cb633671fe
/static/models.py
6b20f6e53773a0c91a0dea611f37cb86192e1a7f
[]
no_license
StanislavKraev/rekvizitka
958ab0e002335613a724fb14a8e4123f49954446
ac1f30e7bb2e987b3b0bda4c2a8feda4d3f5497f
refs/heads/master
2021-01-01T05:44:56.372748
2016-04-27T19:20:26
2016-04-27T19:20:26
57,240,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,978
py
# -*- coding: utf-8 -*- import bson from rek.mongo.models import ObjectManager class StaticPage(object): objects = None def __init__(self, name="", alias="", preview="", content="", enabled=False, _id=None): self.name = name # = models.CharField (max_length=255, unique=...
[ "kraevst@yandex.ru" ]
kraevst@yandex.ru
b29bef8a54edc0cb2a105e7d80570805fa5d4ef6
395e64776ee7c435e9c8ccea6c2bf0d987770153
/mayaSDK/maya/app/renderSetup/model/issue.py
89befa2f2c99883385ec3b76ee72ca01b3c505c5
[ "MIT" ]
permissive
FXTD-ODYSSEY/vscode-mayapy
e1ba63021a2559287073ca2ddf90b634f95ba7cb
5766a0bf0a007ca61b8249f7dfb329f1dfcdbfbb
refs/heads/master
2023-03-07T08:01:27.965144
2022-04-02T02:46:31
2022-04-02T02:46:31
208,568,717
29
11
MIT
2023-03-03T06:45:31
2019-09-15T09:10:58
Python
UTF-8
Python
false
false
695
py
class Issue(object): """ Class representing an issue that contains - a description (a short string explaining what's the issue) - a type, mostly used for UI purpose (icon for the issue will be RS_<type>.png) - a callback to resolve the issue (assisted resolve). """ def __eq__...
[ "820472580@qq.com" ]
820472580@qq.com
1529ed683976e4891a4de141925cc416e43d3162
1e5f5e4cb512663b5017b9a08b409154678f0bef
/product/forms.py
56fb76d226633d363aa26408be65cf6a1c46ecaa
[]
no_license
dynamodenis/dynamoshop
d2159e9c0271825a85e8a1d6322ca6f11cdb2e4b
6f8f99149cf9594b8f0dd79f49a49c4fa00eaaaa
refs/heads/master
2022-12-29T13:09:49.848510
2020-10-22T07:19:43
2020-10-22T07:19:43
306,121,092
1
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
from django import forms from django_countries.fields import CountryField from django_countries.widgets import CountrySelectWidget PAYMENT_CHOICES = ( ('S', 'Stripe'), ('P', 'PayPal') ) class CheckoutForm(forms.Form): # Shipping Fields shipping_address = forms.CharField(required=False) shipping_add...
[ "dmbugua66@gmail.com" ]
dmbugua66@gmail.com
bf94ef910d83505e2e42f417c333a310b9b7bc7b
b6c4b9ff1d9c10f5bc0a0ad657c00c2513ddaafb
/PY4E/gmane/gmane.py
c2c4e65c9aad65bab9ed843f9ec3fe0f6c70ae1d
[]
no_license
wjasonhuang/python_utils
469c88066ff3055e39e3a30a6ec68f85a196b259
025f7257445bd7d97b605dc062d3935b14bf0a19
refs/heads/master
2021-06-18T14:29:32.487568
2021-06-17T03:28:57
2021-06-17T03:28:57
206,687,251
0
0
null
null
null
null
UTF-8
Python
false
false
4,639
py
import re import sqlite3 import ssl import time import urllib.request from datetime import datetime # Not all systems have this so conditionally define parser try: import dateutil.parser as parser except: pass def parsemaildate(md): # See if we have dateutil try: pdate = parser.parse(tdate) ...
[ "wjasonhuang@users.noreply.github.com" ]
wjasonhuang@users.noreply.github.com
b68ebcc7b6694ad09b338b4dd3df248d51b36215
42516b0348936e257d04113c2e632dc72ba58e91
/test_env/test_suit_grouptest/test_suit_grouptest_case02.py
424b547e43f3826b8fb303c0a6bdc2f24797de7d
[]
no_license
wwlwwlqaz/Qualcomm
2c3a225875fba955d771101f3c38ca0420d8f468
a04b717ae437511abae1e7e9e399373c161a7b65
refs/heads/master
2021-01-11T19:01:06.123677
2017-04-05T07:57:21
2017-04-05T07:57:21
79,292,426
1
1
null
null
null
null
UTF-8
Python
false
false
5,243
py
#coding=utf-8 import fs_wrapper import settings.common as SC from qrd_shared.case import * from case_utility import * from logging_wrapper import log_test_case, take_screenshot from test_case_base import TestCaseBase from thrift_gen_qsstservice.GroupTest.constants import * from settings import common import test_suit_u...
[ "c_wwan@qti.qualcomm.com" ]
c_wwan@qti.qualcomm.com
864076061ac7c68a3e7586dad3541c298d749288
62c634097cd25945541c64f8accdc2c6393cfe7d
/NLP_Project/ObjectSegmentation/exp-referit/exp_train_referit_det.py
2bbb8c1345150c383baa8323cae864ac83770a58
[]
no_license
aftaabmd/Object-segmentation-defined-by-Query-expressions
c9c9321d7b5c0d3771ca7cc164be73c75b8fb7d5
5fc3c5d00b1dc2bbb4cff2095a85f494f08271fb
refs/heads/master
2022-11-27T11:25:16.351576
2018-03-08T04:50:55
2018-03-08T04:50:55
124,337,512
1
0
null
null
null
null
UTF-8
Python
false
false
8,135
py
from __future__ import absolute_import, division, print_function import sys import os; os.environ['CUDA_VISIBLE_DEVICES'] = sys.argv[1] import tensorflow as tf import numpy as np from models import text_objseg_model as segmodel from util import data_reader from util import loss # Parameters # Model Params T = 20 N =...
[ "noreply@github.com" ]
aftaabmd.noreply@github.com
1c9a0eec248e3af6b5145a5db61402cf61abf9ef
cc3fff6abe2d9b33d11cd384b263e1c4f07e5b6c
/dir/dir2/t2.py
ee41f0aa2921ddfc366cbfd39c899af600e8c0fe
[]
no_license
letianccc/latin_httpserver
22afa1e15f542c256a232a933edd974f6f90533c
8f7aad21ba8abffb011d5410bce29c591e9ef990
refs/heads/master
2018-11-11T12:12:32.264360
2018-09-05T00:39:26
2018-09-05T00:39:26
111,545,683
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
a = 'a' print('t2', a) import t1 b = 'b' print('t2', b)
[ "704364447@qq.com" ]
704364447@qq.com
250866828c24d630e5b8d134eec9b042585d819a
716ed7eac59b70cb3ec376f8247b386b50ce9e23
/sktime/forecasting/model_selection/_tune.py
ab0c9de58b4ea2309fe8b6c58d74eb763f9202a8
[ "BSD-3-Clause" ]
permissive
earthinversion/sktime
4f3b657cebe3587958d2a3276b65b38c83a7d8ed
012d11e6b879d29b0a36c7e2e7172355992348f3
refs/heads/main
2023-04-17T04:01:47.841308
2021-04-09T16:58:14
2021-04-09T16:58:14
356,362,984
1
1
BSD-3-Clause
2021-04-09T18:22:00
2021-04-09T18:21:59
null
UTF-8
Python
false
false
17,456
py
#!/usr/bin/env python3 -u # -*- coding: utf-8 -*- # copyright: sktime developers, BSD-3-Clause License (see LICENSE file) __author__ = ["Markus Löning"] __all__ = ["ForecastingGridSearchCV", "ForecastingRandomizedSearchCV"] import pandas as pd from joblib import Parallel from joblib import delayed from sklearn.base i...
[ "noreply@github.com" ]
earthinversion.noreply@github.com
f30b3c1cfff41d927c49ec54afc16c9185ec7195
3282ccae547452b96c4409e6b5a447f34b8fdf64
/SimModel_Python_API/simmodel_swig/Release/SimInternalLoad_Lights_Default.py
9cb959cded414dc66d1ee592c294e6008ab6b58b
[ "MIT" ]
permissive
EnEff-BIM/EnEffBIM-Framework
c8bde8178bb9ed7d5e3e5cdf6d469a009bcb52de
6328d39b498dc4065a60b5cc9370b8c2a9a1cddf
refs/heads/master
2021-01-18T00:16:06.546875
2017-04-18T08:03:40
2017-04-18T08:03:40
28,960,534
3
0
null
2017-04-18T08:03:40
2015-01-08T10:19:18
C++
UTF-8
Python
false
false
11,162
py
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
[ "cao@e3d.rwth-aachen.de" ]
cao@e3d.rwth-aachen.de
2dc6a583543b27045a5bd797ae25ea06a0711562
ab0abbf3b68de565a0a5bfb96c094551ec26c9a1
/NLPWebApplication/NLP/temp.py
05d796665f76bd2aa11d42b42a27e0578c667134
[]
no_license
wholemilk2/finance-news-sentiment-analysis
7273467db14c82cbf7df4bda9161a1d3afac0830
3523a2b19cd106f7abbed61f2c1c65a156ea0e8f
refs/heads/master
2020-06-27T13:34:59.319707
2019-07-31T07:35:50
2019-07-31T07:35:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ ## dosyayı okuyup bir değişkene atalım. #Bu değişkenin tipi, karakter dizisi (string) sınıfından (class str) olacak. import pandas as pd data = pd.read_csv(r"h.csv",encoding = "utf-8" ) data = pd.concat([data.strBaslik]) data=data.to_str...
[ "zisanyalcinkaya@Zisan-MacBook-Pro-5.local" ]
zisanyalcinkaya@Zisan-MacBook-Pro-5.local
1f20f9066dc5a3eadcf02517149e514b676948c8
63e2bed7329c79bf67279f9071194c9cba88a82c
/SevOneApi/python-client/swagger_client/api/policies_api.py
69f1266b039b430644d519fa6d6ec6944b77a7df
[]
no_license
jsthomason/LearningPython
12422b969dbef89578ed326852dd65f65ab77496
2f71223250b6a198f2736bcb1b8681c51aa12c03
refs/heads/master
2021-01-21T01:05:46.208994
2019-06-27T13:40:37
2019-06-27T13:40:37
63,447,703
0
0
null
null
null
null
UTF-8
Python
false
false
18,477
py
# coding: utf-8 """ SevOne API Documentation Supported endpoints by the new RESTful API # noqa: E501 OpenAPI spec version: 2.1.18, Hash: db562e6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and...
[ "johnsthomason@gmail.com" ]
johnsthomason@gmail.com
96387e22a6b335fe685dfcb6afa0d49458d4f2a1
7869e3cd307e859c91db4f2df13cb11fabadb76f
/sahara/tests/unit/plugins/cdh/test_versionfactory.py
74db0f738c14c3cabbc848247a134b38b6fc8579
[ "Apache-2.0" ]
permissive
jaxonwang/sahara
1c748bb287be95f45d3ec4aaa4d918884a89cad5
d5860557145b99cd92f283639ab034782423ff21
refs/heads/master
2021-01-22T18:24:27.546073
2016-02-03T17:14:23
2016-02-03T17:14:23
45,181,892
1
0
null
2015-10-29T12:32:04
2015-10-29T12:32:03
null
UTF-8
Python
false
false
1,651
py
# Copyright (c) 2015 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "jiexingx.wang@intel.com" ]
jiexingx.wang@intel.com
0b306a81e32ae2b0da4df778e7a8f6624b97cf34
b2b97f4887afb488be9bee70e9ffeea03ec37c5c
/webapp/generate/view.py
00d8a776af255965646908241643f73d99b39495
[]
no_license
suxiaochuan/WebBaoBiao
11415181d50704c0aec67c10af4deaf1bb49b835
9e213beac3597326ead8ccba6c197424e263313c
refs/heads/master
2020-05-07T05:42:31.150342
2019-04-09T09:26:58
2019-04-09T09:26:58
180,281,377
0
0
null
2019-04-09T09:06:41
2019-04-09T03:57:15
Python
UTF-8
Python
false
false
5,210
py
# _*_ coding: utf-8 _*_ from . import _generate from flask import render_template, request, send_from_directory, abort, flash, redirect, send_file from flask_login import login_required, current_user import os import xlrd import xlwt from xlutils.copy import copy from .form import GenerateForm, excels from .. import c...
[ "lyfgerrard8@gmail.com" ]
lyfgerrard8@gmail.com
83ccb76308d734373287a43059fad211f3c6071c
db006e9229d47146c47ca264f4f15df22df40d17
/file_1_btc_price_prediction.py
96093d8bcd57fc20fa48103d3a4bc1721e405044
[]
no_license
UiiKyra/CryptocurrencyPrediction
6fad980648f932f96f6b5359c6a1d28416c38419
b31981c1280d51ddf3075b90693c81292be535de
refs/heads/master
2022-09-17T20:16:42.740364
2020-06-04T03:42:40
2020-06-04T03:42:40
269,240,010
1
0
null
null
null
null
UTF-8
Python
false
false
7,618
py
# -*- coding: utf-8 -*- """File_1_BTC_Price_Prediction.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1NGjA41_DZBvOUH_q_o8SrEfCKc_Jha6J """ # The file utilizes Bitcoin price daily data, return predictions and save them along with actual data to ...
[ "noreply@github.com" ]
UiiKyra.noreply@github.com
8340f9d1f11c1a959adf75a6cde2e575801cc99d
8c5fdc395d365706583065b0b40169a6196c503f
/app/forms.py
8c7f6477d745c97cb95f682429655151ee2598bd
[]
no_license
manasashanubhogue/LibraryApp
2122608a8d383108b9acd8c121ccb6daec426ec3
0142920d2f37f24c2ed6531586c359fbb1ffc10d
refs/heads/main
2023-03-02T17:18:49.983193
2021-02-06T20:33:13
2021-02-06T20:33:13
335,926,812
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField from wtforms.validators import InputRequired, Email from app.models import BookRequest from app import ma class BookRequestForm(FlaskForm): title = StringField('Book Title', validators=[InputRequired()]) email = StringField('Email', v...
[ "m.manasa21@gmail.com" ]
m.manasa21@gmail.com
fb4bb02fa24fcff5afdd1ff8a166d0b16e3efe7e
df5682f7bf97272a62765ff430de84f709893422
/MRE_ALBERT_Xlarge/albert/run_classifier.py
ebb39290a46da9693747d72d1692a53b492f16a4
[ "Apache-2.0" ]
permissive
nikhil-krishna/Improving-Multihead-Selection-Model
88f82bb93810ed1f3685dd0848209c0180cde7a4
087a4784f0643218f24a4dc265043c7eda6dd5ca
refs/heads/main
2023-02-20T06:51:19.981019
2021-01-10T02:40:44
2021-01-10T02:40:44
328,287,525
0
0
null
null
null
null
UTF-8
Python
false
false
22,370
py
# coding=utf-8 # Copyright 2018 The Google AI Team Authors. # # 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 ...
[ "noreply@github.com" ]
nikhil-krishna.noreply@github.com
cf8cf08e7b21f0e531c165687dd44ac0c4bc71f9
478fc6021f7d26137a33ab1df102d4b518d1dda4
/myenv/bin/gunicorn
eb1bb784fc0549eaba2afbd58d51847aa2896b58
[]
no_license
ItaloPerez2019/GYM_tracker
bd45740d7a34e7238df282ad33533cc3f310e31b
622e7c85ac783ddb6196d44e726b75669e3ed525
refs/heads/master
2022-12-06T17:47:30.021706
2020-01-15T23:07:12
2020-01-15T23:07:12
234,186,109
0
0
null
2022-11-22T02:24:49
2020-01-15T22:28:39
Python
UTF-8
Python
false
false
262
#!/home/italo/Documents/gymDjango/GYM_tracker/myenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "iperezmba@gmail.com" ]
iperezmba@gmail.com
d344a2055bcf1ac850fa0ceab4a023f8f296b1a2
59a4fb975ab3739a40254f52b6c248215d6925a0
/oopnotes/observer/observer.py
7930209c6d88b73c6faf9f00e5f6f372a020de7c
[]
no_license
MargoSolo/stared-repos-p2
2356d1759dfc0d52b49e9a194bf22fa582418bcb
c88743a89805a3ffe9db4c4865aaab7fc5b03676
refs/heads/master
2023-08-23T21:44:29.686066
2021-09-11T16:32:56
2021-09-11T16:32:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,406
py
class Publisher: def __init__(self): self.observers = [] def add(self, observer): if observer not in self.observers: self.observers.append(observer) else: print(f'Failed to add: {observer}') def remove(self, observer): try: self.observers.remove(observer) except ValueError: print(f'Failed to...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
01b6d5021de95d05dfdbea53e5955e31476f4b72
35707b0a7bcd675dac48c42adbcee4c565451a56
/book_project/page_app/admin.py
87cf72db36b2366ab410aeb1ff7fec8a4b2cd053
[ "Apache-2.0" ]
permissive
cs-fullstack-2019-fall/django-models3-cw-b-Deltonjr2
85448dc8d1d8d4734267545ea468276e35b315b0
9cdec76e2fde3c85bee47cbd34da2545e4831e92
refs/heads/master
2020-08-01T05:54:16.920148
2019-09-25T21:10:50
2019-09-25T21:10:50
210,889,428
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from django.contrib import admin from .models import Book # Register your models here. class Book: admin.site.register (Book)
[ "Demetria.Farewell@yahoo.com" ]
Demetria.Farewell@yahoo.com
fbb9a8da1a975242b6d67efcd8c9ff228d4b47ba
19b71348f25d62d1147cf45eda030788a8b988e4
/Class_OKEX_API.py
7efe8b7c8a6a81e58b3371cbdc4b7ae5b5133d7e
[]
no_license
xiaomeixw/BTC_OKEX
a655648180811f11b8af0a748f5444507ecc1d94
e58743a14d89b642483f40057a3fe23e88de6079
refs/heads/master
2020-03-23T07:18:48.174503
2018-05-23T00:38:47
2018-05-23T00:38:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,437
py
#!/usr/bin/python # -*- coding: utf-8 -*- # encoding: utf-8 """ Created on Thurs Feb 8 2018 @author: Sjymmd E-mail:1005965744@qq.com """ # from OkcoinSpotAPI import * import pandas as pd import time import datetime import warnings import numpy as np from config import apikey,secretkey warnings.filterwarnings("ignore"...
[ "1005965744@qq.com" ]
1005965744@qq.com
0529a4a97890fe8ef779719100db7ca91eadb88c
085b9550dfbcd2d82eafa80d2c1699f9ecf50933
/scrapy/bin/scrapy
eb5d678caeeb4233a7ac24ac3b86313a3df742bd
[]
no_license
joelstanner/realpython-book2-client-side-API
f0aaa0e7fe070d5181de85df53f99fddab7aab09
0c98d847ce074b9b08474fbd145eb42fdc0ad56e
refs/heads/master
2020-04-14T14:36:26.377059
2014-07-01T08:56:47
2014-07-01T08:56:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
139
#!/Users/Joel/Documents/python_programs/real_python/book2/RealPython_book2/scrapy/bin/python from scrapy.cmdline import execute execute()
[ "eyftickid@poolbath1.33mail.com" ]
eyftickid@poolbath1.33mail.com
b3de0aab9ec822c86d8438c1bf79250104733ec8
ee0d36aec70912b99fc282f1de9f33431967cbe4
/ray_casting.py
c8ce84988f0e41c35bed389dc9c4587aa8c8a035
[]
no_license
FasePlay/RayCastingPythonBug
645268fe4652c0744c9bf2c6f2cd108d36f00aec
029a4a467390825b3764af6f670fd1ff8d48b32c
refs/heads/master
2022-12-17T00:54:32.234678
2020-09-13T18:50:26
2020-09-13T18:50:26
294,997,097
0
0
null
null
null
null
UTF-8
Python
false
false
2,442
py
import pygame from settings import * from map import world_map # def ray_casting(sc, player_pos, player_angle): # cur_angle = player_angle - HALF_FOV # xo, yo = player_pos # for ray in range(NUM_RAYS): # sin_a = math.sin(cur_angle) # cos_a = math.cos(cur_angle) # for depth in ...
[ "playfase228@gmail.com" ]
playfase228@gmail.com
d81e74062c20af675813df97d7c16928f0a75878
26e4bea46942b9afa5a00b9cde9a84f2cc58e3c9
/pygame/makinggamewithpygame/slidepuzzle/slidepuzzle3.py
ac2d35918d1f4d75137ff2de51b25753f155e5cb
[]
no_license
MeetLuck/works
46da692138cb9741a913d84eff6822f107510dc7
ab61175bb7e2ed5c5113bf150e0541ae18eb04c4
refs/heads/master
2020-04-12T05:40:25.143075
2017-08-21T17:01:06
2017-08-21T17:01:06
62,373,576
2
1
null
null
null
null
UTF-8
Python
false
false
2,213
py
from Component import * import winsound def main(): pygame.init() surface = pygame.display.set_mode(resolution) pygame.display.set_caption('Slide Puzzle') fpsclock = pygame.time.Clock() mainboard = Board(surface) while True: slideTo = None if mainboard.isSolved(): p...
[ "withpig1994@hanmail.net" ]
withpig1994@hanmail.net
f8b91229f9a677c3675abec47966a02723258804
37b478a9da286b65cdf71de02796905aead6c6f0
/twitter.py
5b5e9d3dec1bebe2477f7dabb18b9e7a329214bb
[]
no_license
jeaniewhang/mywork
785e13652f9336558868ac422c0ae645b32d3e3f
1cf8c4812cd31a6a3834e34cbca99f5837c6064c
refs/heads/master
2020-03-24T21:57:01.321551
2018-07-31T19:53:27
2018-07-31T19:53:27
143,058,987
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
import tweepy # Keys and Access Tokens CONSUMER_KEY = 'otMhi9PbrOtx6SxN7hRxu6U1J' CONSUMER_SECRET = 'oIiGNxr9H2DG89qPE5OYUdRrE7uigZrqo6KhKuffIhBHiSZxr1' ACCESS_TOKEN = '1017154796027969536-YLdIxq7kMgHvP72BT9pfWzIXnrBGsp' ACCESS_SECRET = 'Q4RyyMZMHpyfoP3y5M2qfzvXEeUOTT43F8GKgVn1NioGJ' # Authenticatio...
[ "noreply@github.com" ]
jeaniewhang.noreply@github.com
a0cd9489c8746040a371a0a2b32e669e01919a90
6e449028abb5050dc2d39cc7066dfaf752113f1e
/test/systemutil/test_itertools.py
03145b6e8456a4f4782a1f695d06e4dca8aabaaa
[]
no_license
horacn/test_python
3f88fde0b4fe7d839c58f68a063591efaf508189
e62c118f9038d0694007a85bed5e340c9b5a3433
refs/heads/master
2021-09-15T05:54:46.334840
2018-05-27T13:23:12
2018-05-27T13:23:12
127,876,523
0
0
null
null
null
null
UTF-8
Python
false
false
1,760
py
# itertools | 操作迭代对象 import itertools # natuals = itertools.count(1) # for n in natuals: # print(n) # count()会创建一个无限的迭代器,所以上述代码会打印出自然数序列,根本停不下来,只能按Ctrl+C退出 # cycle()会把传入的一个序列无限重复下去 # cs = itertools.cycle('ABC') # 注意字符串也是序列的一种 # for c in cs: # print(c) # repeat()负责把一个元素无限重复下去,不过如果提供第二个参数就可以限定重复次数 ns = ite...
[ "1439293823@qq.com" ]
1439293823@qq.com
603482f7e93af7ea9da0940c4cdddbddf5a7a810
589a4d5f9e7222d9f38b92affd27acb06c7c577d
/examples/count_vec.py
4d0d8137893c9d5101ce34c06ae2d910af929565
[ "MIT" ]
permissive
Swayam003/DVC_NLP_Practice
2ba17616673ee65774e983ad90bf0f6d71583f8d
93c9c50502be0c0800b789b3ae60aa31af711218
refs/heads/main
2023-08-24T16:20:43.092705
2021-11-08T16:09:38
2021-11-08T16:09:38
422,960,473
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
## REFERENCE https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.text.CountVectorizer.html from sklearn.feature_extraction.text import CountVectorizer corpus = [ "apple ball cat", "ball cat dog", ] vectorizer = CountVectorizer() X = vectorizer.fit_transform(corpus) print(f"Converting i...
[ "swayam.roxx@gmail.com" ]
swayam.roxx@gmail.com
6f019df06f5a479239416d6f5a28e2f5aaaf99e2
09d4bd9f455c070c8bb8cac140b094598637ca38
/bin_plot_example.py
d84a759b9cb7718b9f7222a6f65a75aff2b27a0b
[]
no_license
RossHart/astro_codes
2f26c1179d8d5a2917c468df69308a32ab9c633c
d9c5fac26a77f2e58e32f6bc8c16e7a25d92571c
refs/heads/master
2021-01-09T20:22:29.947825
2018-07-02T10:49:05
2018-07-02T10:49:05
59,846,832
0
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
from astropy.table import Table import numpy as np import math import matplotlib.pyplot as plt from scipy.stats import binned_statistic def bin_by_column(column, nbins, fixedcount=True): sorted_indices = np.argsort(column) if fixedcount: bin_edges = np.linspace(0, 1, nbins + 1) bin_edges[-1] +=...
[ "ross.hart@nottingham.ac.uk" ]
ross.hart@nottingham.ac.uk
7f6042ee7b7b90ac27e0ba2be20e4ee4f6491b7d
5e4b59b62bc596caedef40640155741cc26db3c6
/日常/766.py
5fab7be3afe7dba2804d21775afb6688e23aa6b3
[]
no_license
kz33/leetcode_daily
5ebca018fdba7ff0b5ee460c26bd99d55c02e2fb
7dd23adccef128802137748e14e5106b6c63c6e0
refs/heads/master
2021-07-15T07:07:31.700699
2020-06-11T08:52:58
2020-06-11T08:52:58
167,475,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,603
py
# 如果一个矩阵的每一方向由左上到右下的对角线上具有相同元素,那么这个矩阵是托普利茨矩阵。 # # 给定一个 M x N 的矩阵,当且仅当它是托普利茨矩阵时返回 True。 # # 示例 1: # # 输入: # matrix = [ # [1,2,3,4], # [5,1,2,3], # [9,5,1,2] # ] # 输出: True # 解释: # 在上述矩阵中, 其对角线为: # "[9]", "[5, 5]", "[1, 1, 1]", "[2, 2, 2]", "[3, 3]", "[4]"。 # 各条对角线上的所有元素均相同, 因此答案是True。 # 示例 2: # # 输入: # matrix = [ ...
[ "zhangjiekun@caicloud.io" ]
zhangjiekun@caicloud.io
40890c9e4989332177063a704eedfea45b0993ad
b0fdc04fab517802ca3277d19099c61211a609f5
/mediablog/migrations/0005_auto_20200626_1249.py
865bea71eb36f614dc089cc5fa83d8689cae614a
[]
no_license
js-tutul/Jsblog
38aff00d9be652a9f83e30ff3058acaf5a04dbed
da001fd7eac1a60e1785669f96cf2dbf73212b33
refs/heads/master
2022-12-12T16:24:38.466319
2020-09-12T17:49:14
2020-09-12T17:49:14
275,648,059
0
1
null
null
null
null
UTF-8
Python
false
false
517
py
# Generated by Django 2.2.7 on 2020-06-26 19:49 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('mediablog', '0004_allreact'), ] operations = [ m...
[ "jstutul90.gmail.com" ]
jstutul90.gmail.com
e56a8b3b3612b9d0e057873ce14bdc8b1cfde052
742c4381ba2d6f87e181db77a8c73d042835f381
/experiment_2/src/ml_helpers/.ipynb_checkpoints/make_ml_dataset-checkpoint.py
a2de20cff6a4f200f6d2f0b511b1b3cd9b4ea84c
[]
no_license
unhcr/Jetson
58aff3f1387c62fc6989c4cd0ed6d5fccad0767f
86e63272c700cac5734213d70f893f11e3fa9593
refs/heads/master
2023-05-25T08:28:27.987887
2023-05-17T17:40:56
2023-05-17T17:40:56
111,537,294
21
7
null
2022-12-09T08:21:44
2017-11-21T11:00:16
Jupyter Notebook
UTF-8
Python
false
false
4,822
py
import pandas as pd import numpy as np from dateutil.relativedelta import * import os def make_ml_dataset(df, current_month, lag=3, admin_level='admin1', shifts=[3,4,5,6,12]): ################################ ### Read in the data df = pd.read_csv(f"data/compiled/master_{admin_level}.csv", parse_dates...
[ "khof312@gmail.com" ]
khof312@gmail.com
51fe054e2fe5d69c097f42f7ee838c0455ef17f8
c8616b2e102e87c93b2cfcaa6a226f7bdb1ec2c5
/paho_mqtt_test/mqtt_client_test.py
a435774d3e0bc1baefc40b62452d97f002785048
[]
no_license
noahcroit/MQTT_over_LoRa_pycom
cb73fb0b9a63fc7f5644e3cce7a6044442f5cfbf
1a15a8349764a8347386f871f5cf9413c16400cc
refs/heads/master
2022-03-28T04:13:40.598422
2019-12-17T08:01:46
2019-12-17T08:01:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,942
py
import paho.mqtt.client as mqtt import time ##################################################################################### # MQTT Initialize mqtt_client = mqtt.Client() MQTT_SERVER = "192.168.2.220" MQTT_PORT = 1883 # Callback function after received the mqtt message def on_message(mqttc, obj, msg): pri...
[ "jazzpiano1004@gmail.com" ]
jazzpiano1004@gmail.com
0af5d606b48acfcaece9af7088f053901fed4b5e
cacb5954c86544c1c8ca9d5054f94afba9e4bc86
/lib/config.py
3c7cd674d07fef0ce86e79cb4f36f44f9c4388d2
[]
no_license
peternara/MCNet-MobileNetv3-CenterNet
122a0fd0d224b0d90b60e7e437208c340a449d60
7b89b82bbbc12952d8bd47872570a47e842e06bc
refs/heads/master
2022-07-04T23:41:41.616275
2020-05-13T09:48:31
2020-05-13T09:48:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,535
py
import numpy as np import os import json current_path = os.path.dirname(__file__) class Config(object): def __init__(self): self._configs = {} # _Detector self._configs["_Detector"] = {} self._Detector = self._configs["_Detector"] self._Detector["max_objs"] = 256 ...
[ "liuwei79@lenovo.com" ]
liuwei79@lenovo.com
91a5e092403c3b48409a5295164f514cf3a350a4
f5d84b5b3875e2266e14337763da1ba1a7a94b3e
/www/urls.py
98a64776f07f47717f32f76d46f1fb48c721fd8a
[]
no_license
WRuping/python-webapp
ca7896473ec74fe9a4cb9ac8411f57b7bd5b08e1
6ec84c66e828546ede928a1033036ada5717a138
refs/heads/master
2021-01-09T23:38:03.606572
2018-04-09T15:07:27
2018-04-09T15:07:27
73,192,600
0
1
null
2016-11-09T15:25:40
2016-11-08T14:18:03
Python
UTF-8
Python
false
false
9,599
py
#!/usr/bin/env python #_*_ coding: utf-8 _*_ __author__ = 'LYleonard' import os, re, time, base64, hashlib, logging, markdown2 from transwarp.web import get, view, post, ctx, interceptor, seeother, notfound from apis import api,Page, APIError, APIValueError, APIPermissionError, APIResourceNotFoundError from models ...
[ "aygxywrp@163.com" ]
aygxywrp@163.com
85e370da93086304f9695626f24e7d01e5884395
ee6c8f25f018e536a355054e7ee12415e37c8d52
/decorator/ortalamaHesabi.py
d5eb81a619483707556d4a7eead7840145d75623
[]
no_license
musttafayildirim/PythonAlistirmalar
7107ec4e2cae3c45048ca64ac220023d726a93c3
713d13e2d1533146320b166c04e3042fab8fabe0
refs/heads/master
2020-03-22T01:00:54.491773
2018-07-18T11:22:52
2018-07-18T11:22:52
139,278,093
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
def ekstra(fonk): def wrapper(sayilar): ciftlerToplami = 0 ciftler = 0 teklerToplami = 0 tekler = 0 for sayi in sayilar: if(sayi % 2 == 0 ): ciftler += 1 ciftlerToplami += sayi else: tekler += 1 ...
[ "musttafayildirim@gmail.com" ]
musttafayildirim@gmail.com
f2a1d22895b39efddab6483f44bd354be5426b43
06b1f5883d4625aca67423df0b80a9ab66b5a89c
/test/logging/rotating.py
5a2a1e540caac0c7ad2553fa46bb1978acf36746
[]
no_license
lariat/dqm
91c5cfd9d640d88787b5c4e8a66aa664097d623b
01e140cea3af47456c31b4932d96a0b2839b7a98
refs/heads/master
2020-05-20T04:16:21.850076
2015-11-28T14:37:57
2015-11-28T14:37:57
31,751,978
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
import subprocess import logging from logging.handlers import RotatingFileHandler cmd = ['ls', '-l'] file_name = 'tmp_rotating.log' format = '%(asctime)s %(levelname)s: %(message)s' date_format = '%Y-%m-%d %H:%M:%S' formatter = logging.Formatter( fmt=format, datefmt=date_format ) handler = RotatingFileH...
[ "lariatdqm@lariat-gateway00.fnal.gov" ]
lariatdqm@lariat-gateway00.fnal.gov
6ee9e1c0a30a9daab9245b8dcc1cf13d21e33500
61d34c2be1ff7cfe4635cfb0cc6f2d30890b3c67
/collab_smach/src/collab_smach/policy.py
0fc68181de1a649688ba5d3aa78e682125448961
[]
no_license
cpaxton/two_arm_collaboration
869945829afccd9720d39309b92086979f63efcc
662cfaa7eee94dfa4a1c9d7597463f2577f72021
refs/heads/master
2021-01-10T12:41:58.819199
2016-03-09T15:33:47
2016-03-09T15:33:47
53,901,153
2
0
null
null
null
null
UTF-8
Python
false
false
995
py
# Python file for policy-based controllers # These use weighted data from predicator to move around in joint space, and are the basis for our low-level controllers # This includes import rospy import roslib; roslib.load_manifest("collab_smach") import smach import smach_ros import actionlib import tf import numpy as...
[ "cpaxton3@jhu.edu" ]
cpaxton3@jhu.edu
fd13222758e243d11f336d7e4a598937319bf57b
2c3a01e6ec1dea20a23f0c89e8d4d9b84f179355
/networks.py
c54166431838582bdf11cdb9f019a6a2295890c5
[]
no_license
jaeikjeon9919/BayesByHypernet
39af7823200e6934fc5b16286a0597cdc2dc0247
0d2f48afeaac9bf7e6e87bfa76c7968d7a165db8
refs/heads/master
2022-02-27T23:25:36.496305
2019-11-14T10:28:27
2019-11-14T10:28:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,728
py
import tensorflow as tf import layers import base_layers import numpy as np import copy def get_bbh_mnist(ops, num_samples=5, sample_output=True, noise_shape=1, layer_wise=False, slice_last_dim=False, force_zero_mean=False, num_slices=1, h_units=(256, 512), ...
[ "pawlowski.nick@gmail.com" ]
pawlowski.nick@gmail.com
2920544a3b08538848ac5deea551712b8930c829
bfd30b74333c29a73e033336b618500621416465
/app.py
4837deaa044df49844cd25366e5b7c0b8ac2afed
[]
no_license
thi131190/flaskbook
ca3a8c4e791df9631608d605bac2e8db80da90c6
cf2553ab2085d6feb161e244146f83580af6ca7b
refs/heads/master
2020-09-12T06:09:24.113898
2019-11-18T06:40:23
2019-11-18T06:40:23
222,336,656
0
0
null
null
null
null
UTF-8
Python
false
false
7,025
py
from flask_sqlalchemy import SQLAlchemy from flask import Flask, render_template, request, flash, redirect, url_for from flask_login import UserMixin, LoginManager, login_required, login_user, logout_user, current_user from werkzeug.security import generate_password_hash, check_password_hash app = Flask(__name__) app....
[ "thi131190@gmail.com" ]
thi131190@gmail.com
faf55b89db37f61553e87b59a232efca0d366685
a2ab9df14b6206a0c08b8610d1b5dcc283229914
/piko_people_detection/nodes/people_monitor.py
d915479574df2f36d183932fb128212bb2921532
[]
no_license
pirobot/pi-kobuki-git
fa1d20624d709533df80ef610fb9d7d58ce36fd2
b7722b13a1e60f3b4d49e07449a3ce11314eedd2
refs/heads/master
2021-09-10T02:21:45.086523
2018-03-20T17:41:38
2018-03-20T17:41:38
126,058,637
0
1
null
null
null
null
UTF-8
Python
false
false
3,291
py
#!/usr/bin/env python """ people_monitor.py - Version 1.0 2013-11-16 Created for the Pi Robot Project: http://www.pirobot.org Copyright (c) 2013 Patrick Goebel. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Gener...
[ "pgoebel@stanford.edu" ]
pgoebel@stanford.edu
2e0013802194373ba713edb929f64b4edfa31ae8
b66450f669095b0ad013ea82cb1ae575b83d74c3
/Technical Questions/027 - Remove Element Array.py
d9014362820117db85074b78a6c1f00254b51644
[]
no_license
aulb/ToAsk
2649a3fad357820e3c8809816967dfb274704735
1e54c76ab9f7772316186db74496735ca1da65ce
refs/heads/master
2021-05-01T20:35:14.062678
2020-02-23T07:44:29
2020-02-23T07:44:29
33,289,737
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
# https://stackoverflow.com/questions/135041/should-you-always-favor-xrange-over-range # In place # Shuffle around doesn't work because you don't exactly know where to shuffle to # def removeElement(nums, val): # for i in range(len(nums) - 1, -1, -1): # # Strategies: # # Iterate backwards # if nums[i] == val: # ...
[ "aalbertuntung@gmail.com" ]
aalbertuntung@gmail.com
4a85f74b2fd518ce37380ac7e08131e78f234266
8c4469b3d97d3a6e282c26da3135e0bc3bf3e347
/aggregator/group.py
a8659130a26726c6ca6adf7cfd20294ff9aa74e2
[]
no_license
Ch4ngXu3Feng/seer
4bc9a84c83d1434ca5c776cbbea10a07b07e3a3f
afdd6a994cdf0e766fed6bc6fa275de1011a64c3
refs/heads/master
2020-04-06T22:25:53.494206
2019-01-04T13:49:51
2019-01-04T13:49:51
157,835,871
1
1
null
null
null
null
UTF-8
Python
false
false
682
py
# coding=utf-8 import pandas as pd from core.aggregator import Aggregator class GroupFieldAggregator(Aggregator): def __init__(self, aggregator: Aggregator, key: str, field: str, term: str) -> None: super().__init__(field, term) self.__aggregator: Aggregator = aggregator self.__key: str...
[ "changxuefeng.cxf@outlook.com" ]
changxuefeng.cxf@outlook.com
0d5f8aa4289749dc418ab3dfb54737344de7bca6
79d77f1dd01fdf554833dd2b4f6210fbb8c36d45
/src/chapter02/cars.py
6c1c9a2c83b1b31e9bfe9e610646ce77837075b9
[]
no_license
jayashelan/python-workbook
e5b87f9027b38dc53de24edc063eca673800e02d
7c71f2075a351f566e1d66908a6f044f909e5de0
refs/heads/master
2022-12-30T03:27:02.270384
2020-10-07T01:38:27
2020-10-07T01:38:27
290,066,488
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
cars = ['bmw','audi','toyota','subaru'] cars.sort() print(cars) cars.sort(reverse=True) print(cars) print("Here is the original list:") print(cars) print("\nHere is the sorted list:") print(sorted(cars)) print("\nHere is the original list") print(cars) cars.reverse() print(cars) print(len(cars))
[ "jayashelan.boobalakrishnan@gmail.com" ]
jayashelan.boobalakrishnan@gmail.com
f0c7af14ec0f438e016ae178d3f0fb3f738bca99
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/pcrequestmatchcriteria.py
e296cbd50daa3fbda7651bb3454ebd6967527e0f
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
6,041
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
c3e6146d0f55c6b931a02a3ba658b48dfe28ae34
7219cc709375174a17364574c80cf670b23e0fd1
/lists/tests/test_views.py
842f95a5576f3152db7c67dcec046ec808fd0b34
[]
no_license
juliatiemi/tdd-project
8853c4fb3f704e8db15dd5f508c04be9d6afc5bc
48ff95341eb3892d65e9f00be97833a341038c1d
refs/heads/master
2021-03-13T15:14:30.255370
2020-10-24T18:34:37
2020-10-24T18:34:37
246,691,183
0
1
null
null
null
null
UTF-8
Python
false
false
4,696
py
from django.test import TestCase from lists.models import Item, List from django.utils.html import escape class ListViewTest(TestCase): def test_uses_list_template(self): my_list = List.objects.create() response = self.client.get(f'/lists/{my_list.id}/') self.assertTemplateUsed(response, ...
[ "julia.tiemi@bagy.com.br" ]
julia.tiemi@bagy.com.br
18beb3d74496e14e2cf7136d77c9932a29d5ef61
460a1a125c9ae05dc0056b3b2369464868b8cee2
/ebook/forms.py
fb5ba232d7a5c5c0a1c8d02b9e250675de63242e
[]
no_license
makyo-old/treebook
8fd7b258ede9e630f6840c64c2fe64aeb3257b89
c60fa421ed286ff722a390ff96b8a09145cd51c8
refs/heads/master
2020-04-21T03:15:03.640954
2010-10-14T04:36:16
2010-10-14T04:36:16
169,279,252
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
from django import forms from ebook.models import * class ChapterForm(forms.ModelForm): body = forms.CharField(widget = forms.Textarea({'rows': 25, 'cols': 78})) class Meta: model = Manifesto exclude = ('owner', 'views', 'stars', 'featured', 'weight', 'ctime') class CommentForm(forms.ModelForm...
[ "mjs@mjs-svc.com" ]
mjs@mjs-svc.com
5c3fb98bb4ef83fd5261cc0490e8816e9d1edbcd
2a86af7298ad3497814cd605c8961d18730d1a05
/emitr/migrations/0008_query_notified.py
4d12554f0649a8a904724687f1e02eccc8dc808a
[]
no_license
mdakibg/SanskarEmitr
edeaec65cbc16e25ba208a18e45e5dc486adcc78
3e6d1d98db10247981ea594aae80ee822528242e
refs/heads/master
2023-02-25T04:20:43.353013
2021-01-28T10:41:04
2021-01-28T10:41:04
319,060,108
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
# Generated by Django 3.1.2 on 2020-11-25 11:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('emitr', '0007_query'), ] operations = [ migrations.AddField( model_name='query', name='notified', field=...
[ "mohdakibgour@gmail.com" ]
mohdakibgour@gmail.com
40f070590e60bf8d398a6a5af723c465aed2a574
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/containerregistry/v20201101preview/get_import_pipeline.py
50b25e7dbdd67fb56dc51ebfb0be2215a0287835
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
6,696
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
morrell.noreply@github.com
c3540c272c47b4195180a168ca75db6c5b50af69
93ca08c158960f67e81576dfa48a0d110af13f33
/flask_app/sipaccounts/sipaccount.py
9d9748d0629e86ec4eb35e683174bf2d0b67c2c4
[]
no_license
alochym01/freeswitch_flask_gui
be49d869697b67d33c326ea01f3a1ffd75ccc4da
5a28ea256f7cc759f5bbf71230baab514d1b6abf
refs/heads/master
2020-03-09T01:26:24.954737
2018-11-12T15:53:59
2018-11-12T15:53:59
128,514,424
1
4
null
null
null
null
UTF-8
Python
false
false
4,195
py
from flask_app.sipaccounts import sip_account from flask_app.sipaccounts.sipform import SipAccount from flask_app.models.sip_account import SipAcc from flask import render_template, redirect, url_for, flash, request from flask_login import login_required from flask_app import db import redis @sip_account.route('/') @l...
[ "hadn@ubuntu" ]
hadn@ubuntu
54b20d9bc5ec32b30a49e6debd290d9196e93678
97e37192d4a695777c538596086c0be826b721e1
/tools/train.py
458b2151ceb9b534e946cb19704fd2931ea57c23
[ "Apache-2.0" ]
permissive
Sayyam-Jain/vedastr
1b587adc1ff4dc79ab7acc71d7ee08fe600c8933
83511a408b68c264561a30daff5154cd0148bebd
refs/heads/master
2022-12-13T08:06:21.304845
2020-09-10T05:05:50
2020-09-10T05:05:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
import argparse import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../')) from vedastr.runners import TrainRunner from vedastr.utils import Config def parse_args(): parser = argparse.ArgumentParser(description='Train a classification model') parser.add_argument('config', type=s...
[ "jun.sun@media-smart.cn" ]
jun.sun@media-smart.cn
37d92b233c3353b77e82660ad4e05c02f3447a27
d99f2eff92f90464d04e19448e71d1df4aa7264d
/trafficsim/shedule.py
e73065cb42dc2d152edca59ed322247040373b87
[]
no_license
fprott/trafficSim
23c59a602340488a2734d98399f8b91b56294e67
dbd990b49ebeaa82607504972a8eb9eb387e682c
refs/heads/master
2021-01-20T02:28:21.326582
2017-07-18T17:02:27
2017-07-18T17:02:27
89,411,175
0
3
null
null
null
null
UTF-8
Python
false
false
1,410
py
import numpy class Shedule: def __init__(self,time_step,x_init,v_init,a_init,goals,current_time): #self.__init__() self.time_step=time_step self.x_now=x_init; self.v_now=v_init; self.a_now=a_init; self.gaols=goals; self.nr_cars=len(self.x_now); s...
[ "balog270891@yahoo.com" ]
balog270891@yahoo.com
eb53ec3ed82d94c6cd342569b0d7e04e9f9f29ae
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/py2/toontown/coghq/CashbotMintPaintMixer_Action00.pyc.py
24a4404355d7a5da12ca0c6d3fe91af8ae4d0b8b
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,836
py
# 2013.08.22 22:18:18 Pacific Daylight Time # Embedded file name: toontown.coghq.CashbotMintPaintMixer_Action00 from toontown.coghq.SpecImports import * GlobalEntities = {1000: {'type': 'levelMgr', 'name': 'LevelMgr', 'comment': '', 'parentEntId': 0, 'cogLevel': 0, 'farPl...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
4ade516bc779fa57cb78f0ffa70584c99817367e
e257ea927ed059765c0ad308a43c4fb7670f6c28
/source/IDProcessor.py
c50c4e15feb8993974f515373a00865ba637a22f
[]
no_license
parikhshyamal1993/IDScanner
10e6ee75f4b5d0c6d1ece78da67737ee573fe638
b0b199a0c1a63674d14a7bb2215839056c1267e5
refs/heads/master
2023-08-28T03:01:00.055516
2021-10-28T05:00:19
2021-10-28T05:00:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,300
py
import sys , os import cv2 import numpy as np from pytesseract import image_to_string import re class PanCardExtractor(): def __init__(self) -> None: self.kernal = np.ones((2,2),np.uint8) def Identifier(self,data): """ If distance of y between income tax deparment vs pan number i...
[ "parikhshyamal1993@gmail.com" ]
parikhshyamal1993@gmail.com
ee14d431bef47b8ff12fcd0f4d706dcb62c076c4
bb5323dc6ac6e3fded6eab25b9a4a4088065b276
/docker/generate_production_ini.py
84c8176b73de6acb39771578c425b81938125cd9
[ "BSD-2-Clause" ]
permissive
anderson-attilio/publication_stats
57f3a6c379ec5442205488727ca0bb29fb6a6b79
49e3839b930da005cc24406f83c068d104a5ac9d
refs/heads/master
2021-01-12T14:32:41.674395
2016-09-12T16:52:37
2016-09-12T16:52:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
715
py
# coding: utf-8 import os from configparser import ConfigParser PROJECT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) production_template_ini_filepath = os.path.join(PROJECT_PATH + '/production.ini-TEMPLATE') new_production_ini_filepath = os.path.join(PROJECT_PATH + '/production.ini') config = ...
[ "fabiobatalha@gmail.com" ]
fabiobatalha@gmail.com
ba71d321961cc6df103683482bba3c8c3883a4b2
b5904720e5267e242c911a4a0ba1d4be66e0a2f9
/robots/oat_viper_robot/adept_s650_morse/morse/simple_simulation/viper_with_gripper.py
e003bfb8665b07812bbdd10e502282781eb4a321
[ "BSD-2-Clause" ]
permissive
dgerod/robots-in-morse-using-ros
ccd2416a13221decfae50c7e00d855947cf802b9
2fcb057f345d40cb948fa913cf226f17fd19eb9b
refs/heads/master
2021-01-22T05:20:11.366350
2020-08-30T11:24:08
2020-08-30T11:24:08
81,646,502
0
0
null
null
null
null
UTF-8
Python
false
false
1,565
py
from morse_helpers import initialize initialize(__file__) import math from morse_helpers.settings import SimulationLocalSettings from morse_helpers.storage import FileStorage from morse_helpers.adapters import ROSRegister from morse.builder import Clock from morse.builder import Environment, PassiveObject, FakeRobot f...
[ "dgerod@xyz-lab.org.es" ]
dgerod@xyz-lab.org.es
43156a318809c4d33364e140432059e1ef4c9d8c
27ab47f633d38eaa003fa604f2210dd9ef4a9a1d
/MTG_Card_Identifier/dir_functions.py
5bb94fa129ff9dc3b314247978c4417505f5cede
[ "MIT" ]
permissive
sschatz1997/Card_Identifier
17270c91285d99aa283ec9e72cf72bf830d9b800
82002bbfbd17aa14fdfc48c9f88956f433795cb3
refs/heads/main
2023-02-19T03:30:12.135140
2021-01-20T23:42:17
2021-01-20T23:42:17
331,459,443
0
0
MIT
2021-01-20T23:42:18
2021-01-20T23:25:08
Python
UTF-8
Python
false
false
5,319
py
# dir_functions.py import os import csv import sys import config #from os import path # make sure the file type is acceptable def check_file_type(f1): # good file types for imgs good_file_types = ['jpg','jpeg','png'] file_type = os.path.splitext(f1)[1][1:] if file_type in good_file_types: return True elif os....
[ "s.schatz1997@gmail.com" ]
s.schatz1997@gmail.com
2f65a4610e95d10f920a9d13cbb6f5c538a57fb6
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/pygments/styles/autumn.py
85fd8982a9d5a68b34291612f4711f7f46773562
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
2,120
py
""" pygments.styles.autumn ~~~~~~~~~~~~~~~~~~~~~~ A colorful style, inspired by the terminal highlighting style. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ from pygments.style import Style from pygments.token import Keyword, Name...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com
61d61023aa1ef3018c9190d8a52786b0dd5580cf
bf5d8cfa2ad9038130671187be3403f5b861d6ab
/cloud_web/sdr/apps.py
196b3822a5617e119112040f6fb4b9aaab7d9cde
[]
no_license
lihao2333/rtlsdr
85b9503dc87770444b931b74c59bb66fdd27718a
c7a53687be01302945a58ab28f6731d3ab514a34
refs/heads/master
2021-05-04T20:32:16.489074
2018-04-08T06:12:44
2018-04-08T06:12:44
119,818,073
1
0
null
null
null
null
UTF-8
Python
false
false
81
py
from django.apps import AppConfig class SdrConfig(AppConfig): name = 'sdr'
[ "lihao3016@gmail.com" ]
lihao3016@gmail.com
9dd347b7212355ba4fa6a90d0497a8e5017cd3a0
ebf572010eaa11039709617c08c3723ebd40cf73
/models/__init__.py
5f267eaa4ae86e75f544dc992c86be506cebe9d5
[]
no_license
daltonjoe/viseducat
341c8516fd20f6edf63e46ac4548f5b6b77d3f30
8b8e335a3c07fcbc4cf6df1c0dde6862a30b99c2
refs/heads/master
2023-03-01T16:22:42.811356
2021-02-07T14:12:28
2021-02-07T14:12:28
326,630,979
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
# -*- coding: utf-8 -*- from . import library from . import media from . import media_unit from . import publisher from . import author from . import media_type from . import media_purchase from . import media_queue from . import media_movement from . import tag
[ "talha_guzel1907@hotmail.com" ]
talha_guzel1907@hotmail.com
2b697ad5a4e9a797fb564afb3d7afdb619c7eb61
6841db425d9b7d3b634b21fa2aeae5720e97b245
/happy.py
4e36172cbc66947f7d9dd3e1c7d6d4e3611de7bb
[]
no_license
aakash003/zemoso
f1335387da6c10c82220e6f9e43f4650fa841cb7
e817b0c03dd8855c24db8624c1e31ef9d2d82a28
refs/heads/master
2021-05-05T19:52:41.989751
2018-02-11T15:30:08
2018-02-11T15:30:08
117,860,820
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
if happy>2: print("hello world")
[ "kumar.aakash10@gmail.com" ]
kumar.aakash10@gmail.com
4ed6dd63e8f31c3e1e031534668ecf36ab9eef8b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p2DJ/New/program/qiskit/simulator/startQiskit318.py
21cd9ab92fda16ef64bd2127105c730612c79e4c
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
3,278
py
# qubit number=2 # total number=18 import cirq import qiskit from qiskit import IBMQ from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy a...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
37d72fb2b0e493347ee626807598f8ad7459edb9
5942892f1a625370a048bc98d71b105368b8a155
/QandA_app/asgi.py
d89cf73b327877547b7f48e68cd1d6778ad62b37
[]
no_license
Amansingh1202/QandA_app
fa533eb534bff2c519650ea020318ab50874dfee
ab0304304e7d7ac67b6bddbe79bc5b7f15bbcc74
refs/heads/main
2023-02-04T19:49:30.912014
2020-12-18T12:37:51
2020-12-18T12:37:51
303,122,873
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" ASGI config for QandA_app 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SET...
[ "aks001235@gmail.com" ]
aks001235@gmail.com
d6cdf502d5552bc6727b119278719928dd220fd8
595dea2f5b5fec82415fee50ae524055a7258fef
/intercom/contact.py
1773ca503b9a6536ac05e5a1a3903d1b3fba900d
[ "MIT" ]
permissive
rodolfofiuza/python-intercom
d7dcfc52136a9ae1abf814f3cc812607b9f31e08
2eea2a69e26d71a54ead96ae6e3c03f9ebebc873
refs/heads/master
2021-01-11T19:27:44.571901
2016-01-27T14:46:51
2016-01-27T14:46:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
# -*- coding: utf-8 -*- from intercom.api_operations.save import Save from intercom.api_operations.find import Find from intercom.traits.api_resource import Resource class Contact(Resource, Save, Find): pass
[ "cesaraugusto@pingobox.com.br" ]
cesaraugusto@pingobox.com.br
9f7aa71948b32baed70813dd38e5623a2815e93c
13ddb146cae9dd14e9a482c2ae98e3cc5900100b
/king_phisher/client/gui_utilities.py
04c241dfbbdb5721fb40e3753c6d0ea65f645f5b
[ "BSD-3-Clause" ]
permissive
alleznei/king-phisher
a8ae4d83b08264f658e265b4d49c2ff96ba31248
6bab024ed81114295d3adbd210194e8e4508e69d
refs/heads/master
2022-12-22T08:00:44.677706
2018-02-20T20:30:34
2018-02-20T20:30:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,948
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # king_phisher/client/gui_utilities.py # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # not...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
ebfcd58f0192f48997229b64ab5b28a93443be31
9dc45b6f2ba0d94d4b8a3090364d1116fd8f52b1
/src/scripts/show.py
01d6468cefe4fe8f2e8cd22540739aedb2664418
[ "MIT" ]
permissive
mirgee/thesis_project
7c1128b46c224ec1770e89c3290de66e9a280c4d
296f292a84fe4756374d87c81e657ac991766a60
refs/heads/master
2022-04-15T12:22:57.601575
2019-08-22T14:16:15
2019-08-22T14:16:15
146,583,700
0
0
MIT
2020-03-31T03:19:20
2018-08-29T10:26:26
Jupyter Notebook
UTF-8
Python
false
false
86
py
#!python3 import pandas as pd import sys df = pd.read_pickle(sys.argv[1]) print(df)
[ "miroslavkovar@protonmail.com" ]
miroslavkovar@protonmail.com
67a8fd66fd325c2a66c113a5a6683f24d937bcb4
16e0407c03456570274efe40e6f1e076cf6ace75
/Exercise_7/challenge2.py
e1493ed675daae291b233732f844e4faf00426a8
[]
no_license
bocephus51/HomeworkForPython
14715df09775e2beac814c047b040e8e869d6bf9
75a66a1206ff3a6a2fcf7ff479e1a1eef920e898
refs/heads/master
2016-09-06T19:05:45.856421
2015-10-05T16:52:55
2015-10-05T16:52:55
42,896,298
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
import arcpy from arcpy import env env.workspace = "P:/Fall2015/PythonProgramming/Exercise07/Exercise07data" fc = "Results/raods.shp" newfield = "FERRY" fieldtype = "TEXT" fieldname = arcpy.ValidateFieldName(newfield) fieldlist = arcpy.ListFields(fc) fieldnames = [] for field in fieldlist: if field = "FERRY": ...
[ "brwatk8554@GIS-VLAB-19.ad.uauth.net" ]
brwatk8554@GIS-VLAB-19.ad.uauth.net
8147dd2aea21db389739c6cf9ddecefb25490dea
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02702/s099070229.py
891b8ce46b8b1b1687e1257e2cd8841f2209bbaf
[]
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
295
py
s = list(map(int,input())) s.reverse() t = len(s) mod = 2019 arr = [0] * (t+1) arr[-2] = s[0] for i in range(1,t): arr[t-i-1] = (arr[t-i] + s[i]*pow(10,i,mod)) % mod from collections import Counter arr = Counter(arr) ans = 0 for i in arr: ans += (arr[i] - 1) * arr[i] // 2 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9fa04e51089fddcda263284ee9108936a4ff2b73
a3895c209fec46d184abe9e690dbfc2848ebbf7b
/src/buildJS.py
609b3d689793238c5ee75c05ad235ac2cca3c128
[]
no_license
drdrang/mechanics
4e639e8d79ee959d150f45576763e63a696a70cd
400dd56286cc2eaf12453acd2f279930d77a0a66
refs/heads/master
2020-08-07T12:12:05.607298
2009-01-22T23:19:18
2009-01-22T23:19:18
112,865
6
1
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/python from glob import glob # Get the number of problem solution files. count = len(glob('problem*.md')) # Print out a JavaScript function that will print that number. print '''function problemCount() { document.write(%d); } ''' % count # Get the chapter files. chapters = glob('chapter*.md') # Turn t...
[ "drdrang@gmail.com" ]
drdrang@gmail.com
c1d2064b5559268bb779069c98714fe072aee3e1
beef54fe5731e99c98fb9306b4931cc952e50704
/ephys_stuff.py
fcbc27ab3ea8960382fc88257e520a4828fcbccb
[]
no_license
isalinas4/twoac_performance_summary
1e4ee155cd5ca6dcf752e70a3dc5cd69f57c34f5
6219ab1376a8fd81bd7ee7f642b859f9d0e2c987
refs/heads/main
2023-06-11T12:41:32.147533
2021-07-06T18:29:25
2021-07-06T18:29:25
317,296,286
0
0
null
null
null
null
UTF-8
Python
false
false
8,505
py
''' Ephys Data Report Generator ''' import os, sys import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as mpatches from jaratoolbox import celldatabase from jaratoolbox import settings from jaratoolbox import behavioranalysis from jaratoolbox import spikesanalysis from jaratoolbox import extra...
[ "noreply@github.com" ]
isalinas4.noreply@github.com
a6cc35cac625b797547a9a7f2cef8c4cf8cfda6f
53c62e3e6bdd68ed6f7c0f5264e11eaf72a55e3e
/evaluation/count_frequencies.py
dc3b06c0d28f85e884922562314cd8864b1fc368
[]
no_license
lkopocinski/paintball
19d4076ad19d8c4bc3796621df63f26dc0e54f51
266c51693bd867924c48f2bbc3d81497a1b9e6ab
refs/heads/master
2022-04-17T04:01:54.036359
2020-03-23T12:52:54
2020-03-23T12:52:54
191,989,869
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
import sys import pandas as pd def main(): df = pd.read_csv(sys.argv[1], names=['term', 'distance']) df = df[df['distance'] != -1] df = df.groupby('term').min() #df = df.distance.apply(lambda x: round(x, 0)) df = df.distance df = df.value_counts() df = df.sort_index() print df if __...
[ "lkopocinski@gmail.com" ]
lkopocinski@gmail.com
d3bf39bc2723f376e6b3a751ece562baec160cdb
34b9b39442bde1a3c8fa670ef60bcc84d772a067
/Assignment 3- Deadline 10 Oct 2017/Assignment3_step1_Chen.py
5d5e307459540e779670a078ea9fae69efd75b92
[]
no_license
bnajafi/Scientific_Python_Assignments_POLIMI_EETBS
b398fc2754b843d63cd06d517235c16177a87dcf
8da926e995dcaf02a297c6bb2f3120c49d6d63da
refs/heads/master
2021-05-07T22:36:14.715936
2018-01-16T21:12:33
2018-01-16T21:12:33
107,265,075
38
86
null
2018-01-16T21:12:34
2017-10-17T12:24:04
Python
UTF-8
Python
false
false
1,666
py
#Assignment 3_Step1_Chen Matrial_Library={"OutsideSurfaceWinter":0.030,"WoodBevelLappedSiding_13mm":0.14, "WoodFiberboardSheeting_13mm":0.23,"GlassFiberInsulation_90mm":2.45,"WoodStud_90mm":0.63, "GypsumWallboard_13mm":0.079,"InsideSurfaceAir":0.12} #Making it into through insulation part and through the studs Layers...
[ "behzad najafi" ]
behzad najafi
a4d8d6fe0685a57c271fe4c3507e92d10afb7654
14f58c588cbea113188f7220545164400894e40f
/coding_challenge_be/coding_challenge/modules/auth/exceptions.py
20ea789a37cc491117365e3c8ca06a6948b3e831
[]
no_license
janatii/CodingChallenge
f91bea7bf4176a046ccb2ca3eb37a8f1299ad585
c0d7e80b18a56158297175fd789b271fac82a4c8
refs/heads/master
2020-03-28T19:42:22.469802
2019-04-17T15:07:27
2019-04-17T15:07:27
149,001,727
2
0
null
null
null
null
UTF-8
Python
false
false
896
py
class AuthException(Exception): pass class AuthException(Exception): """Base Exception in PxG Auth""" pass class NoAuthorizationError(AuthException): status_code = 403 def __init__(self, msg): AuthException.__init__(self) self.message = msg def to_dict(self): rv = d...
[ "mohammed.janatiidrissi1@usmba.ac.ma" ]
mohammed.janatiidrissi1@usmba.ac.ma
7c36fe2d7a54bc0cf20da4b45ee86c42dcd6bebf
fcbba906a08ef64dd805241446c4dbf4df9829ee
/data/binary_norb.py
24bcd6dbaf96819f59b2275fab80d8cd0f1ff348
[]
no_license
gdesjardins/deep_tempering
7325fa8eca745b5da02203629990424f449b5c73
b51a673ccb16a1f50ea1e1b9707b712ffa3fb934
refs/heads/master
2016-09-05T18:19:40.680063
2013-10-01T14:52:51
2013-10-01T14:52:51
9,759,187
2
0
null
null
null
null
UTF-8
Python
false
false
9,139
py
import numpy import os import time import copy from pylearn2.datasets import dense_design_matrix from pylearn2.datasets import retina from pylearn2.training_algorithms import default from deep_tempering.data import shift from deep_tempering.data.grbm_preproc import GRBMPreprocessor def onehot_encoding(y): one_ho...
[ "guillaume.desjardins@gmail.com" ]
guillaume.desjardins@gmail.com
c1b1470d3c311a14ce3c7720c3bff91c14f7c7cb
92bf1bfccd55ec4acd266cc7eaebecf92ff25e84
/old_version/game/player/field/cells/__init__.py
78e24aa7e87e6f2e40e5dd749b175878e24b4fc2
[]
no_license
SchwIst/sea_battle
9316ce5bcb8e526335d519ce0f99e7832c44b349
66d417db5f791ec2ae0675647ed738de1a01b311
refs/heads/main
2023-05-24T02:53:14.082697
2021-06-13T16:12:36
2021-06-13T16:12:36
369,798,568
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
from colorama import Fore, Back from colorama.ansi import AnsiBack, AnsiFore from old_version.game.utils import Display class Cell(Display): foreground: AnsiFore background: AnsiBack text: str def __init__(self, text: str, foreground: AnsiFore, background: AnsiBack): self.text = text ...
[ "juliachirkova@e1.ru" ]
juliachirkova@e1.ru
53eda65123f75cbc0c9b054254adbbc24827819b
ab3d4a18d7798a9644e8d451f672daee43979344
/users/factories.py
6b707f310cd001abadd736ef13308e10c1b8e1b9
[]
no_license
dingusagar/Motty-backend
62ff11af33d9780458bfd589e88d1323f2b4245f
73b67e1b0b08abb0aefd3aec53b29f63e3651ddb
refs/heads/master
2022-12-10T12:21:37.126704
2019-09-01T15:04:43
2019-09-01T15:04:43
201,797,194
0
0
null
2022-11-22T03:35:37
2019-08-11T17:53:17
JavaScript
UTF-8
Python
false
false
423
py
import factory from users.models import User class UserFactory(factory.django.DjangoModelFactory): class Meta: model = User username = factory.Sequence(lambda n: 'username{0}'.format(n)) first_name = factory.Sequence(lambda n: 'firstname{0}'.format(n)) last_name = factory.Sequence(lambda n: ...
[ "dingusagar@gmail.com" ]
dingusagar@gmail.com
b14a968f1bdab65b69ffcfadaebe88b1686f5764
6c3273f818a80bcd3e191a3b18ff17b4f4ad1795
/app/config.py
2005251d1401583785b7622ad58265f9f8f32496
[]
no_license
Evan-cell/news2
97f4df27ef707e5f9c441f8e9b6a6a3249df4386
420d1c91e70cad75f0f1e04189afa9eae102bb37
refs/heads/master
2023-07-31T22:44:10.309621
2021-09-15T14:02:37
2021-09-15T14:02:37
405,673,120
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
class Config: ''' General configuration parent class ''' NEWS_API_BASE_URL ='https://newsapi.org/v2/top-headlines?country=us&apiKey={}' class ProdConfig(Config): ''' Production configuration child class Args: Config: The parent configuration class with General configuration sett...
[ "60639510+Evan-cell@users.noreply.github.com" ]
60639510+Evan-cell@users.noreply.github.com
d1af5d61788451b164c2775e1b540de2621dfa2a
41948a77843732029a375198509000504e9666c1
/leetcode/dynamic programming/leet_1478.py
6d139753e57b087aa4cbf90aa1b6d2764c22a0f0
[]
no_license
GoogleGu/leetcode
9a3882fe641b67c8494c1598947a4c043802b0dd
8b20a2039f2b1bf2cdb0db3bdc7ab367de3bef9d
refs/heads/master
2023-01-24T14:39:13.791507
2020-12-07T01:58:01
2020-12-07T01:58:01
160,458,177
0
0
null
null
null
null
UTF-8
Python
false
false
1,588
py
class Solution: def minDistance(self, houses: List[int], k: int) -> int: if len(houses)<=k: return 0 houses.sort() n = len(houses) inf = 100*10000+1 # 3-dim dp: # 100 x 100 x 100 # 在前 i 个房子中,放置了 j 个邮筒, 最后一个邮筒的位置是第 l 个房子 answer = [[[inf]*n f...
[ "gyx152540@gmail.com" ]
gyx152540@gmail.com
3b4fd19274236066279027019933a0da6c067b96
c5dd2424d2f430074c070ec76514559788c4e25e
/python/aws/bin/rst2html4.py
83185c4681019e9c11bf1e429494ae9bdb2db7b4
[]
no_license
hardy-devnix/Code
7f23e1cb71c67d12ebd7b62492cd663dadbc4e0a
9e19101801d20ac96d6aa9b45078878504112760
refs/heads/master
2021-07-04T17:17:56.788589
2018-04-29T19:41:39
2018-04-29T19:41:39
129,791,404
0
1
null
2020-07-25T23:48:18
2018-04-16T18:57:29
Python
UTF-8
Python
false
false
736
py
#!/home/hardy/code/python/aws/bin/python # $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing (X)HTML. The output conforms to XHTML 1.0 transitiona...
[ "hardy.devnix@gmail.com" ]
hardy.devnix@gmail.com
0a438569afda9f4a3006043a32bfb60b5ab4827a
3dc3ed0fb0a21e564ba99e12d60df6882741d48b
/gwent/vendor/pygwinc_clone/gwinc/struct.py
2d9c801c1e8e7f6505e3e947f75bf057e75b1f7d
[ "MIT" ]
permissive
xilong/gwent
3afbfaec1fe2dc5909c2f948166ba5287221c0d9
6ee2f7a633c973ea10b450257b1ad4dbd0323738
refs/heads/master
2023-02-25T17:02:55.990422
2021-01-26T15:46:47
2021-01-26T15:46:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,661
py
import os import re import io import yaml import numpy as np from scipy.io import loadmat from scipy.io.matlab.mio5_params import mat_struct # HACK: fix loading number in scientific notation # # https://stackoverflow.com/questions/30458977/yaml-loads-5e-6-as-string-and-not-a-number # # An apparent bug in python-yaml ...
[ "ark0015@mix.wvu.edu" ]
ark0015@mix.wvu.edu
5cf125533c796901753dd003da453d510a873b6f
985a9181f83171e9df88d9dccfba63c9cc2b8ba7
/tools/codegen/api/unboxing.py
29c2662d10127951412d6e96005d2f860199bf06
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0" ]
permissive
Poet-LiBai/pytorch
3c70caa61d245d67820d8d7773bdba45d67986f4
3e10fe323165a94fed66b1487902e8d394ce3be1
refs/heads/master
2022-05-04T18:25:05.419746
2022-04-21T01:48:46
2022-04-21T01:48:46
230,610,878
0
0
NOASSERTION
2019-12-28T13:03:02
2019-12-28T13:03:01
null
UTF-8
Python
false
false
9,299
py
from typing import List, Tuple from tools.codegen.api import cpp from tools.codegen.api.types import Binding, CType, CppSignatureGroup from tools.codegen.model import ( Argument, NativeFunction, Type, BaseType, OptionalType, ListType, BaseTy, ) # This file generates the code for unboxing w...
[ "pytorchmergebot@users.noreply.github.com" ]
pytorchmergebot@users.noreply.github.com
18b01c0bfd6fbefe2c9ab0f5e617a471aeea9967
b5295ecd1df0721471d6ee7f6caad8b46a2bfdda
/polls/admin.py
bed08c496b2e313acf2d2cd3d28611945650c427
[]
no_license
wandiao/testdj
5b1b07fcc26b6303e4e0c25c77283e9e681e42f9
37225d8e204d40297256a7aac71ffb33f6608c08
refs/heads/master
2021-05-08T12:16:02.590440
2018-03-03T06:48:04
2018-03-03T06:48:04
119,920,676
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import inspect from django.contrib import admin import models as app_models # Register your models here. for attr in dir(app_models): model = getattr(app_models, attr) if not inspect.isclass(model): continue try: admin.site....
[ "851298395@qq.com" ]
851298395@qq.com
7eff13e47f67cf955c1ffcc0daa1712304c1e977
2c9ba018be94873c42dc20dd0d83993e87109dd7
/src/spaceone/inventory/manager/ecs/vpc_manager.py
0ba3ea3cae8ff97b34fe1a74966aee0092af4ded
[ "Apache-2.0" ]
permissive
stat-kwon/plugin-alibaba-cloud-ecs-inven-collector
14a516b5c04258c2275d0912cc86840532fb6c6c
4529b0a64443814056916b2cd8b928f76228dc9e
refs/heads/master
2023-07-28T10:58:57.197040
2021-09-15T05:34:04
2021-09-15T05:34:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
from spaceone.core.manager import BaseManager from spaceone.inventory.model.subnet import Subnet from spaceone.inventory.model.vpc import VPC class VPCManager(BaseManager): def __init__(self, params, ecs_connector=None): self.params = params self.ecs_connector = ecs_connector def get_vpc_inf...
[ "sunhyebaek99@gmail.com" ]
sunhyebaek99@gmail.com
1384fc9602f827467726f82f961874289e48c4ae
b1d82c0a332c029fd23e3f94e0d7fa23427b3fd4
/meeting/migrations/0007_google_calendar.py
28e0fc6b8c0750f05cfd516a489b0bb357908542
[]
no_license
cyliang/covart-web
4f09b8d1637371f161293c6adb08b08fec293e2c
acb0316187b408106432fc1fb752176fe6c91024
refs/heads/master
2021-01-01T06:34:44.313464
2018-01-15T06:51:48
2018-01-15T06:51:48
97,454,835
6
1
null
null
null
null
UTF-8
Python
false
false
475
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-12-17 17:36 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('meeting', '0006_no_null_presenthistory'), ] operations = [ migrations.AddFi...
[ "r05944012@csie.ntu.edu.tw" ]
r05944012@csie.ntu.edu.tw
b2ad8e4a1a3de787c96d4f94eed380c0a6db8655
e0b52d79f4f37f12223c5c2855b4c1c5453c6006
/app1/app1/settings.py
6aba98b4594d80eb50023e66de39454f7fd5cd9d
[]
no_license
neoice/django-pki-standalone
2e725f4bd9b7aaf0e1c8d7d1f12b4b648f8a1766
7d4c6448f60ec2facc4cfc4f90feca2ae2656099
refs/heads/master
2021-01-16T18:30:10.499879
2013-05-30T05:22:56
2013-05-30T05:22:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,303
py
# Django settings for app1 project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': '', ...
[ "neoice@neoice.net" ]
neoice@neoice.net
9e846d0796e745e22ad77bb07b4f225c3c8152b6
b708503cd67404b632dd58364648d6a927d042b6
/main.py
1cc8f4904b7cf5ed96d36eafbdd82769e917db8c
[]
no_license
muhasensei/simple_neuron_network
3091be4d221055e4ac8b9d5d248dc60b20bb8a33
fad29de7f306044176faf8a19715ab2033b7c946
refs/heads/master
2023-08-01T03:27:37.076867
2021-09-15T17:30:09
2021-09-15T17:30:09
406,865,795
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import numpy as np def act(x): return 0 if x < 0.5 else 1 def go(car, mambo, handsome): inputs = np.array([car, mambo, handsome]) w11 = [0.1, 0.3, 0]#non-prioritizer w12 = [0.4, -0.5, 1]#prioritizer weight1 = np.array([w11, w12]) weight2 = [-1, 1] hidden_layer_values = np.dot(weight1, inp...
[ "zhanmuha01@gmail.com" ]
zhanmuha01@gmail.com
c2afa61ce5c07ddf58ad8a84d653b702b672e0f7
ba498cea94e8bd449663253c013e610c9c8a2b7a
/meiduo_mall/apps/users/urls.py
68731248cc3efcae63df2af6746f9c806cedb77f
[ "MIT" ]
permissive
love20ai/shangchengxiangmu
ba7221eac0f80b026041bc319f16d3ae776db60c
55ab7f5d2daa59a068255037d2c97d6846115542
refs/heads/master
2020-09-07T13:32:37.695474
2019-12-05T08:51:54
2019-12-05T08:51:54
220,796,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
from django.conf.urls import url from . import views urlpatterns = [ # 1.注册页面 显示 url(r'^register/$', views.RegisterView.as_view()), # 2. 判断用户名是否重复 usernames/(?P<username>[a-zA-Z0-9_-]{5,20})/count/ url(r'^usernames/(?P<username>[a-zA-Z0-9_-]{5,20})/count/$', views.UsernameCountView.as_view()), ...
[ "1466481346@qq.com" ]
1466481346@qq.com
5846553d669043dcb6f317c082cb8cf51f6ea4cc
3353938363622ad12547f18cb89a2f5197788e6c
/src/server/cgi-bin/data.py
9245cb585ee55888589994fbe3b0c9ea1af4ec94
[ "Apache-2.0" ]
permissive
dvaumoron/fourreToutPython
e3c2bd05775753bcfb9eef8f0c5b3c47a35566ec
cb5eafb90609201da804edd068a5bd65d58c2168
refs/heads/master
2022-11-27T00:48:15.241766
2022-11-18T15:12:54
2022-11-18T15:12:54
43,980,132
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
import json def load(): with open("data.json") as f: return json.load(f) def dump(d): with open("data.json", mode="w") as f: json.dump(d, f, indent="\t")
[ "dvaumoron@gmail.com" ]
dvaumoron@gmail.com
9caf626c943383f604df60874358c5a5a2be9ead
3d518e7a29fa28e1e5e9eae26af8ad3f13f23693
/analysis/makeFFTPlots.py
c5310f2a0c443c4e6c8418fe50e184e76c7d8104
[ "BSD-3-Clause" ]
permissive
Betterton-Lab/C-GLASS
544f891d088410ce2f825e9938001b67c8e967f3
ae4ddcb33e177746c5191060b1d511d8fd578b7b
refs/heads/master
2023-08-03T08:37:04.352178
2023-07-25T14:26:47
2023-07-25T14:26:47
266,194,665
4
2
BSD-3-Clause
2023-09-14T02:55:34
2020-05-22T19:46:22
Jupyter Notebook
UTF-8
Python
false
false
1,496
py
#!/usr/local/bin/python from matplotlib import pyplot as plt from matplotlib.colors import LogNorm from matplotlib import cm import seaborn as sns import numpy as np import pandas as pd sp = "100" lp = "100" fname = "soft_pf0.2_sp" + sp + "_lp" + lp + "_condensed.density" df = pd.read_csv(fname, delim_whitespace=True,...
[ "jeffreymm@protonmail.com" ]
jeffreymm@protonmail.com
b40115583eb26337ab79c1dee7c1665a8e0bc712
06c354961b87738a3ddcc193ac20e1070ffe481b
/Q-tables/Maze/maze-env-from-github/gym_maze/__init__.py
e629e7bea838b4323216b2e9cc43b87f80b335ed
[]
no_license
nicolasbdls/AI-Gamer
3e6daffd1228fbd9a277fd512b30799b2e8658a0
c87a2776a4eaa1103c6f7a276b9aa9078a4873c0
refs/heads/master
2022-11-02T05:41:03.443491
2020-06-19T17:33:01
2020-06-19T17:33:01
272,419,607
2
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
from gym.envs.registration import register register( id='maze-v0', entry_point='gym_maze.envs:MazeEnvSample5x5', max_episode_steps=2000, ) register( id='maze-sample-5x5-v0', entry_point='gym_maze.envs:MazeEnvSample5x5', max_episode_steps=2000, ) register( id='maze-random-5x5-v0', ent...
[ "nicolas.barbierdelaserre@epfl.ch" ]
nicolas.barbierdelaserre@epfl.ch
75884e8b02dd6efacf5ba3732eef7fece123ecec
04e38679813f1ba8d8b9543fc99be2dbac966dbc
/node_cluster.py
1375eca76932086c28069ce78f3e1341e8961db2
[]
no_license
TPNguyen/ACMin
158a4d61fb64d3eefb65af2fd441903472e522ca
6de67739e4649d16fd2def9b03bbf3e3f7e18393
refs/heads/main
2023-05-11T21:30:21.794632
2021-06-05T13:37:50
2021-06-05T13:37:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,233
py
######################################################################### # File Name: node_cluster.py # Author: anryyang # mail: anryyang@gmail.com # Created Time: Fri 05 Apr 2019 04:33:10 PM ######################################################################### #!/usr/bin/env/ python from sklearn.cluster import K...
[ "anryyang@gmail.com" ]
anryyang@gmail.com
57c2d5313162d7e0fb6af8774cad77fd69aba20a
efe561ed874450beda6f2ddce40dc44dd9dffa97
/k3s_lcgc/__init__.py
1d95f5bac52cc982529669803d56afaca057abdc
[]
no_license
kahf-sami/k3s_lcgc
e2d55ece08450911b1a9cef53a3c64bfe8945234
c4f8f26a0da094aaba0c9fe8bd492094d38ee77e
refs/heads/master
2021-01-19T23:00:51.425720
2017-05-21T11:44:36
2017-05-21T11:44:36
88,908,937
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
from .topologyProcessor import TopologyProcessor
[ "kahf.sami@gmail.com" ]
kahf.sami@gmail.com
8905e6c7c83c147138c3de73a9df10718c2b5416
387dd4af77f10e741dc00c58a6b607fdcf408839
/src/program_hosts.py
9a4e10680839b7bbe7b47ac6dcb530264359fac7
[]
no_license
Sayantan-Nandy/SnakeMongo
3176ca63bbea265736d813feac8ce88df502821b
139c25b3e64aa54c51a376f01b8c3e8de8d9493d
refs/heads/main
2023-06-08T17:49:04.722467
2021-06-27T05:35:32
2021-06-27T05:35:32
380,526,340
0
0
null
null
null
null
UTF-8
Python
false
false
5,872
py
from infrastructure.switchlang import switch import infrastructure.state as state import services.db_services as svc from dateutil import parser import datetime def run(): print(' ****************** Welcome host **************** ') print() show_commands() while True: action = get_action() ...
[ "sayantannandy2598@gmail.com" ]
sayantannandy2598@gmail.com
658df86a1feb575255d63e56ca2cc25d537a534c
b20942e2ec20f5c31d152cb47490af78e54737f1
/appdaemon/admain.py
6df0de15bec7bee9bc907fbd980c43cd2e4210f8
[ "Apache-2.0" ]
permissive
arraylabs/appdaemon
afaf4a464a4f4ea705f37c296fc78d22aa2d4483
6e6a6cb48dfceebb319507f56ca3dcc68dac456f
refs/heads/dev
2019-07-23T14:11:34.084295
2018-01-30T18:10:01
2018-01-30T18:10:01
111,024,273
6
1
null
2017-11-16T21:27:08
2017-11-16T21:27:08
null
UTF-8
Python
false
false
19,226
py
#!/usr/bin/python3 from pkg_resources import parse_version import sys import traceback import configparser import argparse import logging import os import os.path from logging.handlers import RotatingFileHandler import appdaemon.conf as conf import time import datetime import signal import platform from urllib.parse im...
[ "andrew@acockburn.com" ]
andrew@acockburn.com