blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
109ed03fab482d9afddfcde55fd392d3a3ef54be
7f56f8cdc96119c9b1a61a500a1379bdfef50050
/Poker Genetic Algorithms/pypokergui/ai_generator.py
438cdee3f8766d20d189f616b0117e0f40f441cc
[]
no_license
Caephler/Poker-Bot-with-Genetic-Algorithms
cc8266204001132c34bd0a9f175167645158ed8b
bb245d6436f3519a063b56d2c88ef8bdea3269fc
refs/heads/master
2020-05-04T21:24:16.912790
2018-05-10T19:11:58
2018-05-10T19:11:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
import os import sys import importlib from pypokerengine.players import BasePokerPlayer """Assert passed script satisfies requirements for PyPokerGUI ai-generator script must implement "setup_ai()" method which returns child instance of pypokerengine.players.BasePokerPlayer. """ def healthcheck(script_path, q...
[ "luke.melas@gmail.com" ]
luke.melas@gmail.com
723d1ab3fba8472207d08566888754ff280a6ce1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02622/s420656500.py
ba3844bb33b39a0bd750b8488ba05864255e60b4
[]
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
134
py
s = [x for x in input()] t = [y for y in input()] count = 0 for _ in range(len(s)): if s[_] != t[_]: count+=1 print(count)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f8da6b86e2b0837a6b9d0d2111be91774e6d22d6
3d2bf2c5325f5219516397596e78dcb428df9e35
/bullet.py
2766335441f56b325f2feb040b9231b8d1f5519f
[]
no_license
gabriel-wolf/SpaceInvadersGame
eb583f82a3a1d951aa1a4f2b55232b0c5bf6cc3c
d3892715e98347950d7125f079b43de67fa6707e
refs/heads/master
2020-03-29T20:59:33.117819
2018-09-27T17:09:09
2018-09-27T17:09:09
150,342,933
1
0
null
null
null
null
UTF-8
Python
false
false
914
py
import pygame from pygame.sprite import Sprite class Bullet(Sprite): def __init__(self, ai_settings, screen, ship): super(Bullet, self).__init__() self.screen = screen # Create bullet rect at (0, 0), then set correct position. self.rect = pygame.Rect(0, 0, ai_settings.bullet_width...
[ "36235487+gabriel-wolf@users.noreply.github.com" ]
36235487+gabriel-wolf@users.noreply.github.com
7e244ab332792a43672980b87a943944bae7057d
e2c52b18b28556b0341d655bbef1147c1e3e5da8
/module.py
b9070aad442e5306dda8af4ee5fd74cb65ba28a4
[]
no_license
alitonia/yolov3_face
beb7bc560c0ca96ded1c1aac357e9d2153fcb75a
b50184d8bac2b632c86aec795619199c1627bf61
refs/heads/main
2023-05-05T14:13:15.427903
2021-05-28T02:04:58
2021-05-28T02:04:58
366,279,389
0
0
null
null
null
null
UTF-8
Python
false
false
36,266
py
def module(): from collections import defaultdict from functools import reduce, wraps from keras.layers import (Conv2D, Input, ZeroPadding2D, Add, UpSampling2D, MaxPooling2D, Concatenate) from keras.layers.advanced_activations import LeakyReLU from keras.layers.normalization import BatchNormalizatio...
[ "leehoang2000@gmail.com" ]
leehoang2000@gmail.com
9e1167e783a8f0357376fba4b5d93086d17a121f
fcc7c7486ad52d345b7ee2a9dc1a5d7d562c846a
/template/libcombinations.py
40f57caa91357b91a1e233f642214902b2cb4fc6
[]
no_license
crg-bioinformatics-genomics/algorithm-omixcore
be00c2c5fc2d91dc24c0315cca1b31d4e9a3dc08
b9c5c001eea29c8fd604bbd145c29db913375f95
refs/heads/master
2021-01-12T13:59:28.373393
2020-04-28T10:53:29
2020-04-28T10:53:29
69,257,060
0
0
null
null
null
null
UTF-8
Python
false
false
11,526
py
import libanalysis as la import numpy as np import yaml # hardcoded init values def property_group_init(NO_OF_PROPERTIES, order=False): # import code; code.interact(local=locals()) group_filename = "./scales/scales_groups_ordered.txt" if order else "./scales/scales_groups.txt" group_file_path = o...
[ "alexandrosarmaos@dgkqr098gf1l.crg.es" ]
alexandrosarmaos@dgkqr098gf1l.crg.es
a67038ec535cb5841aead7609ffa231fa96dbaaf
b20cc68d01c8524126c9736c0e71b108b610dd1d
/emulator/python/stackmachine.py
ea4e13976dd6bb4089eb98d8995092bb194fb4b3
[]
no_license
atsmith3/StackMachine
65f803037bbd0c73f44443394fe93d80bf767ff1
6f708dbb346af0064bd8b78a28ca96b81d7cd2e8
refs/heads/main
2023-07-16T07:48:47.642711
2021-09-02T17:56:29
2021-09-02T17:56:29
402,515,585
0
0
null
null
null
null
UTF-8
Python
false
false
3,035
py
#!/usr/bin/python3 import sys import os import argparse class StackMachine: def __init__(self,STACK_SIZE=1024): self.STACK_SIZE = STACK_SIZE self.pc = 0 self.ir_imm = 0 self.ir_optype = 0 self.ir_opcode = 0 self.ir_nzp = 0 self.sp = 0 self.stack = [0]*STACK_SIZE self.acum = 0 ...
[ "atsmith3@illinois.edu" ]
atsmith3@illinois.edu
2d501a8abbc046a412a3ea29e5ba6e32f6b13393
44396c41cd98a85c1592ba60bee3ddcdebf8c24f
/scripts/04-train_explain_final_models.py
1cd49246c4d1daf4539d99904fcb93c62df88dc4
[ "Apache-2.0" ]
permissive
crlero/hidosfaikid-pipeline
ddfb7bc52f3c6af48a326d9af83b85b1999d2a3d
087d4e98cec89850d82406dddcb3094edb2f0d25
refs/heads/main
2023-03-07T18:31:51.853364
2021-02-24T14:30:18
2021-02-24T14:30:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,803
py
import json import numpy as np import pandas as pd import shap import sys from sqlalchemy import create_engine from sklearn.isotonic import IsotonicRegression from sklearn.metrics import roc_auc_score, average_precision_score, matthews_corrcoef, precision_score, recall_score from tensorflow.keras.callbacks import M...
[ "benskov@gmail.com" ]
benskov@gmail.com
2459a9e36605cc5fcd5c22658d970e084179c16b
1ab1484fcc7cc88c13ba4d42d866ba3c35f48402
/maths_plots.py
7e180cf1c6bf6d06a4fd9f01d2abe6f419f8a855
[ "MIT" ]
permissive
anas21-meet/meet2019y1lab6
592892ba6c77ff8d040bfb151640d16e8037789d
dd73f213b98863411474ce842d3961b476523a2e
refs/heads/master
2020-06-21T01:57:24.367295
2019-07-31T11:31:04
2019-07-31T11:31:04
197,317,217
0
0
MIT
2019-07-17T04:50:16
2019-07-17T04:50:16
null
UTF-8
Python
false
false
95
py
import turtle x=0 while x<300: y=x**2/300 turtle.goto(x,y) x=x+1 turtle.mainloop()
[ "anas21@meet.mit.edu" ]
anas21@meet.mit.edu
9325d0f978d23d485287916b9de446aedc1ac833
ea46c0c5851ecf737c9dd040a055d579879cda00
/src/salesforce/salesforceClient.py
74a65d38897813e8f3893380454d8e89a3ecaca3
[]
no_license
jpltechlimited/BDD
4d159756a02589c985e78f057d99be423e4e7575
9987f92732467a654176c50aa02b307f0a493910
refs/heads/master
2020-12-31T22:42:20.953305
2020-02-08T02:58:25
2020-02-08T02:58:25
239,059,687
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from src.commonClient import CommonClient class SalesforceClient(CommonClient): def __init__(self, with_login=False, default_wait_time=10): super().__init__("salesforce", default_wait_time) if with_login: self.__login__() def __login__(self): self.driver.get(self.mainUrl) ...
[ "jose@lozano" ]
jose@lozano
107aaa6770e2f51962dd02dda7ca893d3d38ff58
5eb496f5fd77f1493f3d08b1000fd8d476f367b0
/potnanny_api/apps/setting/api.py
82902de12ec01459c85e3968d3a0f846b21e5f25
[ "MIT" ]
permissive
jeffleary00/potnanny-api
0c1dc34a65a5ca6959a248fc54a8a58ea903b8ec
cb5b5d037b6fd297463633d2d3315c722851161f
refs/heads/master
2022-02-02T10:45:21.090660
2019-07-22T21:27:59
2019-07-22T21:27:59
99,291,379
0
0
null
null
null
null
UTF-8
Python
false
false
4,386
py
import json from flask import Blueprint, request, current_app from flask_restful import Api, Resource from flask_jwt_extended import jwt_required from potnanny_core.schemas.keychain import KeychainSchema from potnanny_core.models.setting import (PollingInterval, TemperatureDisplay, VesyncAccount, PrimitiveWireless...
[ "jeffreyleary@Jeffreys-MacBook-Air.local" ]
jeffreyleary@Jeffreys-MacBook-Air.local
a168bca740029dde6ade381552f1611bcf4d92a4
63cc8c038d0a361ed831135ef76719d68cbf11a3
/Web/Command/ConsultarCommand.py
48bc72e2d33a301c373e82f3fcdc8d276d556adb
[]
no_license
Luiz-HSSD/lab_eng_soft
e868c90bc248d6c8f6037158295e65c30e579639
b892f5fc428d2d67636a3442d0c070b625860f53
refs/heads/master
2021-05-16T17:39:05.533615
2017-09-15T15:05:39
2017-09-15T15:05:39
102,975,617
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from Command.AbstractCommand import AbstractCommand class ConsultarCommand(AbstractCommand): """description of class""" def execute(self,EntidadeDominio): return self.fa.Consultar(EntidadeDominio)
[ "lhenrique_diniz@hotmail.com" ]
lhenrique_diniz@hotmail.com
a5a82460e16a64d4c8bc84e92d1a63a70264a78e
73f9a34bd69aaed7658d41a6f9ceb41030400104
/spotifyrelease/tasks.py
1480d855d7b6193765965452d15c536000922684
[]
no_license
martinfaucheux/Spotify-Release
98d64ae6c8c8534806a404f07e1c076ea538905a
5e8ead326282412db7bf4ee568e03cef733a784f
refs/heads/master
2023-08-30T22:57:39.857026
2021-10-28T04:33:30
2021-10-28T04:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
from config import celery_app from utils.spotify_browser import fetch_new_release_data from .models import Album, Artist, SpotifyToken @celery_app.task(bind=True) def debug_task(self): print(f"Request: {self.request!r}") @celery_app.task() def pull_new_release(): token = SpotifyToken.objects.first() i...
[ "martin.faucheux@manatal.com" ]
martin.faucheux@manatal.com
20b549f692809f3c36be35369593b5decb3c1ef4
7b1a5db0a067766a9805fe04105f6c7f9ff131f3
/pysal/model/mgwr/tests/test_sel_bw.py
856b65aa3b40931bfe9b658f698db76a492733df
[]
permissive
ocefpaf/pysal
2d25b9f3a8bd87a7be3f96b825995a185624e1d0
7e397bdb4c22d4e2442b4ee88bcd691d2421651d
refs/heads/master
2020-06-26T17:13:06.016203
2019-07-31T19:54:35
2019-07-31T19:54:35
199,696,188
0
0
BSD-3-Clause
2019-07-30T17:17:19
2019-07-30T17:17:18
null
UTF-8
Python
false
false
9,038
py
""" GWR is tested against results from GWR4 """ import os import numpy as np from pysal.lib import io import pysal.lib as ps import unittest from pysal.model.spglm.family import Gaussian, Poisson, Binomial from ..sel_bw import Sel_BW from numpy.testing import assert_allclose class TestSelBWGaussian(unittest.TestCase...
[ "sjsrey@gmail.com" ]
sjsrey@gmail.com
99592d880fbc4a1b9c46efe6b6d2efe12bf45549
8fc5875b96f897e8bb42baa9d3c84f22aeb53d9f
/trabalho_final_WEB/settings.py
35da186aa73a3f12bfd24c6668481ecb69453a91
[]
no_license
FelcoCobel/Trabalho-WEB-Final
fa4b0d0e850e9a8c3f6aa066b5a77d11bf9b539f
cefe0b158d9fffc897fdd71e28edec4568b39dd3
refs/heads/main
2023-05-31T02:36:58.079596
2021-06-22T02:58:13
2021-06-22T02:58:13
379,123,800
0
0
null
null
null
null
UTF-8
Python
false
false
3,449
py
""" Django settings for trabalho_final_WEB project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ im...
[ "e00873@academico.emge.edu.br" ]
e00873@academico.emge.edu.br
a65856f84aa0ac10a10082eec367b29baf3e1568
fd9e10e74ce2cf88c025c2d103951318fc27d14f
/lagou/lagou.py
38bfbe0bc17e62bd1a66591f3f5c06c0b5a565da
[]
no_license
zunhai/spider_example
3aeb03e79215dc452e2ba0b5f595ca0af0b18386
3fc0db19df4a700d2ba10bd7f9004c7979b43c6b
refs/heads/master
2021-05-16T16:46:02.698850
2018-03-09T00:41:12
2018-03-09T00:41:12
120,057,598
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
# -*- coding:utf-8 -*- import requests import json from urllib.parse import quote from config import myheaders from bs4 import BeautifulSoup from savedata import myexcel class myspider(object): def __init__(self,mykey,mycity): # 自定义一个变量self.i,代表Excel表格的行数 self.i = 1 self.key = myk...
[ "18595456925@163.com" ]
18595456925@163.com
c2e5a132ed6e231e8b918034a9fce397472e762e
b903853b18ae82c377c1cb397cb6f1eaebc012cc
/EndOfPythonDrills/webGenGui.py
f0f4326df24ec53c97ea82b9d722d48aecc5a50c
[]
no_license
joyzoso/Python
74ac9eaefb7aed9bedd5f76c6f789de0e9d6a894
f65488aadf2bd175d66829b531849f20cbf83dfd
refs/heads/master
2021-01-11T11:21:13.441015
2015-09-29T17:24:42
2015-09-29T17:24:42
40,328,746
0
0
null
null
null
null
UTF-8
Python
false
false
2,398
py
from tkinter import * from tkinter import ttk from tkinter import messagebox import os import webbrowser class webGen: def __init__(self, master): master.title('WebGen') #master.resizeable(False, False) master.configure(background = '#A36666') self.style = ttk.Style() ...
[ "joyrockon@gmail.com" ]
joyrockon@gmail.com
b41ba3a6a31fab6c7ed42dd38ecc6821786344d5
a7685d315e6616cc2b6d43587bb19ead4324fb2a
/cci_mailchimp/wizard/extract_results_advertising.py
4a5fc3227990c4926d43be7d42084fc091237cd3
[]
no_license
philmervdm/modules_cci_odoo8
472ea68de409e876722413afdd873d6a7827744e
603144219a86e805f7603cfafc0fb05a78166eef
refs/heads/master
2021-01-09T20:02:58.326569
2017-05-06T15:45:03
2017-05-06T15:45:03
60,332,279
2
2
null
null
null
null
UTF-8
Python
false
false
13,732
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "philmer@ccilvn.be" ]
philmer@ccilvn.be
6faf4908d5c3979af37ef8bc0948cb5800b077df
dc06cf1af6e840d890671e7476a9cfe86b7dd493
/test_model.py
a9c7ebb5835a8d15ec38ce74cd45ba33c64d4b84
[]
no_license
wojdzi1607/image_embeddings
b1efdb42e53ebdd143f78a2960e1c4a3d8511766
90a058bd8a9e439747b56d41133c0f2531f50325
refs/heads/master
2023-04-25T20:13:45.039746
2021-05-27T11:27:12
2021-05-27T11:27:12
357,494,523
1
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
from knn import * from inference import write_tfrecord, run_inference import cv2 import time import random import warnings import tensorflow as tf from pathlib import Path from tensorflow.keras.applications import MobileNet from efficientnet.tfkeras import EfficientNetB0, EfficientNetB1 warnings.filterwarnings("igno...
[ "razor8945235@gmail.com" ]
razor8945235@gmail.com
b90b160a985fac029b28bad5fe6c41cf6795d98a
bcd33ba045b68fe6fba6f7a3a8fd95124106ac16
/romme/conversion.py
501ea9747122bf111e23ac7487806e872ca6d813
[ "MIT" ]
permissive
bfontaine/Romme
43d9ba2f6cd09f7b24f8916b121854521009cdd0
affdfb23a6bb882c17da95ec3767710d5bebd59a
refs/heads/master
2021-03-27T12:29:13.329232
2017-06-10T19:42:30
2017-06-10T19:42:30
93,895,352
0
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
# -*- coding: UTF-8 -*- import jdcal # These constants as well as the calculation below are based off PHP's # SdnToFrench and FrenchToSdn functions in ext/calendar/french.c: # https://github.com/php/php-src/blob/6053987/ext/calendar/french.c _DAYS_PER_4_YEARS = 365 * 4 + 1 _DAYS_PER_MONTH = 30 _FRENCH_JDN_OFFSET =...
[ "b@ptistefontaine.fr" ]
b@ptistefontaine.fr
204497fb50262cb562540f83828f70204e159bf3
cd5af87b9554046788f960567b9a356038479f1a
/profiling/errors.py
623ea390675495f36d188fad4c11a4e002aa094e
[ "MIT" ]
permissive
Normatica/python-profiling
50de379d4e05c1341b97a231fa04c91c8efd0526
6980993abd0b677b3a5302da0cf61a1a10312270
refs/heads/master
2020-06-27T03:14:44.115514
2015-12-23T20:54:42
2015-12-23T20:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
class ProfilingException(Exception): pass class ConfigNotFound(ProfilingException): pass class ConfigInvalid(ProfilingException): pass
[ "laurentluce49@yahoo.com" ]
laurentluce49@yahoo.com
8267f6160a70f0ec6944ba29ff3452eaa44e3504
7076a0f7f2cca6d2d6ab3cf0db11b5e25b30b857
/Message.py
463e12e6a56a763dd95f6a7335a060272f6b67d7
[]
no_license
ikanani/IoT-Auth.-Project
1d53bb2d0f136fd431f4f79850a9eb90996541f2
015dc9112d8dda92b9f6c0d0cd2209785e61663d
refs/heads/master
2023-05-09T05:08:50.969002
2021-05-25T03:01:17
2021-05-25T03:01:17
370,545,706
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
class Message: def __init__(self, messageType, resource, issuer, subject, originalRequester=0): self.messageType = messageType self.resource = resource self.issuer = issuer self.subject = subject self.originalRequester = originalRequester
[ "ijkanani02@gmail.com" ]
ijkanani02@gmail.com
dc4bd84707a8dd1a39545ab1b8da4de638d51831
6e17016e71e6a09bf44a4286b12383bd829ed02c
/tf-idf.py
25f708c8bb05082ef179f29f40daac7f6941cce2
[]
no_license
kazuyaYX/classification
0292c8e27844819875e4190a44d7b8f463b0de54
d7e54cad0bd307eb32937ced9c7a392a447dfcf3
refs/heads/master
2021-08-06T16:15:50.499733
2017-11-06T12:39:31
2017-11-06T12:39:31
105,126,963
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer corpus = [ "我 来到 北京 清华大学",#第一类文本切词后的结果,词之间以空格隔开 "他 来到 了 网易 杭研 大厦",#第二类文本的切词结果 "小明 硕士 毕业 与 中国 科学院",#第三类文本的切词结果 "我 爱 北京 天安门" ] vectorizer = CountVectorizer() trans...
[ "554810625@qq.com" ]
554810625@qq.com
ea8181be3486f3495b71aed3582a1cd0ce049fb5
412d0f01ab87c6b1e96f5f8afc263a3c33188b2f
/plots/fps_bar_chart.py
1b735fc4f4b009283bc7ea4997f878756bc13cae
[ "MIT" ]
permissive
neevparikh/sample-factory
7e48a8b4c7d0b534642bd90d28e66677f03b715e
1b57647a231359ed6794db72bcc39b4ebb01b39e
refs/heads/master
2023-03-16T05:15:05.945225
2021-03-09T02:28:03
2021-03-09T02:28:03
290,346,928
0
0
MIT
2020-08-25T23:36:01
2020-08-25T23:36:00
null
UTF-8
Python
false
false
1,909
py
import math import matplotlib.pyplot as plt import numpy as np import seaborn as sns sns.set() labels = ['20', '40', '80', '160', '320', '640'] # fps_by_method_10_core_cpu = dict( # deepmind_impala=[8590, 10596, 10941, 10928, 13328, math.nan], # rllib_appo=[9384, 9676, 11171, 11328, 11590, 11345], # ours...
[ "petrenko@usc.edu" ]
petrenko@usc.edu
91c97f5a62706fe1792ef5a71274a03bd1a97403
ad42579e5e13ada6122f55f6fa877c1b08e620f0
/settings.py
e17795dc47e818f2136b05ab0492d87c693e33f1
[]
no_license
Gyramuur/alien_invasion
46308db50e54c08f851a84f9aca241f1a9b44cc4
e7539c6e97c698380125b496906e71f0a807cd22
refs/heads/master
2020-12-30T23:46:39.239939
2017-03-29T14:11:01
2017-03-29T14:11:01
86,590,041
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
class Settings(): """A class to store all the settings for Alien Invasion.""" def __init__(self): """Initialises the game's settings.""" #Screen settings. self.screen_width = 1200 self.screen_height = 800 self.bg_colour = (230, 230, 230) #Bullet settings self.bullet_speed_factor = 1 s...
[ "noreply@github.com" ]
noreply@github.com
cd99c5c4b1cb47999230fedf11bf9d56d4b14c76
bd5f807161da0a9d3f6f8c5c3b4da073545eaafc
/day_1/print_function.py
86260c5a4cb8249a92687577759a3a34cc0eb9c8
[ "MIT" ]
permissive
anishLearnsToCode/python-workshop-7
a6a497ddb6cf41a2097ac976426710ca4aa41987
2d5933be2629600f5f9e8efea58403421737a299
refs/heads/main
2023-02-07T21:00:01.308260
2020-12-27T08:22:14
2020-12-27T08:22:14
323,645,763
5
0
null
null
null
null
UTF-8
Python
false
false
131
py
print('i am batman', end='\n') print('hello world', end='\t\t') print('this is cool\n', end=' ----- ') print('i am still here')
[ "anish_@outlook.com" ]
anish_@outlook.com
74b20f52d9a21dc8809ac896bb4554477c963bc4
1e422814402b5d10a1e19183e4587ab2b2557ad1
/Customer churn prediction using ANN/Customer churn prediction using ANN.py
a1b15c7b224cf03c5003a23f7350f78cdce4680a
[]
no_license
cashgupta6/DeepLearning_Projects
be1ea498c655451201da7200653ad9e7ac14c174
717063e3794751041acdae09212a71bcb2e773a8
refs/heads/main
2023-08-19T10:53:57.118676
2021-09-27T16:00:32
2021-09-27T16:00:32
410,481,250
0
0
null
null
null
null
UTF-8
Python
false
false
4,583
py
# -*- coding: utf-8 -*- """kaggle.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1wLR3EGV30o4HYiskVgCEZN9C1F48Lq12 """ import tensorflow as tf from tensorflow import keras import matplotlib.pyplot as plt import numpy as np import pandas as pd im...
[ "noreply@github.com" ]
noreply@github.com
9dc4f4ab4cbabe17c77513655e924c5660d809e4
142fb95bb876358fd140d136b02dd367ca57625e
/meiduo_mall/meiduo_mall/urls.py
a176ddfbaa919fa7b863b1f21977fca7caf1405b
[]
no_license
Axiejinhao/meiduo
368acc6d5eadd125ce8efad1a29722f1b11e63ef
1c27ceb06646dfc2eb82d07314628309b840b674
refs/heads/main
2023-08-30T02:11:13.270316
2021-11-11T02:24:26
2021-11-11T02:24:26
411,567,031
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
"""meiduo_mall URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "xjh9836@gmail.com" ]
xjh9836@gmail.com
edab93621da1a81d1c34608c0856e9dd32a631bf
96bd99d1d3845be6e907ade4f966b26c0181c7ff
/comm/comm_api.py
f9e60b63bccc6b1987ffee83f6ffc84b830d5c07
[]
no_license
Lkamanda/ui_aut
ec3a66309472408fa038d85c5ca6011cf2830509
a2e1063e4109fea93b147458c7d9c9f1d1cabec8
refs/heads/master
2020-06-15T05:47:39.910846
2019-07-26T08:14:18
2019-07-26T08:14:18
195,217,751
0
0
null
null
null
null
UTF-8
Python
false
false
5,198
py
# 客户端连接 appium from log.logger import mylogger from comm.element_error import element_error ,element_error_main_chat from element_api.android_element.setting_city_page_elements import * from config.myconfig import myconfig # def get_desired_caps(mobile_config): # desired_caps = {'platformName': 'Android', # 手机类型 #...
[ "1599200510@qq.com" ]
1599200510@qq.com
9a2222854f5cf34881162cdee222723b8dd7793d
c8c855a6ebb3b3101e5c3a80b94514c36b103495
/semana_3/Calculadora.py
677552a81732c0ddcb86782beae94726fe52561a
[]
no_license
K-A-R-L-A-Robles/poo-1719110219
835965c0e3100c9d6770678eb67920945942fa80
7d1fc57cd4157e5b52a153210311821d8290144d
refs/heads/master
2022-11-03T04:54:42.675869
2020-06-15T03:46:42
2020-06-15T03:46:42
265,970,361
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
class calculadora: "atríbutos" signos=30 botones =30 baterias= 2 led=1 carcasa=1 #métodos def encender(self): print("encender") def apagar(self): print("apagar") def __init__(self): pass class casio(calculadora): #atríbutos color="gris" longitud= "15cm...
[ "replituser@example.com" ]
replituser@example.com
b526cd00712b1e789f4b21a256e0942eb34f98d9
f393c8acd92fa4f8991b809cfd9e2828dc1414b2
/tests/xlfunctions_vs_excel/xnpv_test.py
e8162511ea3f0ab6bcfa961932b8dd5d23159c91
[ "MIT" ]
permissive
ffranchina/xlcalculator
0207fdce09d1fc02d525cf9fdc62b5833b6792a9
a7927c3c88e9b8c64a384d97a204dfc5494d4127
refs/heads/master
2023-01-28T22:06:21.089115
2020-12-12T01:22:49
2020-12-12T01:22:49
344,490,380
1
0
NOASSERTION
2021-03-04T13:50:41
2021-03-04T13:50:40
null
UTF-8
Python
false
false
302
py
from .. import testing class NPVTest(testing.FunctionalTestCase): filename = "XNPV.xlsx" def test_evaluation_A1(self): excel_value = self.evaluator.get_cell_value('Sheet1!A1') value = self.evaluator.evaluate('Sheet1!A1') self.assertEqualTruncated(excel_value, value)
[ "stephan.richter@gmail.com" ]
stephan.richter@gmail.com
bf1afee2dc7d18d07c5d3a4034c862ab733f903e
fdd8e908cb75e3b7c96b4a609e75e536c225e4eb
/Lab_Quiz/maze_nb.py
f7f4587fdef4254186129f93cf8cdb7de619488b
[]
no_license
edgeworthZ/first_year_log
bbaef850a1ccb2a0e3da63461aefc23bf4de19c8
fba2ecf8c0b1a825f1f77b069a2063ce02880394
refs/heads/master
2022-03-06T03:49:47.072042
2019-10-28T13:11:36
2019-10-28T13:11:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
def printMat(A): for r in zip(*A): print(*r) def diag(x,n,si,sj): vectorX,vectorY = 1,1 if (si+sj)% 2 != 0: pattern = reversed(range(len(x))) else: pattern = range(len(x)) for i in pattern: if -1 < si+i*vectorX < len(x) and -1 < sj+i*vectorY < len(x[0]): ...
[ "noreply@github.com" ]
noreply@github.com
c309e2a9864cd30be5529887936b2601507ea206
d4a758acf7ec3a302530a942f5db71ad8a6580d4
/PlaylistGenerator.py
bccc167542f4cc3cdc90f35e0e09841b958c3af9
[]
no_license
jordanMcCarthy/PlaylistGenerator
f2e0e09c031e2ccf29773afd68dd2090f9e4714e
78ad64e26ef66b1155f7ec14a21c9d78ab38bee4
refs/heads/master
2020-06-05T14:49:04.909115
2019-06-18T04:16:17
2019-06-18T04:16:17
192,463,862
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
import sys import spotipy import spotipy.util as util if len(sys.argv) > 1: username = sys.argv[1] else: print("Usage: PlaylistGenerator.py [username]") playlist_name = "Spotipy" token = util.prompt_for_user_token(username, scope="user-top-read") tracks = [] if token: sp = spotipy.Spotify(a...
[ "noreply@github.com" ]
noreply@github.com
cb35a80cad26f45045e6338012de772df07d6b6f
ce11af680a3248064fcd160160814fb33bbd0f57
/git.py
d76d45d53abd52fb27e82b5f5f515cd5c3305ba6
[ "MIT" ]
permissive
IotaSpencer/shell-scripts
75ea8d42c12ba6d132adefaa3f6e035b8b91fc0f
b63958c52afec62729d643d4043ba2cf7d25c1d6
refs/heads/master
2021-01-19T00:52:03.408373
2017-10-29T22:59:13
2017-10-29T22:59:13
39,930,192
0
1
null
2017-10-29T22:59:13
2015-07-30T03:52:18
Python
UTF-8
Python
false
false
2,685
py
#!/usr/bin/env python2.7 # PYTHON_ARGCOMPLETE_OK # -*- coding: utf-8 -*- # # pygit # # Copyright 2013 Ken Iota Spencer <ken.spencer20@ymail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Founda...
[ "iota@electrocode.net" ]
iota@electrocode.net
b36fde109fd9899c304cab1ea4e397ebd906d056
36de1a76576ee92faa6ba47514836ba618355d7b
/main.py
d6aa64bf37796b703b266cc2ff86401671e9f5da
[]
no_license
RamonPeek/SleepRobotEpilepsy
0f41cf93d11190c8f1923d5bdee6e480d7bc63da
eb0ae845a6eed63bb426e78c81f160b40693b4e2
refs/heads/master
2023-07-15T17:46:02.159835
2021-09-02T09:49:39
2021-09-02T09:49:39
401,993,077
1
0
null
null
null
null
UTF-8
Python
false
false
3,398
py
import aubio import numpy as num import pyaudio import sys from AppState import AppState import time from pydub import AudioSegment from pydub.playback import play BUFFER_SIZE = 1024 CHANNELS = 1 FORMAT = pyaudio.paFloat32 METHOD = "default" SAMPLE_RATE ...
[ "ramonpeek@hotmail.com" ]
ramonpeek@hotmail.com
c6bb2dcd097258b5e3502da8567c60c8a6294006
e2d73d70570178387c1febfad2fa8c38f3fc5242
/chap4/05.py
905955178d94e6cd297a3e4530d2e477483314ea
[]
no_license
shun998/crawler2
3f4e0a1f540074a493ff190b18d44ed9398d759b
b11c49c00cdee6bb3e1f367f3aecc78c3b0768a7
refs/heads/master
2023-06-20T01:27:31.398628
2021-07-17T01:15:02
2021-07-17T01:15:02
384,859,202
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
# -*- coding: utf-8 -*- # TODO 协程 # @Date : 2021/7/11 13:59 # @Author : layman import time for i in range(10): time.sleep(1) print(i)
[ "2290860614@qq.com" ]
2290860614@qq.com
2fa5487c9c26c2913518898e24ed2e479262961c
f6f16a05d679e85e0ab2c1d188e32ab7cdf42f08
/1.py
0e4b1171d0b199244b8c4bafd5310e93899ee4b6
[]
no_license
max644/matasano
a1b3c1195e8517af82a1f1210654fd0726bb874e
70e72ffdd49df9fbf2e46e726de9b1ffabfe849a
refs/heads/master
2022-11-28T21:32:27.292448
2020-08-04T07:54:33
2020-08-04T07:54:33
284,913,042
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
import utils B64_CHARSET = ('A', b'B', b'C', b'D', b'E', b'F', b'G', b'H', b'I', b'J', b'K', b'L', b'M', b'N', b'O', b'P', b'Q', b'R', b'S', b'T', b'U', b'V', b'W', b'X', b'Y', b'Z', b'a', b'b', b'c', b'd', b'e', b'f', b'g', b'h', b'i', b'j', b'k', b'l', b'm', b'n', b'o', b'p', b'q', b'r', b's', b't', b'u', b'v', b'w'...
[ "max644" ]
max644
010d835db31f6a76e42a04916bd4a4af607762b4
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D08B/COMDISD08BUN.py
100dbc7a1d02e66ba3a3780d0077c6f131fd407a
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,035
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD08BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'RFF', MIN: 0, MAX: 9}, {ID: 'DTM', MIN: 0, MAX: 9}, {ID: 'CUX'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
a0cb32621bf7159b4a8a39ff87bbc9ff60aed77c
3981f282036eb4adbc670877565c82a9ac9e0279
/serverless/GetData.py
35902edfa212c0beabaa2da7a3dabb61ff71483c
[]
no_license
sofiaisha/aws-alexa-talks
70b0b3e33c8a314d76e5b8fad0d5f965d75b4950
ff1918901a57985ad93d8639ca846b8b16c241ac
refs/heads/master
2020-04-07T15:39:33.236795
2018-10-22T08:28:47
2018-10-22T08:28:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,474
py
import boto3 import json import logging import decimal from boto3.dynamodb.conditions import Key, Attr from botocore.exceptions import ClientError from datetime import datetime, timedelta from dateutil import tz import time logger = logging.getLogger() logger.setLevel(logging.INFO) dynamodb = boto3.resource('dynamod...
[ "boazz@amazon.com" ]
boazz@amazon.com
dc83a61491aaa7474ca75f5417cccf54a741e2a2
1f7d287ef90041e20468513a26a39e1f3d221289
/Level-2/s18/guvi-L2-s18-py06.py
21f5db26fcc71bb3aa20c4faae14685578b46595
[]
no_license
ksthacker/python
d787d69f954c0e9b59b0cc96a8b8fc5c0594d8a0
3a3775e1b9349e313f8c96ea11eade54a7e9bf54
refs/heads/master
2021-04-27T16:32:40.923316
2019-08-21T04:50:22
2019-08-21T04:50:22
122,303,461
0
17
null
2019-10-03T14:59:51
2018-02-21T07:09:32
Python
UTF-8
Python
false
false
262
py
import sys, string, math s1,s2 = input().split() dic1 = {} dic2 = {} for c in s1 : dic1[c] = dic1.get(c,0) + 1 for c in s2 : dic2[c] = dic2.get(c,0) + 1 #print(dic1,dic2) if dic1.keys() == dic2.keys() : print('true') else : print('false')
[ "noreply@github.com" ]
noreply@github.com
dafbc6f303cb54a88a957ad7b6ca81fe72a58dcf
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/raw/GL/VERSION/GL_4_0.py
e71cd5aca4e802fb6dbe967d20d16fbe9ccabd69
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
11,207
py
'''Autogenerated by xml_generate script, do not edit!''' import ctypes from OpenGL import platform as _p, arrays from OpenGL.constant import Constant as _C # End users want this... from OpenGL.raw.GL import _errors # Code generation uses this from OpenGL.raw.GL import _types as _cs _EXTENSION_NAME = 'GL_VERSION_GL_4_...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
d6938327087879a9f4238e51bda9ed19d1500dd6
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03261/s340412788.py
5a6e7ab12a4f437b7b0e143245721a1a5d7f2d38
[]
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
272
py
def resolve(): N = int(input()) W = [input() for _ in range(N)] if len(set(W)) != N: print('No') return for i in range(N-1): if W[i][-1] != W[i+1][0]: print('No') return print('Yes') return resolve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c3f5696f06cd59d4e5f8d9192c601c4b8bebafd2
9bc6179be0043b541a0db39c79118c3a9def94da
/shutterbug/shutterbug/wsgi.py
ae629fda196f9cea5c5af0191e75be650e8d859f
[]
no_license
rajkumar-009/shutterbug
70013702297c58ce29412050016245ea17bca9af
0266d76e09ab6146398f1ab189dde16b31fe17b9
refs/heads/master
2023-06-20T03:16:10.736714
2021-07-17T22:21:54
2021-07-17T22:21:54
387,045,214
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for shutterbug project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SE...
[ "rajmummies@gmail.com" ]
rajmummies@gmail.com
3baff7548c2871fe70a18e5ad3f7bbddcd622e95
b97e9a9bf84c7ef120a44c425c42610c66c54574
/jobparser/spiders/hhru.py
754721d8c7a3a1231c802714753ae66debf3f0fd
[]
no_license
po-stas/GB_scrapy
30a4f284a3142d69a937f4132ef84f5058ce6d71
398742685692e02aaf0db9e6ce1f8c8cb6ad1c15
refs/heads/master
2020-11-28T12:12:23.967200
2019-12-27T05:35:48
2019-12-27T05:35:48
229,809,918
0
0
null
2019-12-27T05:41:11
2019-12-23T19:17:48
Python
UTF-8
Python
false
false
1,227
py
# -*- coding: utf-8 -*- import scrapy from scrapy.http import HtmlResponse from jobparser.items import JobparserItem class HhruSpider(scrapy.Spider): name = 'hh.ru' allowed_domains = ['hh.ru'] start_urls = ['https://hh.ru/search/vacancy?area=1&st=searchVacancy&text=python&page=0'] def parse(self, res...
[ "pologrudov@gmail.com" ]
pologrudov@gmail.com
09b921d014f55ec6fa43fd8be2760069158bd007
31aa30db1c4ee195deb9a0e1e23835c845407c79
/czxy/login/forms.py
5427a3661805bf9425f01166afe0c94e5cc49daf
[]
no_license
tianting12/spider
f18ca229d5dcb5fa68647d7cfee2fbd4ba8048d0
c1aedea1fd498326910e29d9c8258fd5688cf0e9
refs/heads/master
2022-12-17T18:09:02.131969
2020-09-10T11:58:03
2020-09-10T11:58:03
259,941,992
2
0
null
null
null
null
UTF-8
Python
false
false
975
py
from django import forms class UserForm(forms.Form): username = forms.CharField(label='用户名', max_length=128, widget=forms.TextInput(attrs={'class': 'form-control'})) password = forms.CharField(label='密码' ,max_length=256, widget=forms.PasswordInput(attrs={'class': 'form-control'})) class RegisterForm(fo...
[ "1162467606@qq.com" ]
1162467606@qq.com
182d2168262ec7674c8bf4e751a64e9843fc0a4d
9608f41ba6eb30fdae5c93d3265d280b4901046d
/course-2/session-4/class_hierarchy.py
08bf7103d46cebe076436fe06f0165985f56c65b
[ "MIT" ]
permissive
robmarano/nyu-python
3d498aed5bdca5ff6cf3c8d1b5021ac570542829
4406f157e6d6a63e512ed1595f56dcb65c5d8526
refs/heads/master
2021-01-25T09:10:56.243372
2017-08-12T20:09:32
2017-08-12T20:09:32
93,797,311
2
1
MIT
2020-05-18T00:31:15
2017-06-08T22:38:10
Python
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python3 class Shape(object): def __init__(self, edge_length=1): self.edge_length = edge_length @property def edge(self): return self.edge_length # def __str__(self): # to_string = 'edge_length = {}'.format(self.edge_length) # return to_string class Triangle(...
[ "robmarano@gmail.com" ]
robmarano@gmail.com
7bb0b9509db055c53732ac141dd5e0394c6ef70b
2c3f13857d4a915410de5ac9547745eb2769db5f
/eval/e43/compare_text.py
87358093ffb7d43d225e9232d6c758060c29fa51
[]
no_license
andrewhead/StackSkim
43a4cf769645bb70202075f8077fa4d5d7be2a4b
9ac11705ff82aa978d1a87177059e665f4e5ebef
refs/heads/master
2020-06-03T16:15:15.127268
2016-01-16T17:16:36
2016-01-16T17:16:36
50,692,945
2
0
null
null
null
null
UTF-8
Python
false
false
1,056
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import logging import codecs logging.basicConfig(level=logging.INFO, format="%(message)s") def main(): with codecs.open('javascript_text.txt', 'r', 'utf-8') as js_file: with codecs.open('beautifulsoup_text.txt', 'r'...
[ "head.andrewm@gmail.com" ]
head.andrewm@gmail.com
c02916351b0a45c5a075f10e2e989ca093eba8d2
8364fe0b387a4b17af4e4245cf127c4bd1ccb20e
/Assignment_code/functions.py
1fc886d0b134e32db5bc6d98637fada27eca284d
[]
no_license
Snoeprol/stochastic_simulations
6f4d9dda5c75582ef3d955dc257e5453e95f7ffa
477af75a234b642e812d8c4f419f8cad3494dc34
refs/heads/master
2023-02-02T16:14:05.836716
2020-12-18T17:13:29
2020-12-18T17:13:29
307,722,817
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
def Zn_1(z_n, c): """Calculates next step for a candidate in Mandelbrot set""" return z_n ** 2 + c def sim(c1, c2, lim): converger = 0 z = 0 c = complex(c1, c2) while converger < lim: z_n1 = Zn_1(z, c) if abs(z_n1) < 2: z = z_n1 co...
[ "noreply@github.com" ]
noreply@github.com
6ae04b9881d62f364e49e6dc106b608162252c30
5a1bae210f8b7591acb55c9a46a0dace31e0d614
/app/resources/cast.py
440fc26d8072e2be1d992ec33c8c817e6107f75d
[]
no_license
christian-de-ornellas/catalogMovies
52fb1d2bd8e9e0685a0c74e841f8fa57a7b841f9
34529a00cb4dd077297072a2c26b2820e43ae100
refs/heads/master
2020-05-06T15:19:50.470390
2019-04-08T17:12:32
2019-04-08T17:12:32
180,184,398
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
from flask_restful import Resource, marshal from app.models import Cast, Movie from app.schemas import casts_fields, movies_fields, resource_fields from app import request, db from app.decorator import jwt_required class CastRouter(Resource): def get(self): casts = Cast.query.all() return marshal...
[ "christian@orientme.com.br" ]
christian@orientme.com.br
f5379b0a2aa5adf45b6064351c1d5525c316e9c9
b80a081fc1045e1effeae97a9e90c87494e70dc3
/earnings_vis.py
297e69b306946dcf1ea0be4a3397501eb153a146
[]
no_license
docon92/return_tracker
ca64c2a85d5a96c3ff222d250c7c9c74d2eebe12
18a081679f3055d42b49d93af3c1139b168e8dec
refs/heads/master
2023-03-01T23:11:46.693781
2021-02-14T00:20:32
2021-02-14T00:20:32
289,609,081
0
0
null
null
null
null
UTF-8
Python
false
false
3,793
py
# ------ earnings_vis.py ------------ #Pull TFSA, RRSP Data from an Excel spreadsheet and visualize contributions, earnings, etc. import numpy as np import matplotlib.pyplot as plt from matplotlib.dates import DateFormatter import seaborn as sns import pandas as pd import openpyxl import mpld3 from mpld3 import plugin...
[ "conover.doug@gmail.com" ]
conover.doug@gmail.com
acf0ea73971ed1ae521b37f7efbcb5ada8b1a3f1
78f49bb88404a9258caf5b3ac6e6417e0a9f3058
/TimeToPractice4/2_odd_number.py
2eb182af0fcaf9011e55067ad7a2d3821a288428
[]
no_license
Lekuro/python_core
b3d240c4649d97a3f89468adce2b7c4031c69287
696013090820e3e9b8d2d7b24f8a5a8d5bee7572
refs/heads/main
2023-02-11T14:24:11.654437
2021-01-09T14:40:13
2021-01-09T14:40:13
318,255,929
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
n = 101 for i in range(n): if i % 2 == 0: continue print(i, end='_') print() for item in range(1, n, 2): print(item, end='_') print() print(list(range(1, n, 2))) print([i for i in range(1, n, 2)])
[ "lekurot@gmail.com" ]
lekurot@gmail.com
418531f55c7ab66d94f01aeca3a0a5e79f077eb0
c6bc4ec1a4f8152cd30fe2ce52c9673df5cebc38
/OO-numberGenius.py
eee96b7744c33eed3beb8782a1d29d407270c5a1
[]
no_license
BillYuga/Number_Genius
7ede3770832ff4f510a4920e942efdfd440205e1
63d1ce9cba64937aaadc5fb7c4785d3cc9ac3d5e
refs/heads/master
2021-05-02T12:37:32.978198
2016-10-03T17:31:41
2016-10-03T17:31:41
54,766,948
1
1
null
null
null
null
UTF-8
Python
false
false
610
py
# Object oriented number Genius class user: def __init__(self,name): user.name = name user.score = 0 user.points = 0 user.gamesPlayed = 0 user.gamesWon = 0 def makeFile(self): with open(user.name+".txt", "w", encoding = "utf-8") as userInfo: userInf...
[ "billyuga37@gmail.com" ]
billyuga37@gmail.com
3d944aac3ebd457c4905cdf68e82d66cda632505
b277ff2dfdb4cab38b129f5dad99b16106bc38c7
/pywpyw.py
19be1ba77c25939446c1b39ba546609243b91ee1
[]
no_license
dwerle/PywPyw
176c6f7ba964b367ee372fd1dfb436d59fb55ffd
577080b0fdfec72c922a6f10f3a19dc6cd36e825
refs/heads/master
2020-05-29T21:02:40.363963
2015-07-12T09:30:46
2015-07-12T09:30:46
38,956,481
0
0
null
null
null
null
UTF-8
Python
false
false
9,915
py
#! /usr/bin/python3 from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5 import * from xutil import * import subprocess import itertools import functools import math def regular_divide(rect, cols, rows): dx = math.floor(float(rect.width()) / cols) dy = math.floor(float(rect...
[ "dominik@dbsw.de" ]
dominik@dbsw.de
9deb933676e6f8022a6d68c76123cb045891c191
672d535e7586289873fd5167bd9888383aff02e4
/src/chapter_10/file_writer.py
05d3024a8efc186caf79a788cbcce915c16e552a
[]
no_license
CatchTheDog/python_crash_course
889fd151323e48dfbc6754b86132aad3f1d37856
148eda5eb96c501060115aad0bfd6e15ccd04c37
refs/heads/master
2020-03-29T22:06:32.015096
2018-09-29T02:36:51
2018-09-29T02:36:51
150,402,932
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
file_name = "..\\test_files\\programming.txt" with open(file_name,'a') as file_object: file_object.write("I love programming!\n") file_object.write("Yes,you are!\n")
[ "1924528451@qq.com" ]
1924528451@qq.com
48e3612a39dba70784f10c5924b6252b48f700f5
5ad905f26791ed86581da3a7fb1f934c739b59a3
/text2morse.py
0731ee0ddc3d61e169d8bdd34f3ad3af480528d4
[]
no_license
stawel/stats
7d5d09b63cbdb9b81001ae9280fb04324a92c74e
495c10ca46ac1b3a58a90b6822f8cf9963a171ef
refs/heads/master
2021-04-27T10:58:01.510131
2018-02-23T00:03:12
2018-02-23T00:03:12
122,550,670
0
0
null
null
null
null
UTF-8
Python
false
false
1,325
py
#!/usr/bin/python morseAlphabet = { "A" : ".-", "B" : "-...", "C" : "-.-.", "D" : "-..", "E" : ".", "F" : "..-.", "G" : "--.", "H" : "....", "I" : "..", "J" : ".---", "K" : "-.-", "L" : ".-..", "M" : "--", "...
[ "stawel+chealiCharger@gmail.com" ]
stawel+chealiCharger@gmail.com
1e2b50ee68b95ddae7eeb8945dcad1af2f11d842
6f9e4be308e3830446c33a4499b297aa7280be5f
/mouseEvents.py
451ae31ef59f90fdf7d15dff9a54d8ba1bda9d52
[]
no_license
mp360/manitab
ca3e464ba8da3d6d2568f3f175b822b229e299e3
6a04d9fd6e17da78e3902ea29f1af800849b6a41
refs/heads/master
2020-04-05T14:23:09.168930
2019-07-05T22:03:15
2019-07-05T22:03:15
156,926,525
1
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
import numpy as np from scipy.stats import norm, lognorm, uniform import matplotlib.pyplot as plt from matplotlib.widgets import Slider, Button, RadioButtons, CheckButtons from matplotlib.patches import Polygon #####Mean and standard deviation##### mu_a1 = 1 mu_b1 = 10 mu_c1 = -13 sigma_a1 = 0.14 sigma_b1 = 1.16 ...
[ "manan.patel@philips.com" ]
manan.patel@philips.com
d3ea9f702a651665d2f7f1d3f4dd379e82b548b6
14a97a4776f4eb01b0bf8c58df657d23e7b9260e
/dlflow/mgr/errors.py
e8b0d3cc9166207ead6904f4d8f68e031dde6a52
[ "Apache-2.0", "Python-2.0" ]
permissive
adalee2future/dlflow
2d2e67f0729c44f59c14fd6f83baf25bc6cf865a
6fb974fd800649af82b20c5f4e40aea123559d10
refs/heads/master
2022-11-29T07:42:18.164909
2020-08-17T16:28:32
2020-08-17T16:28:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
class BaseError(Exception): def __init__(self, err_info=""): super(BaseError, self).__init__(self) self.err_info = err_info def __str__(self): return str(self.err_info) class InstantiateNotAllowed(BaseError): pass class FileTypeNotSupport(BaseError): pass class Parameter...
[ "dqw1994@qq.com" ]
dqw1994@qq.com
0451be4ebad70baaebda136c6e39d0b94af42b94
073dc345e8612c3052f87b4280425a28c5a9cacc
/prost_site.py
3d5c4a9adff27c49dec64f8b1ff54045f201747c
[]
no_license
Grafstain/Example_python_code
2a4f08671c7ac5a830855ac02ce2afc3de72817e
b3ee14f6a7f44c70a517eb0647df45a089649f2d
refs/heads/master
2020-09-29T04:23:36.680012
2019-12-09T19:30:49
2019-12-09T19:30:49
226,950,195
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
import time startTimer = time.time() n=600851475143 if n % 2==0: lastFactor=2 n=n // 2 while n % 2==0: n=n // 2 else: lastFactor=1 factor=3 maxFactor= n while n>1 and factor<=maxFactor: if n % factor==0: n=n // factor lastFactor=factor while n % factor==0: n=n // factor ...
[ "noreply@github.com" ]
noreply@github.com
51431d1b72da594936ee55c4251605eed641c873
a1829caf8720beee453ad647ab991cc92ae66b98
/CombinedLimit/ZPrimeCombine/validateInputs.py
c1746cfe74cad8f620e4930418a12f4358dfd2af
[]
no_license
IMSA-CMS/HCT
373d73b97b63e54eb63b01b44712dc07f69ff861
06bdccdf73d439db1d2856cff751b222f3cfd9c2
refs/heads/master
2020-07-03T18:32:04.099154
2019-08-12T20:26:16
2019-08-12T20:26:16
201,993,169
0
0
null
null
null
null
UTF-8
Python
false
false
7,024
py
import sys import os sys.path.append('cfgs/') sys.path.append('input/') import ROOT from ROOT import gROOT from numpy import array from createInputs import createWS if __name__ == "__main__": import argparse parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) ...
[ "kgumpula@imsa.edu" ]
kgumpula@imsa.edu
912a0d677973643af9a2fc3b8fad340de84954eb
4e2452df43966440bb391d5fccb436a26bd8a953
/start.py
cfddc5ba0da33b79efa568928852c0c9e6713851
[]
no_license
Bayagin/WBTopicCheckTool
f950343727aa4c29db137cbda0a5412ab8fe03d3
4bec0de766a2fd65792be7e595e03bbaa147391c
refs/heads/master
2023-03-01T07:34:16.702923
2021-02-04T09:35:43
2021-02-04T09:35:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
import sys import os from src.main_ui import run __author__ = "ReaJason" __date__ = "2021年2月4日" __site__ = "https://reajason.top" __email__ = "reajason@163.com" sys.path.append(os.path.dirname(__file__)) if __name__ == '__main__': run()
[ "1587047405@qq.com" ]
1587047405@qq.com
365b2df85c7f4550dfeb8cb9f535ec174b04f35a
d73e73bad3d797bbfa82971ac44e424e7e163fe6
/utils/config_utils.py
74557718a2d232f39d2e4e750a3eceff3e1bf92a
[]
no_license
Guiliang/statistical-DRL-interpreter
80bdd885c1d3029a48654118667c0071f3e4a8d8
033d79e45579fb7ddd824c8e04d245d0285741f3
refs/heads/master
2023-07-24T21:50:56.323738
2021-01-04T05:28:20
2021-01-04T05:28:20
241,288,171
1
0
null
2023-07-23T06:00:02
2020-02-18T06:22:52
Python
UTF-8
Python
false
false
301
py
class InitWithDict(object): """ Base class which can be initialized by reading properties from dict """ def __init__(self, init=None): """ :param init: """ if init: for key, value in init.items(): setattr(self, key, value)
[ "Guiliang" ]
Guiliang
e842a0b0122230b18a59c01e0b2b0561a33e8a9a
6a33cb94d4af1d8a7329ddc6c9d42f870c35bb2f
/python/euler24.py
f4dfa43b28627a2b567d1d09688bcc6fd94d3b85
[]
no_license
vochong/project-euler
836321cc8e7d2e7cdf22b3b136d44dcba74a8701
6a0c7103861ff825bf84800b6e2e62819a41e36d
refs/heads/master
2020-04-29T10:41:48.487159
2018-09-19T00:13:34
2018-09-19T00:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from itertools import permutations def euler24(): """ A permutation is an ordered arrangement of objects. For example, 3124 is one possible permutation of the digits 1, 2, 3 and 4. If all of the permutations are listed numerically or alphabetically, we call it lexicographic order. The lexicographic permutations o...
[ "kueltz.anton@gmail.com" ]
kueltz.anton@gmail.com
c946e0330af298dda3979f43614bf4150c8090ef
d9a4c48b9652563637833b28c9bb07b6711a60a6
/alhambra_detections.py
ffa70538892a4c6b991cd1f6a79c808e79a7f5e8
[]
no_license
amolino231/ALHAMBRA
dd097fbecd1e3fc2a2df79983cf9ead631be70d6
1a6aac0e3effd53b8c2f9fa3f8d4553f955a15a8
refs/heads/master
2020-06-11T12:48:44.418534
2019-06-26T20:20:25
2019-06-26T20:20:25
193,969,567
0
0
null
null
null
null
UTF-8
Python
false
false
58,548
py
#! /usr/local/bin python # -*- coding: iso-8859-1 -*- ############################################### # Functions related with Synthetic Images # ############################################### import os,sys # import coetools as CT import numpy as N # import coeio as C import useful as U import bpz_tools as B ...
[ "noreply@github.com" ]
noreply@github.com
7f0f4837fafc558b09afd963d8f795589efc7442
2fcfb5238a79f1da6c015b53483ec3e7d8d120cc
/doga2/feladat4.py
1aa95f8626f88625014c9ccb34319101686a51d3
[]
no_license
offJUSTME/Szkriptnyelvek2020
2be4392d43fe4ec470230be28c48ccdb55c457c5
7e18fa2632344511bdfca14444f671cb87f1bd82
refs/heads/master
2023-03-10T05:41:28.916013
2021-02-22T10:49:36
2021-02-22T10:49:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
#!/usr/bin/env python3 def colltaz_make(number): re = [number] first = number while first != 1: if first % 2 == 0: first = first / 2 re.append(first) else: first = 3 * first + 1 re.append(first) return re def colltaz_p...
[ "noreply@github.com" ]
noreply@github.com
0516724e956d3a03c966ac81dd33f50bb9a93f14
f019ca1e4029b4077472087d1b677052583c0392
/qa/rpc-tests/keypool.py
aeaa4435c0d9ce9ede5ce333dced5cf31e78ffc9
[ "MIT" ]
permissive
mirzaei-ce/core-civilbit
9204dd9c4c3ce04f867105da4e7fa9a56af1f8ba
cab3e53bdc6b04a84f4bc48114efc07865be814a
refs/heads/master
2021-04-26T05:03:32.282526
2017-10-16T15:39:44
2017-10-16T15:39:44
107,148,188
0
0
null
null
null
null
UTF-8
Python
false
false
3,338
py
#!/usr/bin/env python2 # Copyright (c) 2014-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. # Exercise the wallet keypool, and interaction with wallet encryption/locking # Add python-civilbitrpc t...
[ "mirzaei@ce.sharif.edu" ]
mirzaei@ce.sharif.edu
3a7c5fde92109bfd042a941929ec5850029ed64f
8b96516253d26cf9dc86178931f99ba0bca3ca37
/erickChallenge.py
ce2e4ebf01f23a75814ce9fc9f79bbc702f8f45e
[]
no_license
rosswelltiongco/EE-381-Probability-and-Statistics
1b0fe01b14499ec215bf64f49350e78bb59012b0
904fbda80e7b03eee6b2e0009933ac514446da06
refs/heads/master
2020-05-21T14:37:45.192572
2019-05-11T04:00:16
2019-05-11T04:00:16
186,085,368
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
maxNum = 0 maxLength = 0 storage = {} def getLength(n): length = 0 test = n while test > 1: if test%2==0: if test in storage: return storage[test] + length else: test=test/2 length+=1 else: if test in sto...
[ "rosswelltiongco@gmail.com" ]
rosswelltiongco@gmail.com
3e9d10617e89796ad60f68397f9e864c802ccd07
46d3f70c73c87cecb7e71ff4629b5203b0da21fa
/dbhelper.py
51cc176affd25d83bd0d5e3365b55070145f1b57
[]
no_license
jitendra1998/TodoBot
943a7e3d0f66a3d2f8e6a8f12a54b839be576492
7c51b12f85b2262ce82fed499eed821b4bc88157
refs/heads/master
2021-08-08T09:01:09.833526
2017-11-10T01:46:46
2017-11-10T01:46:46
110,188,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,202
py
import sqlite3 class DBHelper: def __init__(self, dbname="todo.sqlite"): self.dbname = dbname self.conn = sqlite3.connect(dbname) def setup(self): tblstmt = "CREATE TABLE IF NOT EXISTS items (description text, owner text)" itemidx = "CREATE INDEX IF NOT EXISTS item...
[ "noreply@github.com" ]
noreply@github.com
9db634250873ec3896650ba2344333f21ec7b2a2
558cee907e06d74fd3c44f1ad896ff4dc8ccec5b
/ex5.py
74dfe5dc1a3c444b729cf2e61f1cb9901036a523
[]
no_license
wangha43/learnpythonthehardway
74b89648bcc9ec65ca2d4cf552f24d19d35757c4
7b44a6c8e258075c52a4b568ded88ac0b333f324
refs/heads/master
2016-09-10T17:19:16.964871
2015-10-31T10:41:19
2015-10-31T10:41:19
40,523,557
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
my_name='Zed A. Shaw' my_age=35 my_height = 74 my_weight = 180 my_eyes = 'blue' my_teeth = 'white' my_hair = 'brown' print "Let's talk about %s." % my_name print "He is %d inches tall."% my_height print "He is %d pounds heavy."% my_weight print "He has %s eyes and %s hair."%(my_eyes,my_hair) print "His teeth are usual...
[ "wangha43@163.com" ]
wangha43@163.com
c6a95baea0c0c6555f1f9da0338a23566d6d9c19
f81677b1c5a44122986f10d9ccfea91e8d85bfb0
/helloEpydemic.py
9819d96a76f051fce03933e7be5a0fda936a5a17
[ "BSD-2-Clause" ]
permissive
cshunk/EpydemicTest
f8b16d2890a76c52f2745d55da06decda687638c
28f64738a05cba7bb1e391ed5a52d0fbac2751f0
refs/heads/master
2022-07-06T21:48:23.633555
2020-05-11T03:44:17
2020-05-11T03:44:17
257,732,737
0
0
null
null
null
null
UTF-8
Python
false
false
2,388
py
import epydemic import networkx as nx import matplotlib import matplotlib.pyplot as plt import pandas as pd import numpy as np class MonitoredSIR(epydemic.SIR): INTERVAL = 'interval' PROGRESS = 'progress' def setUp(self, params): """Schedule the monitoring event. :param pa...
[ "cshunk@gmail.com" ]
cshunk@gmail.com
654a3b93891efa6720ed3a9bef89c16612cdd5f4
5dd93a32e9803cbe29de37434d9bd1209f871b84
/queshou/src/queshou/servers/http/__init__.py
f366b634ad4ae74a3ab6b0c6f2bf9d94a686a061
[]
no_license
cnbcloud/mjserver
71e9448478d6b6c04e852fc74968b3b2cb75f51c
b5b08a85d49c3bed460255a62dc5201b998d88d4
refs/heads/master
2021-01-21T17:46:29.073368
2017-07-27T09:25:49
2017-07-27T09:25:49
98,517,509
1
1
null
null
null
null
UTF-8
Python
false
false
79
py
# -*- coding:utf-8 -*- """ @author: huangtao @date: 2016/02/27 """
[ "gamedev@jundeMac-mini.local" ]
gamedev@jundeMac-mini.local
a8d9cba4430c6aa6426707ebe6d148e66e184f96
f5b698c3b3029ff4e8b099d3c8d4211c92eb0032
/LalithaPythonClass/Exceptions/RaiseException.py
1ae5e7c651ed1c28eb69a8dd3b68fce5e9a797ae
[]
no_license
YerraboluHimajaReddy/LalithaClass
a0db8dcf6f49af699c80e944794ed0e76ed82805
b50165a71a29047a215f19b0c1670b86d710f77d
refs/heads/master
2023-09-04T22:48:30.698825
2021-11-18T12:44:30
2021-11-18T12:44:30
425,481,847
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
try: a = int(input("Enter a positive integer: ")) if a <= 0: raise ValueError("That is not a positive number!") except ValueError as ve: print(ve) # Enter a positive integer: 2 # # Process finished with exit code 0 # Enter a positive integer: -1 # That is not a positive number!
[ "himaja04.selenium@gmail.com" ]
himaja04.selenium@gmail.com
13bd6f9b12884f741a4e85492028653512ac3a9a
5efd9d88a5100fed6fbba947d77bb8c9b50605b7
/stack_queue/largestRectangleArea.py
ab073f3d08fa56f36e799dd2b7ce1fe0f2960de4
[]
no_license
dearleiii/Python-Tutorial-
6cc5a576c519bcdeda0b22d0edd7f21ca33e641f
c46d7d6db7ad1fce9c1c512aee60d5ebf8d5bdb3
refs/heads/master
2020-03-23T02:09:27.131721
2019-05-22T22:59:02
2019-05-22T22:59:02
140,959,312
1
0
null
null
null
null
UTF-8
Python
false
false
687
py
class Solution: def largestRectangleArea(self, heights): """ :type heights: List[int] :rtype: int """ if heights is None or len(heights) == 0: return 0 indices_stack = [] area = 0 for index, height in enumerate(heights + [0]): whi...
[ "noreply@github.com" ]
noreply@github.com
2dd499357629e6660622ac953c97b0b54d50e92c
d4d9cf1f27ba057d0995eb0594f417686901c5e5
/script/new_customerandfollow_p.py
73698e0e5e58a6b41bc826a5a9bda4a14f5e3249
[]
no_license
xlliu/ct
c5956bb3316fa5fdb83c6ed2c6ee0421de39b734
fed8e1ff67db68be0852c04a884ad54bec846afa
refs/heads/master
2021-01-10T01:21:26.709144
2016-01-04T14:58:01
2016-01-04T14:58:01
49,002,765
0
0
null
null
null
null
UTF-8
Python
false
false
16,756
py
#!flask/bin/python # -*- coding: utf-8 -*- import os import sys import xlsxwriter reload(sys) sys.setdefaultencoding('utf8') __author__ = 'xlliu' import datetime,time import pymysql class OffeceBuilding(object): # dbhost = 'rds75fa0kz8u0lcvqmmd1.mysql.rds.aliyuncs.com' # dbuser = 'online' # dbpassword =...
[ "liuxuelong@qq.com" ]
liuxuelong@qq.com
eacce69b378416016d039a6ad32db54a175b0222
a0e3908174c06a65248a4b05fc69c6821214e916
/Dictionary.py
47a8310f067ac787e06e05ce29c7a86ecfa173b8
[ "MIT" ]
permissive
Anupamad7/Python-Data-Structures
6690d926838c35f48736eeb6fb2d905b557ef601
c742f9833cbbe4842b6b6ef71b4051155142efba
refs/heads/master
2021-04-16T06:23:17.764323
2020-04-24T13:41:54
2020-04-24T13:41:54
249,334,023
0
1
null
null
null
null
UTF-8
Python
false
false
953
py
Country_Names = ['India', 'russia', 'China', 'Kroatia', 'Ukrain', 'Sweeden', 'England', 'US', 'Iraq', 'Iran', 'Iraq'] def writefile(): import random nums = 5000000 f = open("TestingDictionary.txt", "w") for i in range(nums): f.write(random.choice(Country_Names)+'\n') f.close() ...
[ "noreply@github.com" ]
noreply@github.com
04f12188571a497fda662ea24ac06908fcdb2d1d
a387dd9c116fc7a6abec332360a73daeb09cf006
/web1/web1/callDateTime.py
e1e9c23f070f56940587d4d3260b9513efaeb31f
[]
no_license
berryme/pythonPractice
2eebd60a8fe55e5ebc42fb0c1092e848c088ec04
7c2a1d2a94cc04c6cf1a280477107cda09b20ca8
refs/heads/main
2023-02-07T16:37:14.679291
2023-02-05T21:27:38
2023-02-05T21:27:38
151,255,756
0
0
null
2023-02-05T21:27:39
2018-10-02T13:05:12
Python
UTF-8
Python
false
false
367
py
import requests def callDateTime(): URL = "http://date.jsontest.com/" # defining a params dict for the parameters to be sent to the API PARAMS = {} # sending get request and saving the response as response object r = requests.get(url=URL, params=PARAMS) # extracting data in json format ...
[ "berryme@yahoo.com" ]
berryme@yahoo.com
d48e178b35e991bfe7a02a398b545c43e7840e31
dbb761fb5c423835bf88b5970021f1ff8656f2b0
/quantization_python/convert/darknet2caffe.py
3d2ee54be74e4886176d69d692c4655061593b8c
[]
no_license
Majiawei/quantization_caffe_yolo
608034f01eb468ae721a4be8c6f34db404e3f288
3cf5c765a7276fc39a51981f8d8773527f8f8466
refs/heads/master
2022-11-15T06:31:30.394333
2020-07-10T14:27:23
2020-07-10T14:27:23
276,799,857
0
0
null
null
null
null
UTF-8
Python
false
false
21,961
py
import sys sys.path.append('/home/user/Work/mjw/test/ezai/caffe_base_ezai/python/') import caffe import numpy as np from collections import OrderedDict from cfg import * from prototxt import * def darknet2caffe(cfgfile, weightfile, protofile, caffemodel): net_info = cfg2prototxt(cfgfile) save_prototxt(net_info...
[ "931429379@qq.com" ]
931429379@qq.com
0fd089e10dd682bc982636463237c11a26e11749
f376f56fca1f57859c737bd95d9a9c6ef47904cc
/src/visualization/visualize.py
b93081c9968413c3d0433bb4c4b1358c28a72d13
[]
no_license
ajits-github/covid-19-data-science
b0511fd68b4f67b22d8c5bb5b386d259046fa7a9
186198c669b97e60b4215d9c867ea6b25f941fc4
refs/heads/master
2023-01-04T13:32:28.816870
2020-10-28T13:08:04
2020-10-28T13:08:04
295,719,299
0
0
null
null
null
null
UTF-8
Python
false
false
6,169
py
import pandas as pd import numpy as np import subprocess import dash dash.__version__ import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State import plotly.graph_objects as go from sklearn import linear_model reg = linear_model.LinearRegression(fit_i...
[ "ajit110920@gmail.com" ]
ajit110920@gmail.com
eaa9e3662e78f9f1fb39c52cf1e2e525f22310eb
a169199ebb9f4a7b81cd00ff23af50aeb591ffe4
/clpy/types/mutabledict.py
8b4c40a0ef9fc6e1b78077e8aad89ceb47cf9954
[]
no_license
zielmicha/clojure-pypy
b2eab9437997e4c250d455b3a6d5f4c036855cdf
41c8f14a19173c1b5452bcdb1f7f6df23e6cdecf
refs/heads/master
2021-01-23T12:18:45.583076
2014-02-21T19:22:30
2014-02-21T19:22:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
723
py
from clpy.types.root import Root from clpy.types.dict import PersistentHashTrie class MutableDict(Root): ''' Mutable dictionary that should be based on PyPy's implementation, but I can't get it accepted by translator. So, for now, it's based on persistent hash trie. ''' def __init__(self, spac...
[ "michal@zielinscy.org.pl" ]
michal@zielinscy.org.pl
b0f376f301572059fdbffe700d9ea148191a57e0
ea6398a07b4665e08a65f994b2b91f249d01e781
/train_utils.py
62abcb1a04cd1d8e81eee4e0f375edd2c7f88882
[]
no_license
LordkTk/Yolo-v3-train
715aa5335a2b534326c790cc059d4723e49f00d5
88a103e7fd055881f680a387d74415098e13c1fc
refs/heads/master
2020-06-07T14:39:41.231970
2019-08-20T11:13:12
2019-08-20T11:13:12
193,042,663
3
0
null
null
null
null
UTF-8
Python
false
false
20,537
py
# -*- coding: utf-8 -*- """ Created on Tue May 28 16:01:44 2019 @author: cfd_Liu """ import tensorflow as tf import numpy as np import random import os import cv2 def div_train_test(): path = os.path.abspath(r'C:\Users\cfd_Liu\Desktop\Machine Learning\Code\PracticeCode\TensorFlow Learning\OpenCV\La...
[ "noreply@github.com" ]
noreply@github.com
1fc7b0a0014c76550b270c663b6cd0e1367c5ff4
d1a84f0ef4660245c7cdbf1deab176f5917a0de9
/met_plot/ngl/pynio-develop/pynio-develop/test/test_netcdf.py
6c10597c9fdc898cc2cf5ec6a528b1d860a0678f
[ "Apache-2.0" ]
permissive
cycle13/study_demo
f1048c2d63adbbe841537e5985337366464354be
0c8154d614b54cd0dce952e0d31dbd157c8d9fa2
refs/heads/master
2021-01-08T02:50:24.365562
2020-02-20T06:54:00
2020-02-20T06:54:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,917
py
import Nio import numpy as np import numpy.testing as nt import os import unittest as ut file_to_test = '../ncarg/data/netcdf/pop.nc' class Test(ut.TestCase): def setUp(self): self.f = Nio.open_file(os.path.realpath(os.path.join(os.path.dirname(__file__), file_to_test))) def test_netcdf_variables(sel...
[ "857956255@qq.com" ]
857956255@qq.com
7316ca8cd2560553bbda0c988c96fc3a76193be1
21fb852e0be0e0df9564ede1ff7d211b901a0f39
/printresult/printres.py
a41b6149999a316eda8740b3ef847dc350d1248c
[]
no_license
sumanth-lingappa/prayathna
cdea332ea835fec872ce8642b9b5bb1b659b7987
bb6f01c2e8ee10aa89b92307f321bcaf1b3231c2
refs/heads/master
2022-12-12T23:39:04.722832
2020-09-12T03:59:26
2020-09-12T03:59:26
49,435,731
1
0
null
null
null
null
UTF-8
Python
false
false
864
py
from inputdata import PROJECTDATA print '-'*100 print "{:<15}{:<15}{:<50}{:<10}{:<10}".format('PROJECT','SUITE','TESTCASE','STATUS','ERRORS') print '-'*100 pproj = '' psuite = '' projList = sorted(PROJECTDATA.keys()) for proj in projList: projData = PROJECTDATA[proj] suiteList = sorted(projData['suit...
[ "sumanthmadivala@gmail.com" ]
sumanthmadivala@gmail.com
5c8168f273a9b0e9f1c20acdf248a207bd4e4fd0
00cbc0f9e524dea4ba561575ffc05c0ffffc488f
/openstackclient/tests/network/test_common.py
a3396b9da88e1b0bbfaff87ac97a0d5f649b9a9b
[ "Apache-2.0" ]
permissive
Aresall1990/python-openstackclient
6e3b7c3e1d49a5c60e04affad0cbcbaf8ac1d198
42b607edf117e4a3f421a554308330409c88dbb1
refs/heads/master
2021-01-24T03:53:09.426271
2016-02-04T22:56:57
2016-02-04T22:56:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,342
py
# 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 writing, software # distrib...
[ "rtheis@us.ibm.com" ]
rtheis@us.ibm.com
8fb00b2b591073c2820802c16f940e1416f6d14c
eafd84d0948eeb985a1dcb91948af479176c011a
/div2/313/a.py
fb56ca56287c38c226d94c2c8767f737307fc214
[]
no_license
haya14busa/codeforces
29a11bd00ca319d01088d943fdffd3fadafe1f5a
24844da8ae1e35883b915ff11cce0bf13e9f65c3
refs/heads/master
2020-04-30T13:27:31.165286
2015-08-30T07:58:34
2015-08-30T07:58:34
39,081,511
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import unittest def solve(n, xs): return -1 if 1 in xs else 1 def getinput(): def getints_line(): return list(map(int, input().split(' '))) n = int(input()) return n, getints_line() def test(): art = Assert() # x = 1 art.equal(solv...
[ "hayabusa1419@gmail.com" ]
hayabusa1419@gmail.com
c05daee6a610e471c7a51494fa24aa4b42799fea
1c2e3d1f84a98886117c459931ce07d5a5aaf5cf
/Main.py
e93e953a9194254cd8f4f1b0a795ac4fa135c817
[]
no_license
gokulbnr/Mini-SQL-Engine
4cc1cc96f0c452e98414e8df86667d89eedf6336
7d524eff45bdf419323379905f13749ad9183a73
refs/heads/master
2020-08-13T11:06:51.920705
2019-10-14T05:54:51
2019-10-14T05:54:51
214,959,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
#!/usr/bin/env python import copy import csv import sqlparse import sys dat = {} tab = {} def loadData(file): op = 0 name = "a" for line in file: if line == "<begin_table>": op = 1; elif op == 1: dat[line] = []; op = 0; name = line; elif line == "<end_table>": continue else: dat[name].ap...
[ "gokulbnr@gmail.com" ]
gokulbnr@gmail.com
34d3bd0138a6b1ff374de550600bd1e994e01e20
15fb62305a2fa0146cc84b289642cc01a8407aab
/Python/230-KthSmallestElementInBST.py
e1fce7116f90027161bad3e1f527125aaa0290c7
[]
no_license
geniousisme/leetCode
ec9bc91864cbe7520b085bdab0db67539d3627bd
6e12d67e4ab2d197d588b65c1ddb1f9c52a7e047
refs/heads/master
2016-09-09T23:34:03.522079
2015-09-23T16:15:05
2015-09-23T16:15:05
32,052,408
1
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param {TreeNode} root # @param {integer} k # @return {integer} def recurKthSmallest(self, root, k): res = [] self.in...
[ "chia-hao.hsu@aiesec.net" ]
chia-hao.hsu@aiesec.net
755d6aaeee71030185d492833dfef66356bbd803
d293b1b5037f7e493eddbe8572cc03ffd9f78890
/code/sort.py
574a24cd3b45ffb3a643147fc331bc61787fd95d
[]
no_license
weilaidb/pyqt5
49f587e6ec3b74f6b27f070cd007a6946a26820a
0ad65ed435ecfc87ca32e392bbf67973b4b13e68
refs/heads/master
2020-03-07T23:04:51.365624
2018-08-01T15:30:44
2018-08-01T15:30:44
127,771,719
1
0
null
null
null
null
UTF-8
Python
false
false
316
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- print(sorted([36, 5, -12, 9, -21])) print(sorted([36, 5, -12, 9, -21], key=abs)) print(sorted(['bob', 'about', 'Zoo', 'Credit'])) print(sorted(['bob', 'about', 'Zoo', 'Credit'], key=str.lower)) print(sorted(['bob', 'about', 'Zoo', 'Credit'], key=str.lower, reverse=True))
[ "wxjlmr@126.com" ]
wxjlmr@126.com
5b50c10d07ae2f3c0af1d08a1f18be0424422408
20ff04a8a0542824b9c34567bde84aba80f60de9
/cameraInterfaceV1/globals.py
72837ce921772711120941b45f88ebd33575e3b6
[]
no_license
mcdermatt/autofocusProject
8dfda5e85c620a66774ee81342f9c1658dbc029f
7d348cc09c391eec9e26920a71ac61e2cd9f1c3a
refs/heads/master
2020-07-25T18:46:55.023833
2019-09-14T15:36:13
2019-09-14T15:36:13
208,390,839
2
0
null
null
null
null
UTF-8
Python
false
false
53
py
class Globals: focus_mode = "zone" scene = "menu"
[ "mcdermatt@gmail.com" ]
mcdermatt@gmail.com
5b7c11305018c8d6cc11cb9b92cf8664e533f6e3
aed0fce5428c04619763bd667beb5832b5647c65
/blog/urls.py
88869ccc807505fa1943eb3efa6e078728a9cade
[]
no_license
aleksanderpe/my_first_blog
57f01405d2d119815a35432a562d8160c27cf6b2
7db9910ade34fabd10d0b1f48a6704cd96ac4bbb
refs/heads/master
2020-03-15T17:04:44.016633
2018-05-06T18:41:44
2018-05-06T18:41:44
132,157,554
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
"""blog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "olekpeczot@gmail.com" ]
olekpeczot@gmail.com
2795c6648d7f1266b7f42b4e91725d9f27268dea
b7b2f80ab5e1ee0ea028576e3014b62b8d3a8d7e
/pyedit/pyedit-036/pyedlib/pedfind.py
3ac9395fb86b64616c888b4a839f6c126b4421a4
[]
no_license
pglen/pgpygtk
4d1405478a714f003984cf3e3db04ff1f767470b
33f58010e304f1a312f2356de453ecedb7aa21ef
refs/heads/master
2021-01-22T01:18:52.238415
2019-01-01T01:37:24
2019-01-01T01:37:24
102,215,955
0
0
null
null
null
null
UTF-8
Python
false
false
21,150
py
#!/usr/bin/env python # Action Handler for find import re, string, gtk, glib, gobject, warnings import peddoc, pedync, pedconfig from pedutil import * from pedundo import * strhist = [] stridx = 0 myentry = None # ------------------------------------------------------------------------- ...
[ "peterglen99@gmail.com" ]
peterglen99@gmail.com
cd52d96a48e3c55906571e3c4c6f2658b5e60148
e98f5238da632add0aaacd18c1b9798075186bd3
/env/bin/django-admin
76a52339f300ea3b0ddab73cecab5593cbde430b
[]
no_license
Akshaytechis/django_forum
a05ad08159f6cf9b4c38fdbbda5185e1ebff5f8d
21884e8355398a589558827c61bc57d695ae5dfb
refs/heads/master
2023-08-29T13:48:17.442664
2021-10-19T01:14:51
2021-10-19T01:14:51
411,563,826
0
1
null
null
null
null
UTF-8
Python
false
false
297
#!/Users/musubi/Desktop/django_forum/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "musubi@musubis-MacBook-Air.local" ]
musubi@musubis-MacBook-Air.local
d86ebf62cfba1698923c1901510e7e9f1be2816c
955b968d46b4c436be55daf8aa1b8fc8fe402610
/other/get_timezone.py
d32feb2a1fb16ad7235d22228884263287fa7712
[]
no_license
han-huang/python_selenium
1c8159fd1421b1f0e87cb0df20ae4fe82450f879
56f9f5e5687cf533c678a1c12e1ecaa4c50a7795
refs/heads/master
2020-03-09T02:24:48.882279
2018-04-07T15:06:18
2018-04-07T15:06:18
128,535,917
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from time import gmtime, strftime, localtime import locale, time, sys # Windows 10 platform tz1 = strftime("%z", gmtime()) print('gmtime()', gmtime()) print(tz1) # +0800 tz2 = strftime("%z", localtime()) print('localtime()', localtime()) print(tz2) # +0800 print() tz3 = ...
[ "vagrant@LaravelDemoSite" ]
vagrant@LaravelDemoSite
7afa88cebb5b5d6ef8b5e582eb11610354d8615f
bc4a4c7aabfa19cdd5307f58dc07b9bfa42bd2db
/blog/migrations/0008_auto_20200818_2223.py
1644867b5d9f8d952c7e20582d02a603807cf446
[]
no_license
dydwkd486/animal_sounds
8b9d93bd9c369c3346d618631c6d9d0e35d98267
079a6594b073fa06f2fa8c988b69352a9c1f4da4
refs/heads/master
2021-06-14T16:40:02.244434
2021-04-04T14:51:20
2021-04-04T14:51:20
173,652,539
0
3
null
2021-06-10T21:15:46
2019-03-04T01:28:09
HTML
UTF-8
Python
false
false
796
py
# Generated by Django 2.0.13 on 2020-08-18 13:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0007_auto_20190524_1945'), ] operations = [ migrations.AlterField( model_name='animal_map', name='address',...
[ "gichanac@naver.com" ]
gichanac@naver.com
d49d9eb6c8717ccde8a3a9fb5629628f7f989129
ecf0d106831b9e08578845674a457a166b6e0a14
/OOP/inheritance_EXERCISE/players_and_monsters/project/blade_knight.py
f3fe7f02553cff2f5de2b7045840784a828df529
[]
no_license
ivo-bass/SoftUni-Solutions
015dad72cff917bb74caeeed5e23b4c5fdeeca75
75612d4bdb6f41b749e88f8d9c512d0e00712011
refs/heads/master
2023-05-09T23:21:40.922503
2021-05-27T19:42:03
2021-05-27T19:42:03
311,329,921
8
5
null
null
null
null
UTF-8
Python
false
false
169
py
from project.dark_knight import DarkKnight class BladeKnight(DarkKnight): def __init__(self, username: str, level: int): super().__init__(username, level)
[ "ivailo.ignatoff@gmail.com" ]
ivailo.ignatoff@gmail.com
44e9059459640303d271a1f066c083a99614abaf
457d0a6af4c20c2ce9dc8ae17c92b381251ef107
/Yangs-Method/1.Features/4.ED-PSSM/Training/EDPSSM.py
f5fb09cf38b15f5fbe376ce065d7d9eb6aeb709d
[]
no_license
raf1305/Academic-Thesis
39b8861b140dc45f67480e7b146f6fdd77e32f42
a7144de91a8cb61906aa176aa7a4e2a9a1208f6f
refs/heads/master
2021-02-03T23:49:03.792307
2020-03-03T17:42:13
2020-03-03T17:42:13
243,576,435
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
import sys import pandas as pd from math import pow s = sys.argv[1] _type = sys.argv[2] words = s.split('.') f = open(s) num_lines = sum(1 for line in f) amino_num = num_lines-1 #print(amino_num) f.close() f1=open('PSSM-ED-Trainingset.csv',"a+") P = [[0 for x in range(20)] for y in range(num_lines-1)] #print(P) j = 0...
[ "rafeen1305099@gmail.com" ]
rafeen1305099@gmail.com
0f5084fe7deefe3d514592c7c60d72832e33f11f
066612a390af03bb170d74a21b0fb0b7bcbfe524
/tests/testcases.py
12602c0da2e5760fc9d92fd91d9c22da1a2732ca
[ "MIT" ]
permissive
kikeh/django-graphql-extensions
873577cc9e0085630889fea9fa5539962c31dbcc
951b295235ca68270066cc70148e2ae937d4eb56
refs/heads/master
2020-12-26T05:23:12.039826
2020-01-31T09:41:43
2020-01-31T09:41:43
237,398,866
0
0
MIT
2020-01-31T09:32:25
2020-01-31T09:32:24
null
UTF-8
Python
false
false
685
py
from django.contrib.auth import get_user_model from django.contrib.auth.models import Group from django.test import testcases from graphql_extensions import testcases as extensions_testcases from . import schema class TestCase(testcases.TestCase): def setUp(self): self.group = Group.objects.create(name...
[ "domake.io@gmail.com" ]
domake.io@gmail.com
17614de3ca2c792cd99a96df0bdf12f55b420636
316a3ae4f91f4b3e883597eb1dce3f681a6ec1ea
/bm.py
380fc789e7c752d2c813b9f5a159c3815f79a74c
[]
no_license
marciopocebon/black-mirror-project
d10f567ac2b3bd977b7195e3f3868063ee687601
966bb695c521d4abe64302fe42438cd8eca3d72a
refs/heads/master
2020-07-04T07:11:39.315615
2018-04-11T21:18:51
2018-04-11T21:18:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,834
py
# -*- coding: utf-8 -*- import matplotlib.pyplot as plt import csv import numpy class Dado(object): def __init__(self,hora, idade, sexo, cidade, tipo=None, arma=None): super(Dado, self).__init__() self.hora = hora self.idade = idade self.sexo = sexo self.cidade = cidade ...
[ "josebezerraneto@outlook.com" ]
josebezerraneto@outlook.com
a6c46893d0637e127dc338df8181555430a3ae64
8c10414632ce4f56c926ca8e99c167d502a3c550
/Chrono_Version1.py
1e47f00e7e20aa24a6b7a2cd8b99da0a171d6a7a
[]
no_license
AryanBiswari/web_browser
5468637df561779e0deff1c2d119bbef5abb52bb
642ea6b51b81d40871ef41c6a00f5df41b235177
refs/heads/main
2023-03-05T06:01:03.585799
2021-02-21T11:03:48
2021-02-21T11:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import sys from PyQt5.QtCore import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import * class MainWindow(QMainWindow): def __init__(self): super(MainWindow, self).__init__() self.browser = QWebEngineView() self.browser.se...
[ "noreply@github.com" ]
noreply@github.com
fae53c83b4095e55db4ee5f0af358bd4cde17818
cc9a97f0411270d5ca8b4858769e17374400f4f4
/extra_apps/xadmin/adminx.py
c00aee8d13e92cafbab144069377d3e6feb93145
[]
no_license
jt19880807/Pyxadmin
8b1cc4fd0a90e63711ef7e8fb236c475eeadb59d
02eccc7fc36e44aa6a114ec6a2ac83a1bc7c1ecb
refs/heads/master
2021-06-25T03:11:46.943990
2017-09-11T10:27:56
2017-09-11T10:27:56
103,122,390
0
0
null
null
null
null
UTF-8
Python
false
false
1,397
py
from __future__ import absolute_import import xadmin from .models import UserSettings, Log from xadmin.layout import * from xadmin import views from django.utils.translation import ugettext_lazy as _, ugettext class UserSettingsAdmin(object): model_icon = 'fa fa-cog' hidden_menu = True #show_detail_fields...
[ "422836331@qq.com" ]
422836331@qq.com
f66383b30307ff2dba27464df2168e737f546c9c
810ac2881791f6d6d690968854ba7d01325b63c6
/Home Work 2/score_model.py
59211970139f1ced50f5c6f606c9bd712724e84b
[]
no_license
dilipganesan/DATA622_BigData-and-Machine-Learning
9d7443333f27de00f1279a32c11b2fc33ea860af
a9e20e739f090b358afd8413af0e2e60348c5cb0
refs/heads/master
2020-03-31T11:38:29.204633
2018-12-13T03:26:09
2018-12-13T03:26:09
152,184,865
0
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CUNY DATA 622 Home Work 2 Created on Mon Oct 8 23:18:11 2018 @author: dilipganesan When this is called using python score_model.py in the command line, this will ingest the .pkl random forest file and apply the model to the locally saved scoring dataset csv. Th...
[ "noreply@github.com" ]
noreply@github.com
9bb1fba15b061678ffcff2219bc7888f2a3681bd
963a49b8a48764929169edb57e492b5021331c87
/tests/volume_system_test.py
5d4b9236f96e02ee546f514160efbb9699654d30
[ "MIT" ]
permissive
ralphje/imagemounter
d0e73b72fe354c23607361db26906e1976b5d8ee
383b30b17fe24df64ccef071ffb5443abf203368
refs/heads/master
2023-02-22T14:27:54.279724
2022-04-04T15:08:56
2022-04-04T15:08:56
16,476,185
98
51
MIT
2023-02-09T10:49:23
2014-02-03T10:27:32
Python
UTF-8
Python
false
false
869
py
import sys from imagemounter._util import check_output_ from imagemounter.disk import Disk from imagemounter.parser import ImageParser class TestParted: def test_parted_requests_input(self, mocker): check_output = mocker.patch("imagemounter.volume_system._util.check_output_") def modified_command...
[ "ralph@ralphbroenink.net" ]
ralph@ralphbroenink.net
61144733a7ba970967c47e9af7a46cadf1f7c2db
3be8b5d0334de1f3521dd5dfd8a58704fb8347f9
/create_session_index.py
dc01fc1ffa77f8416331b23701799095cea70a20
[ "MIT" ]
permissive
bmillham/djrq2
21a8cbc3087d7ad46087cd816892883cd276db7d
5f357b3951600a9aecbe6c50727891b1485df210
refs/heads/master
2023-07-07T01:07:35.093669
2023-06-26T05:21:33
2023-06-26T05:21:33
72,969,773
1
0
null
null
null
null
UTF-8
Python
false
false
239
py
""" Run this one time, to setup the automatic expiration of sessions """ from web.app.djrq.model.session import Session from pymongo import MongoClient collection = MongoClient().djrq2.sessions Session._expires.create_index(collection)
[ "bmillham@gmail.com" ]
bmillham@gmail.com