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
2f9970afd8dc86fde020b29ed5cf098fe97b5060
e682bb0223fcce71c295f250bcce48a321755ff4
/users/views/auth.py
362b1bf90099bfc34a7ba130e6fbf51a750ff225
[]
no_license
jatinj615/IMDB_Movies
dbcf0fc0ff5fe346c24055fff1061adc10a61cb5
c653719e3b5340136130cba138251c9c82d250da
refs/heads/master
2022-12-15T05:16:31.102606
2020-09-03T10:53:25
2020-09-03T10:53:25
291,470,147
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
from django.contrib.auth import get_user_model, authenticate, login, logout from users.serializer import UserSerializer from rest_framework.views import APIView from rest_framework.response import Response from rest_framework.status import HTTP_200_OK from django.utils.decorators import method_decorator from django.vie...
[ "jatinj615@gmail.com" ]
jatinj615@gmail.com
d1f60f117c2794ee87cdab12e34717d84cfa428a
11f8bea6d15d951584af72eb5d193d84200b1cf0
/fisher.py
40d350fda24178a5934450c358160ca632fcbdca
[ "MIT" ]
permissive
ttkltll/fisher_review
3a4e871808b9b385e0077413a79ddb1e78ce2a28
e0afbb0d5f5f73890dc772eb2b6b34ddd31e6909
refs/heads/master
2022-12-10T17:08:43.272520
2022-01-25T13:03:42
2022-01-25T13:03:42
251,500,916
0
1
MIT
2022-12-08T11:11:17
2020-03-31T04:32:49
HTML
UTF-8
Python
false
false
200
py
from flask import current_app from app import creat_app app = creat_app() if __name__ == '__main__': app.run(debug=app.config['DEBUG'], host='0.0.0.0', port=83, threaded=True) a = current_app
[ "ttkltll@163.com" ]
ttkltll@163.com
7fc1aab1de73aa78dbb82daf249adb798a862e6e
ac0e9a702e73739209b24ba3f6d9297647e06b76
/Example Files/Intermediate/phonebook_example_unittest/test_phonebook.py
877ed597231b563f8b52e0fd04a0c7d5d40c137e
[]
no_license
afettouhi/PyStudentManager
9c256c38b20136f10b86fb2e2270bb5848be802d
71343bc52e5426b2267f068bd6af2e66c0807f08
refs/heads/master
2020-05-14T16:53:09.501889
2019-06-07T14:22:44
2019-06-07T14:22:44
181,881,548
0
0
null
null
null
null
UTF-8
Python
false
false
1,424
py
import unittest from phonebook import Phonebook class PhonebookTest(unittest.TestCase): def setUp(self): self.phonebook = Phonebook() def test_lookup_entry_by_name(self): self.phonebook.add("Bob", "12345") self.assertEqual("12345", self.phonebook.lookup("Bob")) ...
[ "A.Fettouhi@gmail.com" ]
A.Fettouhi@gmail.com
cc5515d7903dd5d1401aa6e1d9173cbf64dabc11
f0203795f07da31ac6255c93143cd117ff5cc364
/modeling_your_life.py
d4f117eb97139290f7a620cabc6fca2225f6177a
[]
no_license
Rick-and-morty/life-model
a8ad0bb230804cf77bcca6012d6a145ef36251e6
424c4eb1edb1f98b807e7ea9541a422f175ad11b
refs/heads/master
2021-01-17T15:13:23.200355
2016-09-29T04:26:48
2016-09-29T04:26:48
69,496,596
0
0
null
null
null
null
UTF-8
Python
false
false
1,246
py
class Activities: def __init__(self): self.music = ["all the fun and enjoyment i get from being creative."] self.jogging = ["what i do to get think about my next coding challenge."] self.tv = ["the thing that makes me giggle at the end of a bad day."] self.stress = ["all the things...
[ "te5840@gmail.com" ]
te5840@gmail.com
3661068f55bf7363d35a03604516c6ba1cbbe911
057936d2afa69cecb86c7cc687a61801d08d9af3
/manage.py
7c40f287e65ed18649aa02aae50c02447d407af2
[ "MIT" ]
permissive
sigmarising/web_innovation
bdfd4c7d0f3c6ecc84a6101b1d35abb180272e89
6f5425f34c3aff593f321297ed9aae38d1a51f17
refs/heads/master
2021-06-11T22:40:47.989912
2021-04-13T08:18:25
2021-04-13T08:18:25
154,326,215
1
0
MIT
2018-12-20T06:43:51
2018-10-23T12:43:08
JavaScript
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'web_site.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "sigmarising@hotmail.com" ]
sigmarising@hotmail.com
ba5adc914d657335775749282968cb3baf05d633
a0bb621d05af3a68f36dbdaf475531f9061009c7
/multilayer/examples/2_LEG+RPA_plasmon_dispersion_in_MLG.py
d4d4382f8f11e90ab1dce5a1d3bb14660060ecd8
[ "MIT" ]
permissive
rhambach/EELcalc
892d90f626ec05cd72235f1e1e7715a213adf8d5
b8ac985ab881721ff7a95e529dccb6ce1c85a243
refs/heads/master
2020-06-05T13:58:39.172009
2017-11-19T10:31:02
2017-11-19T10:31:02
27,860,640
2
1
null
null
null
null
UTF-8
Python
false
false
3,287
py
""" Plot script for the dispersion of the pi-plasmon in N-layer gaphene with in-plane momentum q (see [1] Fig. 2c). REFERENCES: [1] Wachsmuth, Hambach, Benner, and Kaiser, PRB (90) 235434 (2014) Copyright (c) 2014, rhambach, P. Wachsmuth. This file is part of the EELcalc package and release...
[ "ralf.hambach@uni-ulm.de" ]
ralf.hambach@uni-ulm.de
fec994a3c91bc6f844537ef2d976044fa97d29db
768c23b9cfd43942935b8f98d07c82dfab5f23f0
/inventory/code/inventory_management_system/models.py
e9ee2a2fb21b8bec4d9a34ea13338fddc22d83ac
[]
no_license
dhananisangit/inventory_management_system
164c9c8e7e2dd1e4d1cae1c6f8d2b74028428556
b3565ff2169cac56682890b6a9d7c3697cda6d92
refs/heads/master
2021-01-02T09:17:57.940118
2017-08-03T18:37:45
2017-08-03T18:37:45
99,186,275
3
3
null
null
null
null
UTF-8
Python
false
false
4,016
py
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django import forms from django.db import connections import re, json import time import datetime import math class Parts(models.Model): name = models.CharField(max_length=254, unique=True...
[ "sdhanani@st30823mbp.lan.suitabletech.com" ]
sdhanani@st30823mbp.lan.suitabletech.com
e2927e4a8817d64a103071a883dad7138c20bd83
8332f04ac6a61fcd540b1796c90d6fcf8a38e650
/src/TrasformObject.py
03ee98f384398b84578ce146e31585b73a0ddf6e
[]
no_license
giospada/ScaricaCompiti
b6070cfe58c5ea2387b14109fcab35f7a4380e0f
1fb4238a565bb8cc11f1779763fc1ce7fea3c3d8
refs/heads/main
2023-07-13T19:43:41.183997
2021-08-26T16:51:34
2021-08-26T16:51:34
334,932,817
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
import datetime as dt import re class TrasformObject: def __init__(self,compiti): self.today=dt.datetime.now().date() self.compiti=compiti def dataMassima(self): for obj in self.compiti: datCompiti=dt.date.fromisoformat(obj["datCompiti"]) datGiorno=dt.date.from...
[ "giospadaccini74@gmail.com" ]
giospadaccini74@gmail.com
d7f2ac70b8cb10c2f05a112b0c00c9af580c876b
fcb87e969a3989f2023f3847a5f0e1289a0a8694
/sip/execution_control/configuration_db/sip_config_db/scheduling/_scheduling_object_list.py
15f0af7ef8ff43197a068b6a31c7c792caf4f15b
[ "BSD-3-Clause" ]
permissive
SKA-ScienceDataProcessor/integration-prototype
299eb0aa41ba9c7f683f5bac101af5a19fccb171
5875dc0489f707232534ce75daf3707f909bcd15
refs/heads/master
2021-05-01T05:02:16.697902
2019-07-28T22:32:05
2019-07-28T22:32:05
58,473,707
3
10
BSD-3-Clause
2021-03-25T22:21:08
2016-05-10T15:41:14
C++
UTF-8
Python
false
false
3,436
py
# -*- coding: utf-8 -*- """Base class for list of scheduling or processing block data objects.""" from typing import List from ._scheduling_object import SchedulingObject from .. import ConfigDb from .._events.event_queue import EventQueue from .._events.pubsub import get_subscribers, publish, subscribe DB = ConfigDb...
[ "ben.mort@gmail.com" ]
ben.mort@gmail.com
f70ae58e535f116c40b1b7cda964a910e9a6f25b
f4a8744b28a6b4301f7e3d60d99cfa3d10bfa073
/l10n_es_prev_tesoreria/wizard/wiz_crear_factura.py
920fbd04de162431e5d92ea5742ee068e7df830d
[]
no_license
kailIII/openerp-spain
4f6c4d9adc5544470f105ed36f905a2da79ccb4a
1303d175d74e41d03a167d0e15d84be419d32121
refs/heads/master
2020-12-25T20:43:03.259516
2013-03-09T15:14:46
2013-03-09T15:14:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,556
py
# -*- encoding: utf-8 -*- ############################################################################## # # Avanzosc - Avanced Open Source Consulting # Copyright (C) 2011 - 2012 Avanzosc <http://www.avanzosc.com> # # This program is free software: you can redistribute it and/or modify # it under the terms ...
[ "ajuaristio@gmail.com" ]
ajuaristio@gmail.com
f32f2075cffb1ee258d2840c969615cb58be0bbf
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/qM6zWQM7gdfPgE9Hh_10.py
ac926ffffc597d07e0e765dc6f988e28824815d1
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,147
py
""" Given a _dictionary_ of some items with _star ratings_ and a _specified star rating_ , return a new dictionary of items **which match the specified star rating**. Return `"No results found"` if _no item_ matches the _star rating_ given. ### Examples filter_by_rating({ "Luxury Chocolates" : "*****", ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
3972892ec6f2a0828d64b1d20362ddcb648f8cc4
4a9f742ddd2c1a2340c3b854eeaef511329515c8
/RoccoAppExit.py
18f6ff6f663eab365e25b1a150ec41600d99360a
[]
no_license
TheGreatKO/CNBC
7f544fb94695d36b314dc853c80d785b27bb7370
e00095ab3a2464c215e6789b6172ac3bf6ec58e9
refs/heads/master
2021-01-19T11:51:58.144664
2016-10-09T01:24:35
2016-10-09T01:24:35
69,774,082
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
__author__ = 'ko' import logging import logging.config import sys logging.config.fileConfig('logging.conf') # create and configure logger logger = logging.getLogger('Rocco.ExitDialog') from cnbcAppExitDialog import Ui_ExitDialog from PyQt5.QtWidgets import QDialog, QMainWindow class MyExitDialog(QDialog): de...
[ "hanlonko@gmail.com" ]
hanlonko@gmail.com
cd993620d1e70f876c831b3843aa66125d43bbad
fdf80ffe53395c1f04a0be3e4e95918d0b0ea379
/Desafio45.py
a26bb748c96168bb9e2e049109d4bce3dead6fb2
[]
no_license
henrique-af/cursoemvideo-python
146308e4fb38bb6be4b3a5a262a8ca68da7e473a
c81fd653ff45eb1d1b22776d914381485fe2bb44
refs/heads/main
2023-05-27T04:16:12.722297
2021-06-16T21:52:35
2021-06-16T21:52:35
377,636,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,439
py
print('====== DESAFIO 45 ======') from time import sleep import emoji from random import randint print(emoji.emojize('Suas opções:\n' '1 - Pedra :fist:\n' '2 - Papel :hand:\n' '3 - Tesoura :v:\n', use_aliases=True)) menu = int(input('Qual a sua jogada? ')) computador =...
[ "henriquealbuquerquef@gmail.com" ]
henriquealbuquerquef@gmail.com
35757bf0f4d8afe1c0b99428daee2cf27e28c9fd
97af3c1e09edbb09dfabe0dd8cb5334735d874b6
/code/lib/python/console/clint/textui/progress.py
960c35b9cb5d9319ca98f0dd9a3e887086ff01bf
[]
no_license
joyrexus/ldp
31d3e155110e3249ad0f7c97f1b663120c6a125d
d0e15f051bb175fc66a4647b3001b31702aa16f3
refs/heads/master
2021-01-17T14:30:46.115805
2015-05-05T20:20:14
2015-05-05T20:20:14
11,434,923
2
2
null
null
null
null
UTF-8
Python
false
false
1,180
py
# -*- coding: utf-8 -*- """ clint.textui.progress ~~~~~~~~~~~~~~~~~ This module provides the progressbar functionality. """ from __future__ import absolute_import import sys STREAM = sys.stderr BAR_TEMPLATE = '%s[%s%s] %i/%i\r' BAR_EMPTY_CHAR = '-' BAR_FILLED_CHAR = '=' DOTS_CHAR = '.' def bar(it, label='', w...
[ "joyrexus@gmail.com" ]
joyrexus@gmail.com
1cb4025b464eaf48bef3a8516fc4195d693d4a8d
aaba9cb63c35480ecfafad8eb50730479274f034
/main.py
5cf7999a46f03e97f33b69d415d5257cf45b0db0
[]
no_license
RoninEMH/Python-Encryptions
4b7b095b57fd447e41c10d5c74b591d2be682f84
043c5702da85569a4be880ab3786ee1066467a19
refs/heads/master
2023-01-01T00:11:03.159135
2020-11-03T10:45:03
2020-11-03T10:45:03
308,143,907
0
0
null
null
null
null
UTF-8
Python
false
false
2,929
py
from tkinter import * from tkinter import filedialog import os import RandomEncryption.Encrypt as Encrypt def uploadContent(root): file_path = filedialog.askopenfilename(filetypes=[("Text files", "*.txt")], title='Open File', in...
[ "60003921+RoninEMH@users.noreply.github.com" ]
60003921+RoninEMH@users.noreply.github.com
ad528d06b79a6ff625cf15f31575b1d4f2df68d0
b296ce3375dfb58d9f1223cb20fd642b4335d75b
/src/custom_logger.py
8c18ce28adab8cdc46138ad60255ac4f5e61ac38
[]
no_license
kidnamedtony/warp10
0d4dc23266867ac9afe5a0e15b4dccefd5b82b32
5f82a5d2cc05aff1dc14d00f9912cbd4fad52fd7
refs/heads/master
2020-08-14T04:12:00.568707
2019-11-23T20:39:02
2019-11-23T20:39:02
215,095,835
0
0
null
null
null
null
UTF-8
Python
false
false
764
py
import logging # Creating a custom logger object: logger = logging.getLogger("webscraping_helpers") # Setting global setting for logging logging.basicConfig(level=logging.DEBUG) # Handlers for the logger oject: c_handler = logging.StreamHandler() f_handler = logging.FileHandler("Progress.log", "a") c_handler.setLeve...
[ "a.loiseleur@gmail.com" ]
a.loiseleur@gmail.com
c93abfeac1a23ee94be4cfa675344b58b62a7439
42a812ac785752921dcdddd4ae56064b51452b39
/bulletin/post/tests/test_post_view.py
cd2fe8bc9b73e4f73864e1875b41fc2744fb8149
[]
no_license
Pre-Onboarding-Listerine/aimmo-assignment-team-1
e4a15d3e71f1985febf911360691389f5996f0fb
d94dd7482f065ac1b020bb500984740c13af14e6
refs/heads/main
2023-09-02T12:23:49.693075
2021-11-03T00:25:18
2021-11-03T00:25:18
423,444,898
1
3
null
2021-11-02T16:35:38
2021-11-01T11:46:19
Python
UTF-8
Python
false
false
4,881
py
import json import unittest from datetime import datetime from http import HTTPStatus from unittest import mock from unittest.mock import MagicMock import jwt from assertpy import assert_that from django.conf import settings from django.test import Client from member.models import Member from ..dto.deleted_post_id i...
[ "rlawndhks217@gmail.com" ]
rlawndhks217@gmail.com
7d87bfec8e15720d2d096e7060e4dc7534528c54
36a88379f67d2e7780f2af7e2c88d111368768cb
/meiduo1/celery_tasks/main.py
50565bcf45ee1aa527a9c33ebaf2b047cdc6c8c7
[]
no_license
crystal-yu-qian/meiduo
77b7f6c2ba97339c106caf305e5c9f618968a36c
8f810d34f6d7bda6fc24ce3536b54ece6adddb56
refs/heads/master
2020-06-24T15:14:43.282535
2019-08-03T13:32:59
2019-08-03T13:32:59
198,997,938
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from celery import Celery import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "meiduo1.settings") app = Celery('celery_tasks') app.config_from_object('celery_tasks.config') app.autodiscover_tasks(['celery_tasks.sms','celery_tasks.email'])
[ "1020414192@qq.com" ]
1020414192@qq.com
74458f6a29b52a4aba737448865b8f86ca8a360b
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/lib/surface/version.py
7d7321ca5431114f3472d2997a60ebba92f03cde
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
1,488
py
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
0a49f27b81b96b899e8494a9f4512dc15507f254
73a405dd8e06154965f3044c2c98aec511b2a87a
/Django-Rest/project_restYoutube/src/urls.py
bb29739bf201b999b5bf5bd9f85407851732ee90
[]
no_license
kendalvictor/codeando
a32f33147b72963099c4dedd1a62e65041043d48
46b0c500f2cef7b21ffb344812ed143d0461e5a7
refs/heads/master
2021-07-09T17:15:32.188542
2019-01-14T19:10:36
2019-01-14T19:10:36
110,754,891
2
0
null
null
null
null
UTF-8
Python
false
false
752
py
"""postagging 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-ba...
[ "v.villacorta.unmsm@gmail.com" ]
v.villacorta.unmsm@gmail.com
99fa75604275556ce86c3d1406d1aae5cb567f15
ef69f75b8afe379573a3086265f67e10d7d49cc0
/kopia_zapasowa/conway.py
8e33b18470338fb67a3109468ac3b319fb478a03
[]
no_license
piterczak/python
cb52353033df0d0b45de5bf90ae4abc9fe505db1
72daa88da430716604744189b5f9ecfad0e8d01d
refs/heads/main
2023-05-05T12:31:46.704560
2021-05-12T14:35:12
2021-05-12T14:35:12
358,575,228
0
0
null
null
null
null
UTF-8
Python
false
false
2,730
py
import random, time, copy WIDTH=30 HEIGHT=10 nextCells=[] for x in range(WIDTH): column = [] for y in range(HEIGHT): if random.randint(0,1)==0: column.append('#') ## dodawanie zywej komórki else: column.append('') ## dodawanie martwej komórki nextCells.append(colum...
[ "piterczak@gmail.com" ]
piterczak@gmail.com
b167c899d819166b148e3ad4bcf51e7f7d84dc8b
f1fedf0b85ee001f80bdaec157c2a3337d34b290
/fusion_mujoco_py/export.py
f75755498bf70a5337b510d17a0b3d3dc45238f3
[ "MIT" ]
permissive
bjnortier/fusion-mujoco-py
437e43d3487059a9aaab715b2485043a7399a1d6
5df0a0acc72f91a669ee7c7d4d98c5e426b11d56
refs/heads/master
2021-09-21T00:31:27.223311
2018-08-17T14:21:54
2018-08-17T14:21:54
128,750,031
1
1
null
null
null
null
UTF-8
Python
false
false
6,773
py
# -*- coding: utf-8 -*- import xml.etree.ElementTree as ET import os.path import xml.dom.minidom import re XML_TEMPLATE = """<?xml version="1.0" ?> <mujoco> <compiler angle="radian" coordinate="local" inertiafromgeom="true" settotalmass="14"/> <default> <joint armature=".1" damping=".01" limited="true" solimpl...
[ "ben@bjnortier.com" ]
ben@bjnortier.com
fcdbe8b38ae560684105297029179656a604f2db
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/222/222.count-complete-tree-nodes.233499249.Accepted.leetcode.py
07968f423174e017c6f9c7febffa58330579725a
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
655
py
class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None class Solution(object): def countNodes(self, root): if not root: return 0 left_subtree = self.left_depth(root.left) right_subtree = self.left_depth(root.ri...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
dbb42a999e4285bdd06057f28ab6163d4ad4214a
7fb1e6e0d3c452de2cda8e2338343e9862c6c88a
/29082019/012636.py
458851940aa311ece8b9346e2b67896f01992d3c
[]
no_license
RobertoCruzF/Intensivo-Nivelacion
3a10afc61f2744e7fd0d6019f0c572fb8b5deec9
c7dd1a4aaf1c419f3edb35d30f200c1c0b6a26a9
refs/heads/master
2020-07-05T11:50:13.582245
2019-08-30T14:35:42
2019-08-30T14:35:42
202,641,096
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
import numpy as np print 0%2 # imprime el resto de la division de los dos numeros print 1%2 # imprime el resto de la division de los dos numeros print 2%2 # imprime el resto de la division de los dos numeros print 3%2 # imprime el resto de la division de los dos numeros print 4%2 # imprime el resto de la divisio...
[ "rcruz@miuandes.cl" ]
rcruz@miuandes.cl
decad8b7513c3e2ad6dcf0a5919a7fe1be3c113f
a552eed95dd2feb2f065019a805aef09e7a8597d
/gis_2ban_1/settings/base.py
d413ada2b077839bf84e408f0ed7f650600c7c5f
[]
no_license
yeonnex/django_pinterest
d7295f47963a86add8d6b92b452f088dca582a0a
4c92d12c171d458f8760f462c4b4e5fa50a1c6c8
refs/heads/master
2023-08-07T09:16:52.591837
2021-09-29T02:31:25
2021-09-29T02:31:25
402,365,186
0
0
null
null
null
null
UTF-8
Python
false
false
3,270
py
""" Django settings for gis_2ban_1 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/ """ import os fro...
[ "yeonnex@gmail.com" ]
yeonnex@gmail.com
3fdf53b2f0ad51016d47fa06c73ae507c8df00ac
db366faf2463466245e2d846822bbb130ff913aa
/inputprint.py
e7814a986e70bc4c63a0acfcc87fc409b61c5a39
[]
no_license
deep-hack/hacktoberfest
86042c5323fdc82f9372bac19a11c2b3e3648277
d275d9b6ee420d09d1a472a053dfd266f42623ce
refs/heads/master
2023-08-23T10:45:34.070498
2021-10-13T03:09:16
2021-10-13T03:09:16
416,571,411
1
0
null
2021-10-13T03:07:22
2021-10-13T03:07:21
null
UTF-8
Python
false
false
44
py
text = input('Type something:') print(text)
[ "noreply@github.com" ]
noreply@github.com
07d801933ad0974175b66fa7b5dc983374961b54
829c03e4c2d8f80dbb39f0bbd871e0db53c4ae95
/core/migrations/0002_item.py
f665055442e52f29406df343ff873eeee61df88a
[]
no_license
CesarAugusto88/react_django_backend
6e6fc0e0c3135a0c20b6e76c4c99558624aa1ddf
42a8c45f9231c1a4194e9aaa087561c6c373120f
refs/heads/main
2023-03-13T19:48:21.359235
2021-03-12T00:02:39
2021-03-12T00:02:39
345,819,974
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
# Generated by Django 3.1.6 on 2021-02-16 04:21 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.CreateModel( name='Item', field...
[ "cesarcosta.augustos@gmail.com" ]
cesarcosta.augustos@gmail.com
0dfac5058a137be709eefbebd2ab5fbd5e882e3e
d48170adbf0b8825a2cdb8b7069fc93de67cfd1b
/camera_models/_matrices.py
6958d98a5d43c11372028f07431cef3528656123
[ "LicenseRef-scancode-warranty-disclaimer", "CC0-1.0" ]
permissive
eugeniu1994/Stereo-Camera-LiDAR-calibration
d4069ca7caec601d1005d644fedc81d2dd5a481e
54eec1b911f78ca6b66c35803c47d016b7069499
refs/heads/master
2023-05-12T20:56:30.799287
2021-06-02T11:36:58
2021-06-02T11:36:58
371,688,947
14
1
null
null
null
null
UTF-8
Python
false
false
2,057
py
from typing import Sequence import numpy as np from ._homogeneus import to_homogeneus def get_plucker_matrix(A: np.ndarray, B: np.ndarray) -> np.ndarray: A = to_homogeneus(A) B = to_homogeneus(B) L = A.reshape(-1, 1) * B.reshape(1, -1) - B.reshape(-1, 1) * A.reshape(1, -1) return L def _get_roll_m...
[ "vezeteu.eugeniu@yahoo.com" ]
vezeteu.eugeniu@yahoo.com
e3d8cb3403b6a91ceba70ae0162d75363b5c0a9d
01abb5fe2d6a51e8ee4330eaead043f4f9aad99d
/Repo_Files/Zips/plugin.video.streamhub/resources/lib/smodules/trailer.py
729c4e3dd4f78c4945f1e6ce4a8b48274938d418
[]
no_license
MrAnhell/StreamHub
01bb97bd3ae385205f3c1ac6c0c883d70dd20b9f
e70f384abf23c83001152eae87c6897f2d3aef99
refs/heads/master
2021-01-18T23:25:48.119585
2017-09-06T12:39:41
2017-09-06T12:39:41
87,110,979
0
0
null
2017-04-03T19:09:49
2017-04-03T19:09:49
null
UTF-8
Python
false
false
3,905
py
# -*- coding: utf-8 -*- ''' Exodus Add-on Copyright (C) 2016 Exodus 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 Foundation, either version 3 of the License, or (at your option) any l...
[ "mediahubiptv@gmail.com" ]
mediahubiptv@gmail.com
3e7e6b480be9eac864f79df9f37018cbe2e66e19
bf5ce5bb620ac0d865c453fc8aa923d77b9debef
/command_line/file_parser.py
16042be937c25cba3949083a9766b8361f52fc1c
[]
no_license
Caseymonroe1/visualization_pipeline
a91e7e4e94f78522b83cd1d00f909aaa36c14adc
e896de716056e7f59fb1a019c7186a8aeb125bdb
refs/heads/master
2023-04-13T09:05:32.042099
2021-03-25T15:21:29
2021-03-25T15:21:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,152
py
from collections import defaultdict import pandas as pd import numpy as np import math def transposeRel(directory, relFile): ## set up dictionary cols = [] maindict = defaultdict(list) ## read through output file to parse information with open(relFile) as f: for line in f: if l...
[ "tuk32868@temple.edu" ]
tuk32868@temple.edu
102cfb4a48484d5440f4765e4468f290cddc203a
ea9f2c578e479fcaebbba84d2a1fe63e96f9145d
/src/common/models/user.py
4d4c9b4f978ae046c363d45934812a5da49ed9b4
[]
no_license
spandey2405/onlinecoderbackend
1a6bd278f725ae5b1ad1c57b951ac5f9f87b71eb
afffd81c027a46247dd47e2ca02ab981e124b09a
refs/heads/master
2021-01-17T07:57:03.077054
2016-08-01T13:41:50
2016-08-01T13:41:50
64,668,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,411
py
from django.db import models from src.common.libraries.constants import * import binascii, os, uuid class UserManager(models.Manager): def generate_userid(self): return str(uuid.uuid4()) def generate_salt(self): return binascii.hexlify(os.urandom(SALT_LENGTH/2)).decode() class User(models.Mo...
[ "spandey2405@gmail.com" ]
spandey2405@gmail.com
c35e93365f1e17a6d56d974a31c3515c56378c08
211b7ba054bce9edf398672de744e620178f387a
/venv/bin/pip
2c32a34b4ce10cd87351bccc9aa7ebe2dc8dc817
[]
no_license
shanmugara/lirc
7fe695ca57de6a9d81eb5015dde3f06158a1efe1
c813ca8f4a2f37ff426dfad3199c9199246b3dd5
refs/heads/master
2023-04-14T13:39:23.634191
2019-01-06T05:30:43
2019-01-06T05:30:43
162,856,241
0
0
null
null
null
null
UTF-8
Python
false
false
400
#!/Users/speriya/PycharmProjects/lirc/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys....
[ "psraj@optonline.net" ]
psraj@optonline.net
aa561fe592473e8f85fe213e1e614edb4922b5b3
331743624d898949b9039e8a05263d3a057ae359
/Baekjoon_Algorithm/One-Dimensional Array/7. (B1)[4344] 평균은 넘겠지.py
a920b106b6b586ee986421de90f12d8a128ada4b
[]
no_license
moey920/Algorithm
7c968fa3f6ecb4d964581d8a44c23571f0568af4
f9c4d22dabe6e686c79d3bf25628e5ccc7d2d377
refs/heads/master
2023-04-19T16:13:59.072954
2021-04-29T16:17:04
2021-04-29T16:17:04
362,868,426
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
C = int(input()) for i in range(C) : list(map(int, input().split())) # for i in range(C) : # score = 0 # for j in range(N[0]) : # score += N[j+1] # print(score)
[ "moey920@naver.com" ]
moey920@naver.com
e42793c0bb18d4947a7c52488c8b146780db1a2c
1548ce77537dcd50ab04b0eaee050b5d30553e23
/autotabular/evaluation/abstract_evaluator.py
383ee7a13fd7f7766c258b0df36b52ef013fbb89
[ "Apache-2.0" ]
permissive
Shamoo100/AutoTabular
4a20e349104246bf825ebceae33dca0a79928f2e
7d71bf01d2b7d84fcf5f65c9f45c5cea1255d8a2
refs/heads/main
2023-08-13T21:34:34.329888
2021-10-02T07:06:00
2021-10-02T07:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,259
py
import logging import multiprocessing import time import warnings from typing import Any, Dict, List, Optional, TextIO, Tuple, Type, Union, cast import autotabular.pipeline.classification import autotabular.pipeline.regression import numpy as np from autotabular.constants import CLASSIFICATION_TASKS, MULTICLASS_CLASSI...
[ "jianzhnie@126.com" ]
jianzhnie@126.com
24f9f16f69a7c79ea54993ed409d8c5073aeb4a2
f2f89f00d60559c4a412a575da686228509b9595
/test/range_test.py
519736ae1e72505ecd445bfaa5dd6f47dbc28d29
[ "MIT" ]
permissive
csb-comren/dbinterfacer
425ce07e827f5d9d6423de21082b32cd1820c399
b69b5885e092ca5d913437642886e03cfe93504f
refs/heads/master
2020-03-19T06:48:17.737511
2019-06-05T16:41:57
2019-06-05T16:41:57
136,056,778
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
from dbinterfacer.uploaders import NmeaUploader from dbinterfacer.helpers.pointmodel import Point_Model from secret import local_url, comren_url f = open('test/data/NMEA.txt', 'rb') # p = u.point_model.generate_point() # print(p) # u.determine_tables(p) # print(p) # u.upload(local_url, [1]) u = NmeaUploader(local_...
[ "jaykaron@gmail.com" ]
jaykaron@gmail.com
b0a6a9fb4b673fef435c9369de71747c5e8d9c22
b8ebe0cc58e4f6ef07ef889fb5d5e81c46ccb82b
/tests/test_add.py
bdd067f382e1648871d32e2f3ddb062edd0b3f92
[ "MIT" ]
permissive
jacksonllee/python-library-template
20da6f5aa9d3f5ffb18d64e1c577b73ddaaf26b1
1ee5d47975ea9e0ed7fdf82701bcb83d1852dce6
refs/heads/main
2022-08-29T03:17:49.416812
2022-08-27T19:25:21
2022-08-27T19:25:21
193,034,751
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from foobar.add import add def test_add(): assert add(1, 2) == 3
[ "jacksonlunlee@gmail.com" ]
jacksonlunlee@gmail.com
217c9954a80b7cdde3023d805047880a0d4f800e
ffe86787b92e1eaa9ca8e482fbd3b34f3d5ce2a5
/manage.py
869a07db92b66599eaf9325d798bb9014e519e93
[]
no_license
rajatarora21/BeMyFriend
59a11fc614dc2d908953de87a6023929ba20d08b
2e328c013814fb65b894a4be2fbddc4bdb3c35be
refs/heads/master
2020-08-03T02:22:49.999592
2019-10-10T01:04:04
2019-10-10T01:04:04
211,595,803
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BeMyFriend.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "arorarajat9999@gmail.com" ]
arorarajat9999@gmail.com
b843de38c9488e62441a89a633f1336a972f423a
0d91c86aa0c70115d70f09e3e45460df73dcc652
/alpha_a.py
d8263fba6f7a743eb66fc076ec23ea33da0d66a6
[]
no_license
Michael-Gong/DLA_project
589791a3ca5dba7a7d5b9a170c9e2ad712a3ae36
3a6211451cc404d772246f9c2b60e0c97576cfef
refs/heads/master
2021-04-27T08:11:37.414851
2019-01-18T05:24:40
2019-01-18T05:24:40
122,650,552
1
0
null
null
null
null
UTF-8
Python
false
false
2,172
py
%matplotlib inline #import sdf import matplotlib import matplotlib as mpl mpl.style.use('https://raw.githubusercontent.com/Michael-Gong/DLA_project/master/style') #matplotlib.use('agg') import matplotlib.pyplot as plt import numpy as np from numpy import ma from matplotlib import colors, ticker, cm from matplotlib.mlab...
[ "noreply@github.com" ]
noreply@github.com
9f369caf27b979dd71e6839290f58bd026ced437
d49f1fa8643a9203193f5ab06f2ab048c43e511b
/M8_Fullstack/d3_SQL/project.py
59c84bdf8bc44284e38d0060e6653ac497225db8
[]
no_license
lpianta/ai_fall_exercises
5cb768a619d0435f485d415ff520c4793d296673
997876f902849fb5eb3f45dc8bf77dac41c33480
refs/heads/main
2023-05-29T08:04:21.646204
2021-06-03T08:21:34
2021-06-03T08:21:34
317,841,076
0
1
null
null
null
null
UTF-8
Python
false
false
678
py
import sql_database project = """CREATE TABLE IF NOT EXISTS project ( NameP VARCHAR(20), Topic VARCHAR(20) NOT NULL, St int NOT NULL PRIMARY KEY, Grade float, id int not null, tch VARCHAR(20) NOT NULL, index...
[ "pianta.luca@gmail.com" ]
pianta.luca@gmail.com
3fabf4f4ba845759d4b8fc8576fc5bc284056ab8
a4dfbafdb2d1cc39534a481747fe9746ebb4ef7a
/src/models/base_models/resnest_model.py
158eb4a786862e66ce97c979d9f509c5c8e10334
[]
no_license
huangchuanhong/dist_face_pytorch
3f41045f662de0f9826bc5041bdd2b9abbcb9558
dc662b713564b2c3f5a61d4ad0e8a78e4aa54a84
refs/heads/master
2022-12-31T23:01:26.997504
2020-10-26T08:29:39
2020-10-26T08:29:39
264,177,084
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
import torch.nn as nn from .backbones import ResNest from ..registry import BASE_MODEL from ..utils import constant_init, normal_init, kaiming_init @BASE_MODEL.register_module class ResNestModel(nn.Module): def __init__(self, feature_dim, **kwargs): super(ResNestModel, sel...
[ "huangchuanhong@xgrobotics.com" ]
huangchuanhong@xgrobotics.com
3c83baf87db5dfcbd91d068acf92999196d079f9
5b221c2809d82cf13a2b24a56589943315cdb381
/2017/2017-29.py
55d90764145038cedbdefc1a88653ac763c185a6
[]
no_license
Bruce-V/CS-BM25
c2cd797e9be2fc55af9c8944882fd55109ebee61
2401f0ddb24c1712b13c0c96e13565f60d48705d
refs/heads/main
2023-01-04T23:29:20.906427
2020-11-09T08:44:22
2020-11-09T08:44:22
259,228,835
0
0
null
null
null
null
UTF-8
Python
false
false
14,071
py
# Copyright 2020 zicheng Zhang(18551701375@163.com) # # 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...
[ "1714624946@qq.com" ]
1714624946@qq.com
db080b1433d8d0062e349ca5f74f3c43d95a0747
8c4923e80377501e919b46ab1442d8d9843acbcf
/bin/tensorboard
0b059c7a4b81183dd82e7ff63a03b8cdd557ff17
[ "MIT" ]
permissive
khaifahmi99/embeddings
943fe221d71d235a53b4bc1075ed6df9ebb7e5ad
9213a684e8cce71cd7f26717cc06593a777b5b84
refs/heads/master
2022-10-22T07:51:43.291162
2019-10-12T05:11:35
2019-10-12T05:11:35
214,581,631
0
0
MIT
2022-09-30T19:46:07
2019-10-12T05:10:04
Python
UTF-8
Python
false
false
276
#!/Users/khairunnasulfahmi/Desktop/GraphEmbedding-master/bin/python3 # -*- coding: utf-8 -*- import re import sys from tensorboard.main import run_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_main())
[ "khaifahmi99@github.com" ]
khaifahmi99@github.com
02f79c80ab4b1412100a41752657cb3b9aebad7a
b4e5f627c489472b8348f070ddb6c07eb8ce0c33
/sentiment_logistic_regression/sentiment_logistic_regression.py
b79f1302918bb33feed417a6994fdc2178ace615
[]
no_license
bialeckim5/NLP_Story_Cloze_Public
f350f2f843cc74806b8692a6270c5f60db2b9f26
db0795c361972553fd0e6314c26702aeb55f07b9
refs/heads/master
2022-12-22T17:08:13.782618
2019-12-08T22:01:31
2019-12-08T22:01:31
243,827,703
0
0
null
2022-12-08T07:22:23
2020-02-28T18:21:55
Python
UTF-8
Python
false
false
1,366
py
import os import pandas from numpy import dot from numpy.linalg import norm import numpy as np from sklearn.linear_model import LogisticRegression import ast data_dir = os.path.join(os.getcwd(), os.path.normpath("../Data")) data_path = os.path.join(data_dir, "Data_sentiment.csv") test_path = os.path.join(data_dir, "...
[ "noreply@github.com" ]
noreply@github.com
2dbe3592640b1ce3372c9bdef4af9a9a748f92ba
4740e71b340e9a166cbd6b8108925049ce112861
/cimcb_lite/plot/roc.py
f395abdd0eefc318123ded627ede3c591cd85e1f
[ "MIT" ]
permissive
RuibingS/cimcb
84afba916e13edc9bbb74cecb67bf0b8fe0accc9
382f7d8fff30d3d276f18ac8c7dc686e0e643fa9
refs/heads/master
2023-08-29T10:52:36.412398
2021-11-15T15:12:22
2021-11-15T15:12:22
428,313,404
0
0
null
null
null
null
UTF-8
Python
false
false
9,035
py
import numpy as np from bokeh.models import Band, HoverTool from bokeh.plotting import ColumnDataSource, figure from scipy import interp from sklearn import metrics from sklearn.metrics import confusion_matrix, roc_auc_score from sklearn.utils import resample from ..utils import binary_metrics def roc_plot(fpr, tpr, ...
[ "hvbever@gmail.com" ]
hvbever@gmail.com
d0303d53dd3eba23fd2b686900359aa35a47c0bb
18aee5d93a63eab684fe69e3aa0abd1372dd5d08
/python/paddle/vision/models/alexnet.py
4239395c03319dd88ea9923153eb9cc250de73f0
[ "Apache-2.0" ]
permissive
Shixiaowei02/Paddle
8d049f4f29e281de2fb1ffcd143997c88078eadb
3d4d995f26c48f7792b325806ec3d110fc59f6fc
refs/heads/develop
2023-06-26T06:25:48.074273
2023-06-14T06:40:21
2023-06-14T06:40:21
174,320,213
2
1
Apache-2.0
2022-12-28T05:14:30
2019-03-07T10:09:34
C++
UTF-8
Python
false
false
7,002
py
# copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. # # 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 applica...
[ "noreply@github.com" ]
noreply@github.com
c7cf91c46235f4152c9293077d627cce2c1d7f38
930c5bacbe08d287fa732fb8b5f46391ccce548e
/blog/blogpost/urls.py
e0ddf1f286eb7f3c168186f426451d891e810af8
[]
no_license
Gourab342/DjangoRECIPEBlogProject
1f4c4dbfc5ae637070f8c4d1b182eb85da4063b3
2d0c248f48230be384180506e0c8ecd90b7f2896
refs/heads/master
2023-04-04T10:26:50.853672
2021-04-15T18:17:29
2021-04-15T18:17:29
358,273,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
from django.urls import path from . import views, bloggerview from .bloggerview import EditBlogPost urlpatterns = [ path('', views.home, name="home"), path('register', views.register, name="register"), path('login', views.log_in, name="login"), path('doLogin', views.doLogin, name="doLogin"), path...
[ "malakaragourab1234@gmail.com" ]
malakaragourab1234@gmail.com
ab41c3fd9597dfbdad46976ce2975798e0607750
62b834fad237a6488c130fce82611075da63b2a5
/DCSwtich.py
b7e73c27cc5a655e6a3013d372878211b0563617
[]
no_license
UtorYeung/dominant_contract_switch
84a365272bacbe1b422b317feea34f0098026145
f6c1400aefb84348ccd75c29e6e40399f93c3cee
refs/heads/master
2021-10-10T17:16:38.859547
2019-01-14T13:01:11
2019-01-14T13:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
# encoding: UTF-8 """ 2019.01.07 负责主力合约切换相关功能 https://github.com/mhxueshan/dominant_contract_switch """ from rb import SHFE_RB CLASS_DIC = {"SHFE.RB": SHFE_RB} class DCSwitch(object): def __init__(self, symbol): """ init :param symbol: 品种 SHFE.RB.bar.60 """ t1 = symbol....
[ "mhr-68@qq.com" ]
mhr-68@qq.com
d982e57321e175c443864bf3e6feb6695a2bf6b8
5b7cb6735037a27993debca0999627c25ee3f6e3
/library-manager/library-manager/settings.py
6f6a8c21fe71178b4e77902d68973421723cc953
[]
no_license
Huzaifa785/library-manager-software-using-django
b311b904375be29acc455060f702ee16b69b6d0b
b569f18b06a75ed0a4a08ca16c95885799e3ab16
refs/heads/master
2023-01-27T15:12:31.642952
2020-11-22T07:09:09
2020-11-22T07:09:09
314,790,168
1
0
null
null
null
null
UTF-8
Python
false
false
3,373
py
""" Django settings for library-manager project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from...
[ "huzaifa.coder785@gmail.com" ]
huzaifa.coder785@gmail.com
ff4ae30a5bc2aa2818fcf1314ca8b8c98913fbaf
c8be7becd7466bd6639382156e0886fce3cfb386
/array_list_repeat.py
cd49a02546a3accdc328440da4354653614c9424
[]
no_license
wlgud0402/pyfiles
864db71827aba5653d53320322eb8de8b0a5fc49
0e8b96c4bbfb20e1b5667ce482abe75061662299
refs/heads/master
2021-02-28T00:42:51.321207
2020-03-09T10:48:52
2020-03-09T10:48:52
245,648,824
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
#반복문을 사용한 리스트 생성 array = [] for i in range(0,20,2): array.append(i * i) print(array) print() #리스트 안에 for문 사용하기 list_a = [z * z for z in range(0, 20, 2)] #최종결과를 앞에 작성 z*z print(list_a) print() #if문도 추가하기 newarray = [1,2,3,4,5,6,7,8,9] output = [number for number in newarray if number != 3] print(output)
[ "wlgudrlgus@naver.com" ]
wlgudrlgus@naver.com
59c206ec9c74dc43ae1396d3c86191d5c9202576
ccfda3333bf17dc83cd094ead340daedd21e9426
/src/module_and_package/module/module.py
7fb46c64ed7c38ce7ddec6dcc4ac1d63a924f6be
[]
no_license
rajivmanivannan/learning-python
cbf3c1231df4af62e3d64a35d468ddff58c9e95f
ca91767226882cf104ca81cb2741168aa374f078
refs/heads/master
2021-02-10T08:30:48.514452
2020-03-15T15:50:43
2020-03-15T15:50:43
244,365,644
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
#!/usr/bin/env python3 # encoding= utf-8 """ Python Modules Module is nothing but a code library. A file containing a set of functions you want to include in your application. """ import sys sys.path.append('/src/module_and_package/module') import arithmetic print(arithmetic.add(1,2)) # Create an alias when you ...
[ "rajivroczzz@gmail.com" ]
rajivroczzz@gmail.com
4053abd93af9ad0c0526a0ef1774e9fd4a1981cc
97d78f39d39abcc54b1e71dea5338783fd1e27d6
/userapp/models.py
7716197c59e40177aa812a6cc2333b88a344f2a0
[]
no_license
AmitMhamunkar/FoodMarket
00242cd373fe98d65f32e4eacb996848c737a0be
449528ae1070296b32d3e914a7b9b9c1d9882ddc
refs/heads/master
2022-09-18T14:17:06.206568
2020-06-02T08:26:19
2020-06-02T08:26:19
268,738,764
1
0
null
null
null
null
UTF-8
Python
false
false
676
py
from django.db import models # Create your models here. class UserModel(models.Model): #utypes=[('User','User'),('Admin','Admin')] #name=models.CharField(max_length=30,default='NA') #addr=models.CharField(max_length=30,default='NA') #contact=models.IntegerField(default=0) email=models.CharField(max_length=30) p...
[ "amitmhamunkar100@gmail.com" ]
amitmhamunkar100@gmail.com
204fe9e94a0a9b3130a44e0363116f41f550c9d7
df5ec9882071b9d17a3b4a1f044dec2925897f26
/euler3.py
ca100ffeeb3e504aa637a083d19de6d048bf5a8e
[]
no_license
way0utwest/projecteuler
df2dae0e751aeba971107c6abf1e53ad6bafb3ed
e6db912e579b35d8289ef985c99ac61d3b8db6ac
refs/heads/main
2021-09-21T03:55:46.471728
2021-08-12T23:46:42
2021-08-12T23:46:42
136,180,616
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
import sys def GetFactors(bignumber): factors = [] potentialfactor = 2 while potentialfactor < (bignumber / 2): largefactor = bignumber // potentialfactor if bignumber % potentialfactor == 0: if IsPrime(largefactor): if (largefactor) not in factors: ...
[ "sjones@sqlservercentral.com" ]
sjones@sqlservercentral.com
8ea079a13dc4c3ceec9f19bfd3a0c095d81c8aba
99dd24de1ab5e6a35afda75114f1d61a58c3a432
/firstever.py
6b4155352cf2a6dcfa78886362085f56ca652d31
[]
no_license
mkulg/testrepo
b085f22bac67e08694a0dc770cb6feb9ef051f4c
821de2f953c823dd6ae1384cb46f1f6a6643f65d
refs/heads/main
2023-07-08T03:04:59.758760
2021-08-02T05:11:04
2021-08-02T05:11:04
391,821,827
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
# Display text print("New python file")
[ "noreply@github.com" ]
noreply@github.com
df959fbdab79122916da6992d481ab1ac1b5c61c
f74ce4b0c4049e2a776e50eadb0ca1648153ce3b
/assignments/Loops/loops5.py
d7f4e1cf558d76ba63a8c0279afbd8d308f6f4d0
[]
no_license
Hallldor/school_projects
91edd54d85592ce38310bcbc0c1102cccfc616fb
ff9f31d0077df985818d64c4086c79632356c15e
refs/heads/master
2022-01-28T16:46:10.538279
2018-11-01T14:32:16
2018-11-01T14:32:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
108
py
my_int = int(input("Insert a number ")) while my_int > 0: print (my_int) my_int -= 1 print("Boom!")
[ "halldorv18@ru.is" ]
halldorv18@ru.is
f77f0775639b709b2c1b351766ef9414bff640e3
4fa19bf991a2eeda6f61d6b1c612fd2d3d5df873
/backward_warp.py
46c9e5253120eaf9b339f9865b0f5c990ae1785e
[]
no_license
wbhu/warping-torch
4a27963e28a5eb27571c98d5f4d19e2af28365f8
4e5b27f5a5d9b0157bf004dd321cadec9248310f
refs/heads/master
2022-11-12T06:23:50.111854
2020-07-04T07:35:46
2020-07-04T07:35:46
277,061,583
4
0
null
null
null
null
UTF-8
Python
false
false
1,589
py
#!/usr/bin/env python """ File Name : warping-torch-backward_warp date : 4/7/2020 Author : wenbo Email : huwenbodut@gmail.com Description : _ _ ( |---/ ) ) . . ( _________________...
[ "huwenbodut@gmail.com" ]
huwenbodut@gmail.com
bce103dc7b6556103bcf4ee078ccb63cf0a269bc
95f7ec6df7721b5de9a5667b214f4422fb52f56a
/tavern/util/loader/load_case.py
81bb34579b4aed81e856f8f4b65b28eae3dfa898
[ "MIT" ]
permissive
BangWork/tavern
4ba1f9505c7593079be294788732b13f585af9d2
050308841461894a28b07bd2ece85a9b48ff2df4
refs/heads/master
2020-04-12T13:56:04.454198
2019-10-12T10:03:03
2019-10-12T10:03:03
162,536,746
0
0
MIT
2019-07-08T07:01:35
2018-12-20T06:30:48
Python
UTF-8
Python
false
false
462
py
import logging import os.path from .yaml_loader import IncludeLoader from .path_loader import yaml_loader logger = logging.getLogger(__name__) def construct_include(loader, node): """Include file referenced at node.""" # pylint: disable=protected-access file_path = loader.construct_scalar(node) file_...
[ "binavid.chen@gmail.com" ]
binavid.chen@gmail.com
b7b1acbddef53902013733177a39e8a8aef6c88d
19e2634115335fb980297b5d8534337645b55f66
/Assignment 4/editsave.py
6b733d095f34083ff70c544ce06e41540c307528
[]
no_license
DavidVan/CECS-478H
89977429d517a60a9600facda78bf5f25621156f
cfe2142b66377bdc18eaf87079080eb68076b6fc
refs/heads/master
2021-11-29T08:32:05.926249
2021-11-28T07:20:56
2021-11-28T07:20:56
122,380,052
0
0
null
null
null
null
UTF-8
Python
false
false
2,074
py
import struct def main(): with open('SAVED.GAM', 'r+b') as save: print('Editing Ultima 5 Save File...\n') str = int(input('Enter the desired amount of STR: ')) int_ = int(input('Enter the desired amount of INT: ')) dex = int(input('Enter the desired amount of DEX: ')) hp = i...
[ "David@DavidVan.net" ]
David@DavidVan.net
af1b04d6cf97703519e4498002d19f6698381301
5c8139f1e57e06c7eaf603bd8fe74d9f22620513
/PartB/Py判断是否为合理的括号.py
2a3605334e6226a0c403baec737ed955220c4db7
[]
no_license
madeibao/PythonAlgorithm
c8a11d298617d1abb12a72461665583c6a44f9d2
b4c8a75e724a674812b8a38c0202485776445d89
refs/heads/master
2023-04-03T07:18:49.842063
2021-04-11T12:02:40
2021-04-11T12:02:40
325,269,130
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
class Solution: def isValid(self, s: str) -> bool: dic = {'{': '}', '[': ']', '(': ')', '?': '?'} stack = ['?'] for c in s: if c in dic: stack.append(c) elif dic[stack.pop()] != c: return False return len(stack) == 1 if __name__ == '__main__': s = Solut...
[ "2901429479@qq.com" ]
2901429479@qq.com
1131b28b0a153d0d74427cea61cfce5a5b8d28f4
90cc37b6cc67bce397411631587a14be72085d2e
/tests/unit/test_deployment.py
6cda651e7bc2a1406caa35b50b68d8220d34e492
[ "Unlicense" ]
permissive
michaeljoseph/righteous
49d36bb895945a26d5db4b3d13a2e303aef3ef93
ba95c574a94df85aca33397cc77b053e7f545705
refs/heads/master
2016-09-06T11:01:57.478168
2013-10-17T11:00:27
2013-10-17T11:00:27
2,584,142
2
1
null
2013-10-18T14:53:04
2011-10-16T00:07:14
Python
UTF-8
Python
false
false
2,389
py
from righteous.compat import urlencode from .base import ApiTestCase import righteous class DeploymentTestCase(ApiTestCase): def setUp(self): self.setup_patching('righteous.api.deployment._request') super(DeploymentTestCase, self).setUp() def test_list_deployments(self): righteous.in...
[ "michaeljoseph+github@gmail.com" ]
michaeljoseph+github@gmail.com
0ac74b8fcc292adb87b359e8d815025625d1b6c4
e6208febf7e34d4108422c6da54453373733a421
/sdks/python/client/argo_workflows/model/io_argoproj_workflow_v1alpha1_workflow_create_request.py
c0a6b77db6997e8fac5c7c8803d195ea356bad80
[ "Apache-2.0" ]
permissive
wreed4/argo
05889e5bb7738d534660c58a7ec71c454e6ac9bb
41f94310b0f7fee1ccd533849bb3af7f1ad4f672
refs/heads/master
2023-01-22T05:32:12.254485
2022-01-27T21:24:45
2022-01-27T22:02:22
233,143,964
0
0
Apache-2.0
2023-01-17T19:04:43
2020-01-10T22:56:25
Go
UTF-8
Python
false
false
12,633
py
""" Argo Server API You can get examples of requests and responses by using the CLI with `--gloglevel=9`, e.g. `argo list --gloglevel=9` # noqa: E501 The version of the OpenAPI document: VERSION Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from ...
[ "noreply@github.com" ]
noreply@github.com
b8a299a0c761353597d9f121dc59f6a0462ecd45
6d0f9f6790fb0451361bbcfb13706c85c6dcfdbc
/serpentTools/tests/test_ResultsReader.py
a8924952ce78b5ffc4ca69372ba9171b66de0116
[ "MIT" ]
permissive
gonuke/serpent-tools
4d3fae807b9fce9e0f82632e6c9eada3b9c6bba0
ce9df61484d8289f91bbd5224eba5ea5569423e5
refs/heads/master
2020-03-22T07:07:57.280551
2018-06-11T12:49:52
2018-06-11T12:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,803
py
"""Test the results reader.""" import os import unittest import numpy import six from serpentTools.settings import rc from serpentTools.tests import TEST_ROOT from serpentTools.parsers import ResultsReader from serpentTools.messages import SerpentToolsException class TestBadFiles(unittest.TestCase): """ T...
[ "noreply@github.com" ]
noreply@github.com
b8d8957ac4a50ca4946cf286cc5e6c799228008c
d4e71e820af69168b57283fa4967c00682457fbc
/router.py
85210eb55f9907ec69e40877551d003d4fa535df
[]
no_license
bermuda2810/envi_inference
eef436c9af61e40b1243ee36be7ea48dd7af7085
053275c14c314d5c15c880fb5a4828dc38b870af
refs/heads/master
2020-06-07T03:51:29.382855
2019-06-20T12:05:40
2019-06-20T12:05:40
192,878,875
0
0
null
2019-06-20T08:30:35
2019-06-20T08:15:55
Python
UTF-8
Python
false
false
1,046
py
from __future__ import print_function from future.standard_library import install_aliases from flask import Flask, request, make_response from flask_cors import CORS import json import os from bot import translation install_aliases() app = Flask(__name__) cors = CORS(app) @app.route("/") def index(): return "Wel...
[ "vietbq@nal.vn" ]
vietbq@nal.vn
01e81a1f99193030b8a12ff979b36ab877ecbdbd
9dd14d428b2513376f0e1c3ec06a3b06fc60fc73
/solution/operators/sdi_pandas_0.0.37/sdi_pandas_0.0.36/content/files/vflow/subengines/com/sap/python36/operators/sdi_pandas/sample/sample.py
41fd2ff0d55d9875b9f252b305861c73eef12369
[ "MIT" ]
permissive
thhapke/sdi_pandas
38b1a3a688c62621fb858f03e4ac2f3bcbc20b88
7a9108007459260a30ea7ee404a76b42861c81c5
refs/heads/master
2020-07-24T10:40:05.643337
2020-04-08T06:59:52
2020-04-08T06:59:52
207,894,698
3
1
null
null
null
null
UTF-8
Python
false
false
6,795
py
import sdi_utils.gensolution as gs import sdi_utils.set_logging as slog import sdi_utils.textfield_parser as tfp import sdi_utils.tprogress as tp import pandas as pd EXAMPLE_ROWS = 5 try: api except NameError: class api: class Message: def __init__(self,body = None,attributes = ""): ...
[ "53856509+thhapke@users.noreply.github.com" ]
53856509+thhapke@users.noreply.github.com
3c49719a402982f9cd144fe51380b257eeb1c980
c4f984e22d5d53e4e50db07df8456ffc9f185f5d
/graphs/tests/graph_test.py
21b9cd7001168581cd7011d2150eb15bad5384d8
[]
no_license
Bo0mer/laughing-dangerzone
fc140fd785d1428d7a74a251399b6220941d5a8b
3e80f5debc24a2c4473ea3e34c703fd2e932d4fc
refs/heads/master
2021-01-17T17:07:34.253857
2013-07-05T10:23:26
2013-07-05T10:23:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,850
py
import unittest from graphs.graphs import Graph class BasicGraphTest(unittest.TestCase): def setUp(self): self.nodes = [1, 'Sofia', 'Bourgas', 5.6555] self.edges = [(1, 'Sofia'), ('Sofia', 'Bourgas')] self.graph = Graph() for node in self.nodes: self.graph.add_node(no...
[ "bo0merzzz@gmail.com" ]
bo0merzzz@gmail.com
da6990b212765548549d6a7ed409b29dfd3ff68a
758ca5e2bf50016fbac7022ac5f9036aa8aa099b
/LeetCodeWeb.py
3359b7e6c9cd5b4f92bd6298419aa98886ca70f5
[]
no_license
zhantong/leetcode-web
04f17901e4bf5a6065e35dd126dd7bbcc8b1128f
3f79f5463e77ed7eab8b808a7004eea8c29fc35e
refs/heads/master
2021-01-02T22:54:54.797228
2017-10-19T02:00:48
2017-10-19T02:00:48
99,420,755
0
0
null
null
null
null
UTF-8
Python
false
false
2,913
py
from flask import Flask from flask import render_template from flask import request from flask import redirect from flask import g import os.path from pygments import highlight from pygments.lexers import get_lexer_by_name from pygments.formatters import HtmlFormatter import sqlite3 app = Flask(__name__) ROOT = os.pat...
[ "zhantong1994@163.com" ]
zhantong1994@163.com
3f864b3d1d5178eb9a78d7a79925324374c64f2b
a82cfe35fecd002d36e429caef3a11a8a886af44
/curso-em-video/fibonacci.py
176ca299ae49cddecbf8c7c92747b7184f8e298d
[]
no_license
na-thy/estudos-python
3e0ab1f07aa61fe52bad9b2d677a924f2df51e8a
5be4a76a302e15034f998a3838c77f7a75737e9d
refs/heads/master
2023-01-22T09:31:21.953739
2020-12-03T17:38:04
2020-12-03T17:38:04
269,774,328
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
import time cache = {} def fibonacci(n): global cache if n in cache: return cache[n] if n == 0: result = 0 elif n == 1: result = 1 else: result = fibonacci(n-1) + fibonacci(n-2) cache[n] = result return result start = time.time() for i in range(0,21): ...
[ "nathy.madureira@gmail.com" ]
nathy.madureira@gmail.com
e6fbae53f15c88252258810835a67effd5b1dedc
444a9480bce2035565332d4d4654244c0b5cd47b
/research/cv/PyramidBox/src/dataset.py
1ba7f67436e429a92d5be659dd9f8a94bac85a93
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
6,634
py
# Copyright 2022 Huawei Technologies Co., Ltd # # 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...
[ "1162447022@qq.com" ]
1162447022@qq.com
444db5d3cea29b642c5fbcc9046c5ad11b7835bd
44f2ec0b954c6444397c5c9fe2e8b11f77096565
/drive.py
360690ace39c05fa800ca50ae0e11ae2a4955628
[]
no_license
aragun/behavioralcloning
9b2c5c850da1db4b48a35b6bbf7adfae023a6ec7
5a6ee9cb89d7151c9c4b092d8b955eb0758f738f
refs/heads/master
2021-01-12T05:08:19.323829
2017-02-05T09:58:07
2017-02-05T09:58:07
77,865,597
1
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
import argparse import base64 import json from scipy.misc import imresize import numpy as np import socketio import eventlet import eventlet.wsgi import time from PIL import Image from PIL import ImageOps from flask import Flask, render_template from io import BytesIO from keras.models import model_from_json # Fix e...
[ "anuragprateek@gmail.com" ]
anuragprateek@gmail.com
20c8f2ee5b139e07fc2887c5fd8d627d98c47418
2b0189b9a2dee259efce1b3a781f0af47709eb42
/Chapter_8/8-11_Unchanged_Magicians.py
30020d3763f9dcdb0cad2422d3640557b43404c3
[]
no_license
rlongo02/Python-Book-Exercises
c4a8503753fe1048503ee8b77a389ea15d1da651
fec20482069e9b79ba4ab9ac049ec1bac5c8ca85
refs/heads/master
2020-06-19T05:51:42.116008
2019-07-16T15:24:58
2019-07-16T15:24:58
196,587,224
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
magicians = ['harry', 'ron', 'albus', 'draco'] copy_magicians = magicians[:] def show_magicians(group): for magician in group: print(magician.title()) def make_great(group): for magician in group: magician = group.pop(0) great_magician = "great " + magician group.append(great_m...
[ "noreply@github.com" ]
noreply@github.com
6e875096a2480ee4a294737b2fac3a8b6a82e631
ee30be0c44e8e64e1d947134f35aebfdc98deec6
/MasteringPythonDataAnalysis/t1.py
d943cdf9415ff6b1fc07b287d12ab60c3ba32c24
[]
no_license
herofyf/python_examples
facf614fdce795b989316feb41a049161e65674d
5d06d1713321a8843da71eee79770c784c193480
refs/heads/master
2021-06-11T12:02:28.218089
2017-02-14T06:42:15
2017-02-14T06:42:15
81,889,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np from MasteringPythonDataAnalysis.mydespine import despine co2_gr = pd.read_csv('co2_gr_gl.txt', delim_whitespace=True, skiprows=62, names=['year', 'rate', 'err']) def showOrigin(): fig, ax = plt.subplots(1,1) a...
[ "herofyf@hotmail.com" ]
herofyf@hotmail.com
7fec3d04fbd22569461ebff08189a30e332dd449
a2106b7fe56ccb03ee923ccc53e3f7cdf8e65b62
/bayes/rssTest.py
370e109b2d97a0b8fa9ecc8644bc48d5ccd86b54
[]
no_license
MayYk/MachineLearninginAction
0a46d9525a6cb59d9be7587ebded86b595eb08d7
6ddf7e77cdcf0e0ba99eb963aa8c0751bb59fea2
refs/heads/master
2020-03-07T03:32:51.855369
2019-07-11T01:17:31
2019-07-11T01:17:31
127,239,305
2
0
null
null
null
null
UTF-8
Python
false
false
3,434
py
#!user/bin/env python # _*_ coding:utf-8 _*_ import bayes from numpy import * import feedparser # RSS源分类器及高频词去除函数 def calcMostFreq(vocabList, fullText): import operator freqDict = {} for token in vocabList: freqDict[token] = fullText.count(token) sortedFreq = sorted(freqDict.items(), key = opera...
[ "471519146@qq.com" ]
471519146@qq.com
f41bb92d7a8588b556a3187e89551e60d327b03e
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/gPJTSqmJ4qQPxRg5a_21.py
9fc9af14fff56aa6101c0d3a246a2a1ebb7d3158
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
79
py
def func(num): txt = str(num) return sum(int(i) - len(txt) for i in txt)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b1e4cbf0ffddc1664eba106d1db12c5e68f7c59a
c1b901ed1eee4d5dc2ee252cd51b4e3c14f02554
/Lime/output_extract.py
22f7cbaed309f1eb2d7d5ed7fcd449a272591465
[ "MIT" ]
permissive
lengjiayi/SpeakerVerifiaction-pytorch
70a86c9c9029a214679e636917fb305a85a94182
99eb8de3357c85e2b7576da2a742be2ffd773ead
refs/heads/master
2023-07-09T20:09:07.715305
2021-08-19T11:03:28
2021-08-19T11:03:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,168
py
#!/usr/bin/env python # encoding: utf-8 """ @Author: yangwenhao @Contact: 874681044@qq.com @Software: PyCharm @File: output_extract.py @Time: 2020/3/21 5:57 PM @Overview: """ from __future__ import print_function import argparse import json import os import pickle import random import time from collections import Ord...
[ "874681044@qq.com" ]
874681044@qq.com
fce51080a2168f4847bf2527f71160a3f4db1567
46e652b02bcc7c7fd4dedbf08ac9addd2bf92200
/tests/gcloud_credentials.py
9a0e1ce0e0870a735f8d2519be68fdbc563d5559
[ "Apache-2.0" ]
permissive
rotemvil1/ndb-orm
f61a84ca2360f45e0fc35959e7241582402e64b0
54880d535d2853b6e657f60fb205f9f145f4a5cc
refs/heads/master
2020-07-04T08:52:57.850460
2019-08-13T22:14:52
2019-08-13T22:14:52
202,229,900
0
0
Apache-2.0
2019-08-13T22:02:25
2019-08-13T22:02:25
null
UTF-8
Python
false
false
833
py
# coding: utf-8 # vim: sts=2:ts=2:sw=2 import google.auth.credentials # from https://github.com/GoogleCloudPlatform/google-cloud-python/blob/master/test_utils/test_utils/system.py class EmulatorCredentials(google.auth.credentials.Credentials): """A mock credential object. Used to avoid unnecessary token refreshin...
[ "elastic.code@gmail.com" ]
elastic.code@gmail.com
3a07068cceab13f0b25a268e962e98b265899191
9d086255b9fc36a4b91a90a944f81a5f0c517fe1
/evaluation/python_scripts/convert_cm_to_metis.py
94ba60070f0df7c7a2f916375664041e2ce0bdfb
[]
no_license
AlleHop/qtm-weighted-evaluation
f5be33b2bf8bfe6c744924e55d929014c87334c0
4b4152fc51e9acef140a2238d05fdedc93b8a968
refs/heads/main
2023-06-06T13:57:50.194361
2021-06-22T16:48:03
2021-06-22T16:48:03
313,912,220
0
0
null
null
null
null
UTF-8
Python
false
false
1,395
py
#!/usr/bin/env python3 import argparse if __name__ == '__main__': parser = argparse.ArgumentParser(description='Convert protein .cm files to metis graph files') parser.add_argument('--threshold', help='The threshold', default=0, type=float) parser.add_argument('input', help='The input file') parser.ad...
[ "ujeyh@student.kit.edu" ]
ujeyh@student.kit.edu
298867573fe842d683f4131744c0ce53363adb83
83498441b790a14e62b70c2cf374e828f75e8801
/flaskapplication/actions/mltasks/variables.py
22de10cf4af6928fb75e582181c2bf4e84eb8856
[]
no_license
amruthsagarkuppili/MLtimeseriesthesis
3f9c2cc0887c72e5ebdd576fcedc2ea4cc8cc902
d6039f3bfd9803d7cd51364058f6b0bcc7716a76
refs/heads/master
2023-07-14T15:25:38.898261
2021-08-30T20:11:27
2021-08-30T20:11:27
391,723,566
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
directoryloc = 'flaskapplication/actions/generatedcsv/' historypredloc= '/Users/amruthkuppili/Desktop/proj/SMAFlaskOrganized/flaskapplication/actions/generatedcsv/history_predictions.csv' predloc = '/Users/amruthkuppili/Desktop/proj/SMAFlaskOrganized/flaskapplication/actions/generatedcsv/predictions.csv' scalermodel =...
[ "amruth.sagar.kuppili@outlook.com" ]
amruth.sagar.kuppili@outlook.com
063c1d4ad0571db3958a3dc5ba8a0060c1892f19
5c9d0f7a0b74613dc633004dcaa000f36cdd6096
/tests/test_workspace.py
0ea2e3c65e25ce71f80a652a0c8e9cadabbd6da7
[ "Apache-2.0" ]
permissive
mayani-nv/model_navigator
05291ed5f2fea7fd286da38f231cf3e391d2f82a
925255bbeb9be7ac6f35407267e87a29a33087ab
refs/heads/main
2023-07-17T02:24:13.432380
2021-08-17T15:24:15
2021-08-17T15:24:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,108
py
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "pziecina@nvidia.com" ]
pziecina@nvidia.com
a48d018ca8646335dbdf1231fa79901aa250f7d4
f2b3b709a4e85266331967f958bd517caa7fb8d2
/stocks/prophet_example.py
0fe2fe7b292e4981592f7987d9598eda921efcd9
[]
no_license
XiuqiXi/stock_US
7f863b2f7ee3427d0a874a1f563bfae2ee497514
549ef3db14c0450fc5b4f84f1528956283974248
refs/heads/master
2023-06-29T11:37:09.212536
2021-08-01T03:04:26
2021-08-01T03:04:26
381,985,503
0
0
null
null
null
null
UTF-8
Python
false
false
1,864
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 8 16:19:24 2021 @author: xixiu """ import datetime import time import pandas as pd from pandas import Series,DataFrame from Api import download_data from prophet import Prophet import matplotlib.pyplot as plt config = { "alpha_vantage": { "function":"TIME_...
[ "xixiuqi@outlook.com" ]
xixiuqi@outlook.com
9b99c2c6ce68f75017d2b6b6789bddaa64d07d51
5c44b0d9c0253e266704d50b4a96a4302f2e3886
/test_e2e/test_app.py
50b1052f8fcda88b64d8d5218ae14483ccb9283a
[]
no_license
arjpaiva/DevOps-Course-Starter
2c2e83b1d8ff28a31c90cf6c2aee1abae8940478
ce2efc384d15d1f218b37c2fb5ca9059a12100e3
refs/heads/master
2023-07-10T13:07:16.153098
2021-05-06T10:19:13
2021-05-06T10:19:13
280,157,553
0
0
null
2021-05-06T10:19:14
2020-07-16T13:11:46
Python
UTF-8
Python
false
false
2,517
py
import os import app import pytest import trello_service from card import Status from dotenv import load_dotenv, find_dotenv from selenium import webdriver from threading import Thread @pytest.fixture(scope="module") def driver(): opts = webdriver.ChromeOptions() opts.add_argument('--headless') opts.add_a...
[ "anarita.jegundodepaiva@aexp.com" ]
anarita.jegundodepaiva@aexp.com
409113163ba422295c60390e520c2e239aed1d2a
373aca822ab5068a4e4184821b72614cf45ebb89
/app/dashboard/io_adafruit.py
b0c0b2cde21f4f4735d501d3bbfeac4cfe40dd2e
[]
no_license
ajinathkumbhar/iot-rasp-phms
7c641ebd816f44dcf3f4ea1c34b924f1b48251cc
6ed5988909961af23b1e604a0f2e827c41603aec
refs/heads/stable
2020-04-07T03:17:21.338962
2019-03-07T17:17:23
2019-03-07T17:17:23
158,010,337
1
0
null
2019-03-07T17:17:24
2018-11-17T17:56:37
Python
UTF-8
Python
false
false
3,465
py
# Example of using the MQTT client class to subscribe to and publish feed values. # Import standard python modules. import random import sys import time from app.other import utils from app.sensors.accevents import AccEvents import os import datetime # Import Adafruit IO MQTT client. from Adafruit_IO import MQTTClien...
[ "ajinathkumbhar@gmail.com" ]
ajinathkumbhar@gmail.com
0260a70149d8404d3ddc7b54e1d98b54c8c83f32
466fe2851d646f9a048206c4cf2e8681a438fc13
/w3resource_strings/remove_all_consecutive_duplicates.py
28bb59f63a576dcf658f9392df95c6b9451a936e
[]
no_license
curious2015/30-days-of-code-python
e7b9de00585854849f847a2c44636af4b48c070a
d60bd480a2019e5b22d6339ea12537e6638195c8
refs/heads/master
2023-03-16T17:29:51.674695
2020-07-07T00:44:01
2020-07-07T00:44:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
""" Remove all consecutive duplicates of a given string """ import itertools str1 = "xxxxyyyyyyxxxxxxyyyyyyyy" grouped = itertools.groupby(str1) for group in grouped: print(group) for grouper in group[1]: print(grouper) result = "" for i in grouped: result += i[0] print(result) result = "".join(...
[ "korchak.tetiana@gmail.com" ]
korchak.tetiana@gmail.com
e80525c8787bc3f08f9191d08d0fd04eff310d11
fea0183acd5cfdbed49a1b4fd401187e07e496de
/userbot/plugins/afk.py
14fb61295876666d487e598cd71acf3b2ec0ff30
[ "MIT" ]
permissive
newtoworld/HardcoreUserbot
cc8979692f420f8d81828849bc14c804a6a03c76
fcf2b5c5496a8f992e940fdc28f35ae5052a0c3e
refs/heads/master
2021-02-08T21:16:13.595912
2020-03-01T18:30:00
2020-03-01T18:30:00
244,198,113
0
0
null
2020-03-01T18:02:21
2020-03-01T18:02:20
null
UTF-8
Python
false
false
5,494
py
"""AFK Plugin for @UniBorg Syntax: .afk REASON""" import asyncio import datetime from telethon import events from telethon.tl import functions, types global USER_AFK # pylint:disable=E0602 global afk_time # pylint:disable=E0602 global last_afk_message # pylint:disable=E0602 USER_AFK = {} afk_time = None last_afk_m...
[ "noreply@github.com" ]
noreply@github.com
75e15e4e4ea0b893f51a120fa48a56982b457760
8523d65983af15b637c0c205edfe2c0e06a5a259
/coffea/processor/servicex/__init__.py
0b5c5727df7b686bcf972657b798b931cdcc8cee
[ "BSD-3-Clause" ]
permissive
kmohrman/coffea
c77d723a4458aec6103da1d4f1465dc1dc0e8650
1963fc9371552b348a15084f5bde9390be1e6e1c
refs/heads/master
2023-05-09T10:07:47.962120
2021-06-01T23:32:34
2021-06-01T23:32:34
373,205,081
0
0
null
null
null
null
UTF-8
Python
false
false
1,757
py
# Copyright (c) 2019, IRIS-HEP # All rights reserved. # # 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 notice, this # list of conditions and the foll...
[ "ben@peartreestudio.net" ]
ben@peartreestudio.net
d02675af36e561effeb7be12519b74aee750f8f3
66dc96d4ef8b7edcdfbb2eacdd95d6044974458f
/myvote/tests/views/test_myvote_explore.py
9cdbf71b0952d7b46ac63f52ea267ba5ad71aa85
[]
no_license
jessereitz/myvote
26d627f3b501fe7c041c39f18cc4252178c3e672
63262c4b93d1298b7c0519da5fdc365f62eea13e
refs/heads/master
2021-09-07T09:34:04.288183
2018-02-21T00:44:19
2018-02-21T00:44:19
118,203,451
0
0
null
null
null
null
UTF-8
Python
false
false
5,521
py
from django.contrib.auth.models import User from django.urls import reverse, resolve from django.test import TestCase from myvote.models import Poll, Option, Vote from tests.testing_helpers import create_test_user, create_polls # CONSTANTS POLLS_PER_PAGE = 10 USERNAME = 'testuser' PASSWORD = 'testpassword12' class E...
[ "jessereitz1@gmail.com" ]
jessereitz1@gmail.com
4c01dcd4b766e3193db66c69655f283ea5b409d4
3283190a5998be4d9adda81671920de2cb9880b3
/code/temple.py
61749da68364939f2b932b8c25380e4f128aec01
[]
no_license
tritechsc/mcpi-python
0c114471376d80294be98aa839da0026926f58db
a49e95172796cfc78736ee102c5b4fcdd7f28a5c
refs/heads/master
2023-06-03T09:03:08.940250
2021-06-24T21:34:59
2021-06-24T21:34:59
124,266,394
3
2
null
null
null
null
UTF-8
Python
false
false
7,287
py
#Juan Barraza mc = Minecraft.create("10.183.0.2", 4711) from mcpi.minecraft import Minecraft from mcpi import block mc = Minecraft.create() x, y, z = mc.player.getPos() zz = z + 1 mc.setBlock(x,y, zz, 7) mc.setBlock(x+1,y,zz, 7) mc.setBlock(x+2,y,zz, 7) mc.setBlock(x...
[ "sift@owt.com" ]
sift@owt.com
42d1fff690b31833db3a4e0505896168d8e455d6
2bb9ed1174287932f180f7e52dba4847499ecb67
/treetest2/abstract_base.py
93e92e93d0f8cb17fab10d5a71df3d51e0c6c94a
[ "MIT" ]
permissive
Christian-B/my_spinnaker
1727dcfd965d4f724adcfc896b05e75cea8e1aed
fc0e52b90ec3ecc16d721abffb569e334fea885c
refs/heads/master
2023-07-21T18:21:12.906743
2023-07-20T10:11:04
2023-07-20T10:11:04
83,024,419
0
0
null
null
null
null
UTF-8
Python
false
false
2,555
py
# Trimmed down version of abc.py # If usin #@add_metaclass require from six import add_metaclass def abstractmethod(funcobj): """A decorator indicating abstract methods. Requires that the metaclass is AbstractBase or derived from it. A class that has a metaclass derived from AbstractBase cannot be ...
[ "brenninc@cs.man.ac.uk" ]
brenninc@cs.man.ac.uk
330058010818406687c80f7723e26b445b282e69
5be2fc94724cc05d2dc449e0f5b40d9fb07edd51
/tests/test_biosample.py
4e618528f17766b407935e78b014a86d7a17a3b8
[ "MIT" ]
permissive
LucaCappelletti94/encodeproject
b84614683c8652f812f2c01b0002903d849a080b
a2bcae8cfbb505a978ecea95c3a007f65625c57a
refs/heads/master
2022-05-07T13:16:58.774258
2022-04-27T07:51:22
2022-04-27T07:51:22
216,822,791
1
0
null
null
null
null
UTF-8
Python
false
false
245
py
from encodeproject import biosample, biosamples def test_biosample(): biosample("ENCSR000EDP") biosample("ENCSR000EDP", False) def test_biosamples(): biosamples(["ENCFF454HMH", "ENCFF663AYS"]) biosamples(["ENCSR000EDP"], False)
[ "cappelletti.luca94@gmail.com" ]
cappelletti.luca94@gmail.com
9a8deb9549b70baf68049a803169f4d62d7914ea
4369ee62d49399c7214389d0fc255b32fd302f1e
/train/tf_fix.py
39f6f563a77216514d533048ca18955ada7f3cd9
[]
no_license
BLANK2077/OpenVPU
52846fa44140ac3c4897be5e1382189f405afcd0
93fd6d59d718b2088607c2f55c1ec7947ab38073
refs/heads/master
2020-06-11T17:26:48.636272
2019-05-24T08:06:26
2019-05-24T08:06:26
194,036,245
2
0
null
2019-06-27T06:31:40
2019-06-27T06:31:40
null
UTF-8
Python
false
false
7,745
py
# -*- coding: utf-8 -*- import input_data import tensorflow as tf import numpy as np import math import struct Tc=32 Tk=16 Tp=16 Logic_MEM_DEP=256 Logic_MEM_NUM=16 BIT_WIDTH=16; def Get_FeatureLength(H,W,CH): return (Tk*H*W*math.floor((CH+Tk-1)/Tk)) def Get_WeightLength(Ky,Kx,CHin,CHout): return (Tc*Kx*Ky*CHout*m...
[ "16210720048@fudan.edu.cn" ]
16210720048@fudan.edu.cn
010c5b1c21a0180900f7f5bfc873f53bdb929512
20c3fe5d914b190693aacca5640dcb5a9162f47a
/info/models.py
1a215b7bbad59a0e80df9f62522d71bb323ebaee
[]
no_license
Chandole/django-project
3fde1d5985295b3f24771efead10fdd0da6c5a1c
8051f975c2775089576f19db8df47b569eb97f1a
refs/heads/main
2023-06-07T15:08:21.643999
2021-07-04T07:42:19
2021-07-04T07:42:19
382,791,977
0
0
null
null
null
null
UTF-8
Python
false
false
346
py
from django.db import models # Create your models here. class Register(models.Model): name=models.CharField(max_length=100) email=models.CharField(max_length=100) mob=models.CharField(max_length=100) branch=models.CharField(max_length=100) password=models.CharField(max_length=100) class Meta: ...
[ "shubham@gmail.com" ]
shubham@gmail.com
59fb611140555a4354a5f36aca5c99ad5070dc22
bbb765f1f14c08f119e58a034ec69e1720e3b5fc
/network_server.py
b7922e6c2a491af708463de8f328e08c154e6f9b
[]
no_license
mainakch/mobilefs
19d6c7f16f65c1008d6ef2868aa216f9c50eb2fc
153f7b59167e2e7e1f4afd30a7a4a6e90b5f30da
refs/heads/master
2021-06-01T16:49:01.226410
2019-12-07T17:06:11
2019-12-07T17:06:11
31,227,493
0
0
null
null
null
null
UTF-8
Python
false
false
12,564
py
#!/usr/bin/env python2 ''' network_server.py - Executes remote requests and send responses back ''' from constants import * log = logging.getLogger('network_server') log.setLevel(logging.DEBUG) ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) ch.setFormatter(logging.Formatter('%(asctime)s - %(name)s - %(levelna...
[ "mainakch@gmail.com" ]
mainakch@gmail.com
82205644412d3f2657ffc1c27b62955a90efb2e8
9609c73cf0e877c5d76610bc284f103e401bd042
/ResNet18.py
7fa060b604a57ee4e470fb5b02ee11a80d5d8419
[]
no_license
Amadeus-Winarto/model_zoo
8968953a8b29be754cc9e0bb04347a172570b2cc
22082089b5ee0b0b7f2c1c3a7f12a843759f7d3e
refs/heads/master
2020-03-25T19:58:20.684591
2018-11-27T06:41:10
2018-11-27T06:41:10
144,109,315
1
0
null
null
null
null
UTF-8
Python
false
false
3,418
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 27 14:21:34 2018 @author: valaxw """ from keras.models import Model from keras.layers import Conv2D, Dense, Activation, BatchNormalization, Concatenate, Dropout, Add from keras.layers import AveragePooling2D, GlobalAveragePooling2D, MaxPooling2D, Gl...
[ "noreply@github.com" ]
noreply@github.com
6a01250803f6a63b6c7b195961c298df47b54af1
77bb7e8232362bb2b0b104e93c4b127174f462e5
/3_accept_offer_response.py
ff86fcb3976f4b73642ea125c92977944d29f4f1
[ "MIT" ]
permissive
bushido/cate
2dfac48d4d3b9fd1cd297005b16357af342d405c
4c43b449d8ccb0e5907117de320cdc9b1ab7e6f0
refs/heads/master
2020-12-29T00:42:49.543569
2015-01-22T17:36:06
2015-01-22T17:36:06
29,178,396
0
0
null
2015-01-22T17:22:54
2015-01-13T07:38:11
Python
UTF-8
Python
false
false
4,033
py
import praw import calendar import datetime import json import os.path import socket import sys from altcoin import SelectParams import altcoin.rpc import bitcoin.core.key from cate import * from cate.error import ConfigurationError, MessageError, TradeError from cate.fees import CFeeRate from cate.tx import * def a...
[ "jrn@jrn.me.uk" ]
jrn@jrn.me.uk
95207d33f1d2faac4a06d1c11f383bb85168aea9
4e56685a0674b2210e855c4560d29735a8a6a540
/contrib/macdeploy/macdeployqtplus
dc73914c024966071bb70bfa73defbbe8433a82b
[ "GPL-3.0-only", "MIT" ]
permissive
clickgem/cgm
467e16debf0b9a9d7a9ee6ef1e78f488b7c71443
3b46475f67a8c7884902ea818aba501e138da1a8
refs/heads/master
2020-03-15T11:39:12.518930
2019-01-18T03:40:37
2019-01-18T03:40:37
132,125,065
0
1
MIT
2019-01-21T10:19:24
2018-05-04T10:20:23
C++
UTF-8
Python
false
false
32,450
#!/usr/bin/env python # # Copyright (C) 2011 Patrick "p2k" Schneider <me@p2k-network.org> # # 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 Foundation, either version 3 of the License, or # (at your optio...
[ "noreply@github.com" ]
noreply@github.com
45788bd433d9d1bb00ef60a33aba8c4313a3f17c
a08d885cb9150d7e84f5ffbf0c9734893105a898
/2020/Day 07/handy_haversacks.py
955330377eb8b2f3782915f6829a6cbbf904ca5f
[]
no_license
vhsw/Advent-of-Code
ab422c389340a1caf2ec17c5db4981add6433fbe
3c1dac27667472202ab15098c48efaac19348edf
refs/heads/master
2022-12-29T03:56:59.648395
2022-12-26T11:01:45
2022-12-26T11:01:45
162,491,163
0
0
null
2022-05-10T08:43:32
2018-12-19T21:10:26
Python
UTF-8
Python
false
false
1,059
py
"Day 07 answers" import re INPUT = "2020/Day 07/input.txt" def parse(data): m = {} for line in data: src, dst = line.split(" bags contain ") for n, color in re.findall(r"(\d+) (\w+ \w+)", dst): m.setdefault(src, []).append((int(n), color)) return m def part1(data): "Part...
[ "vhsw@ya.ru" ]
vhsw@ya.ru
5f62efd77cda877b0f315654e66fcb575dcf38a5
b21180985c994c19e850ef51d5d87c6bf595dc21
/wechat/queryexp.py
efc683b5018ed5bac565cde68dd6455b49f93e69
[]
no_license
hldai/labelwc
c74d3af98576acd514f9136db663ca4cbd95708f
38c969c61f240e49d5475be716c6b159b57220cd
refs/heads/master
2020-12-02T22:18:06.991302
2017-08-13T13:04:44
2017-08-13T13:04:44
96,111,637
0
0
null
null
null
null
UTF-8
Python
false
false
5,942
py
from utils import load_names_file def load_acronym_to_name(acronym_name_file, exclude_strs): acr_name_dict = dict() f = open(acronym_name_file, 'r') for line in f: line = line.strip().decode('utf-8') acr, name, _ = line.split('\t') if exclude_strs and acr in exclude_strs: ...
[ "hldai@outlook.com" ]
hldai@outlook.com
ed69f7188cb410e8984e1694b21b711cb0364bab
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/7/r_e.py
94874cb9d8cd478b4704aa826a5d3460c87597a5
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
6b33144ab59c87ccc63dd96f597ca84ed29fe834
db8efee73ce71f9a28b1bb16196971b0fecf0cba
/paxos.py
f5e8f20534eb25d06d6250b106d1a5e5ee50138a
[]
no_license
chandana22/DistributedTicketingSystem
574f672f09727789382455e52836904f60dbf1d0
0e367e28677b9932f530d232d3b93753ab63a37e
refs/heads/master
2021-05-05T12:41:00.468769
2018-01-20T19:24:24
2018-01-20T19:24:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,296
py
import sys,select from threading import Thread import threading from messages import * from agents import * import time import socket,pickle import config name_info = {} port_info = {} ip_info = {} port2client = {} client2name = {} def parse_file(filename,processName): f = open(filename,'r') count = 1 for line ...
[ "noreply@github.com" ]
noreply@github.com
a47ece65b19b3e5a792434c004bb0e73e6b949b8
7e4df92ef84da23cf33c4c4ecf4623d15ea480bf
/scripts/take_good_barcodes.py
7c6f82461f3925ac550d5297979aa5a2b07c4d49
[]
no_license
mandricigor/ct-eqtl-design
0828b65c6d5139d4b56f1131387a2ea75d071cab
4182fde75638a6106c371af27c035051b21cae29
refs/heads/master
2020-12-13T13:33:12.869147
2020-06-03T05:20:41
2020-06-03T05:20:41
234,433,257
1
0
null
null
null
null
UTF-8
Python
false
false
746
py
import sys import pysam inputfile = sys.argv[1] outputfile = sys.argv[2] barcodes = sys.argv[3] with open(barcodes) as f: a = f.readlines() a = list(map(lambda x: x.strip().split()[0], a)) #samfile = pysam.AlignmentFile("immvarYE_0831_1.splitted_1.bam", "rb") samfile = pysam.AlignmentFile(inputfile, "rb") sa...
[ "imandric@dlmpatadm11277.ad.medctr.ucla.edu" ]
imandric@dlmpatadm11277.ad.medctr.ucla.edu
14cc45de89528b42640f58cba86eb2f58860bbcc
1879e4df9cff25bc0c32ff63aedc859301062f9d
/0x05-personal_data/encrypt_password.py
088ba68a96806e4bfba46db604229b5f920df220
[]
no_license
rakiasomai/holbertonschool-web_back_end
0f9d36160c9762df0826adcac66b009d1076043b
f5aeeda56def93fe13d901dd52217b0dbd4124e9
refs/heads/master
2023-02-28T10:02:54.929275
2021-02-06T22:17:04
2021-02-06T22:17:04
305,420,230
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
#!/usr/bin/env python3 ''' Personal data ''' import bcrypt def hash_password(password: str) -> bytes: ''' def hash password ''' var = password.encode('utf-8') return bcrypt.hashpw(var, bcrypt.gensalt()) def is_valid(hashed_password: bytes, password: str) -> bool: ''' def is valid ''' var = pass...
[ "somai.rakia@hotmail.fr" ]
somai.rakia@hotmail.fr
281e59753dd53d34c64d7fc2c26b4080280ec8d0
6a41ad8fc0b64647ddcfb8ac18b325e6668ed454
/venv/Scripts/pip3.8-script.py
6ee7374c2c053118a47c8fc599c8f57696a4fda1
[]
no_license
YazCodes/CFG_Python
656414151e2e3c7e00e0d4f85e3bad03bb766f9d
c08b596f5072776621937aa61cbccdf4cf772577
refs/heads/master
2022-04-24T16:37:55.673648
2020-04-26T14:34:17
2020-04-26T14:34:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
#!C:\Users\yasmi\PycharmProjects\cfg_python\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys....
[ "yjones@spartaglobal.com" ]
yjones@spartaglobal.com