blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
4bfe6ebbc3532652449f4621355b38f922dd4b06
977eb763cdf049d6cd58b3055bd353e2d93afbed
/readfinstar.py
ae730e393490e5c4d0bf1c6bf0f47bf9db7fea71
[]
no_license
syadav8126/toofanTicker
7a64a3af9b1e73d20ab8b3d6af18c7e99c7a8a19
e731748e54c780d3964a0e8595d0f08e46d1d938
refs/heads/main
2023-02-20T07:36:15.848279
2021-01-26T06:44:01
2021-01-26T06:44:01
332,995,439
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
import finstar import csv import sys import subprocess from subprocess import Popen import time input_file='standalone.csv' with open(input_file, 'r') as f: data = csv.reader(f) for row in data: cmd=[sys.executable, './finstar.py',row[0]] Popen(cmd,shell=False,stdin=None,stdout=None,stderr=None,close_fds=True) ...
[ "syadav8126@gmail.com" ]
syadav8126@gmail.com
efe1f8c522d049fcbb235a250a4ab33ac544503a
47299b9cca902b847371fa78eacbdaae0bae25f4
/webclone/one/urls.py
d67a6f7c91c658bc0feb139b85ba6826aba95130
[]
no_license
kapoorarpit/web_clone-
5c293fc2c10568562fd3c678e2fc8e43bc436b93
3540255fd6336583a9409c51deff0eae92810ee8
refs/heads/master
2023-06-11T04:51:07.138328
2021-06-29T19:50:52
2021-06-29T19:50:52
321,369,324
1
0
null
null
null
null
UTF-8
Python
false
false
194
py
from django.contrib import admin from django.urls import path from .import views urlpatterns = [ path('', views.home, name='home'), path('home/search/', views.search, name='search'), ]
[ "kapoorarpit2000@gmail.com" ]
kapoorarpit2000@gmail.com
6f53e73452513ff22b1f2c3fd170aeff0d69f4c2
532dc9970b8808fe806aa6a02c0cf9bb7c742b3c
/model_form/forms.py
1a207e3c15e90dcd1a694af226bcfe159e1a27f5
[]
no_license
adkhn777/forms_example
3e604aaa3390d49d2b76c83c07ec5d1d837e56ed
56b78b770bdddbb984585c08f2d9c495345622b1
refs/heads/master
2021-01-24T11:22:11.893363
2016-10-07T07:06:47
2016-10-07T07:06:47
70,223,138
0
0
null
null
null
null
UTF-8
Python
false
false
178
py
from django import forms from .models import ModelFormModel class ModelFormForm(forms.ModelForm): class Meta: model = ModelFormModel fields = ["name", "bio"]
[ "adnan@tuple.tech" ]
adnan@tuple.tech
7637d837e8cb0ba7f81221d92b23e7c92de9f971
f925eae9b78d44f9aa56cff17ef07aab87346a18
/stats/plot_all_roles.py
7e0f598a1128f40a4935de1b80120f39d0da950a
[ "MIT" ]
permissive
wejradford/castminer
f05d965e514c236657142c4db15a5c42db5160d1
6b792ba59621e7d0925d4ed683a51946c5193f3c
refs/heads/master
2020-12-24T08:55:13.205547
2016-09-06T12:46:15
2016-09-06T12:46:15
31,730,686
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
#!/usr/bin/env python from __future__ import print_function import logging import os from utils import argparser_factory, db_factory, plot_role_counts, \ get_all_role_counts, FIGS log = logging.getLogger() p = argparser_factory() p.add_argument('-w', '--window', default=5, type=int) args = p.parse_...
[ "wejradford@gmail.com" ]
wejradford@gmail.com
41203f92213b29c8d6459485d713fd321114f4fd
6f33999bb1cc273388bf4d7dfa550bdf428cdf04
/myapp/migrations/0001_initial.py
f97924a41e670ebe398b72ef59bf9e701d396ab3
[]
no_license
xiezongzheng/test9_29
863fa5b85b65b2200b070800c576f41da11d4653
afb8c567f29f60a9e9d28693ceb1bfada967e44a
refs/heads/master
2021-01-10T01:19:05.587110
2015-11-01T04:17:44
2015-11-01T04:17:44
44,243,815
3
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='Bactname', fields=[ ('id', models.IntegerField(...
[ "421489422@qq.com" ]
421489422@qq.com
6168b0398ebb09f7c55ed863aca797354077e778
c0b4a1991ad529f162779e60d0af3e22f2468aaa
/cogs/members.py
fa99048e26540f997e676784f27765288f0b4420
[]
no_license
scosco97/apibot
51ae66317a4abfe7bb9380b23679ad476800ad1e
3f714c2daa6a2cd046d417bc0e74e2501ed55959
refs/heads/master
2023-07-29T09:05:36.770121
2021-09-11T20:19:35
2021-09-11T20:19:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,015
py
import discord import random from config import settings from discord.ext import commands class MembersCog(commands.Cog): def __init__(self, bot): self.bot = bot @commands.command(name="welcome", hidden=True) async def welcome(self, ctx, member: discord.Member = None): if not member: ...
[ "wpmjones@gmail.com" ]
wpmjones@gmail.com
d0b7766854f6f8576dbddc9fb4645f233cca2c41
2f3999daf2a359f6677835718958ca6c6e0e4a6a
/example1.py
7a6e8c0a528cd327d451c3a3f6724d5cb11f6fac
[]
no_license
Sangeetha-Naresh/class97
d9402203a5804ecd24d51e4eb6eff2cb8b4802ec
6d36c52368bcc9dd47bf011c48768b5358b4e5c5
refs/heads/main
2023-05-06T22:37:51.255175
2021-05-16T14:59:01
2021-05-16T14:59:01
367,911,176
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
age= int(input("enter your age:")) if age>18: print("you are an adult") elif age >12: print("teenager") else: print("kiddo")
[ "noreply@github.com" ]
Sangeetha-Naresh.noreply@github.com
f42e13027d1095f41cb53f127f04978052b43ba3
8b07bc3844f23054abccae1d50e1bc5ede5943c3
/producto/migrations/0003_producto_disponible.py
0723fa7bfd1f6bfdb2e002ca5efd13b4510feb82
[]
no_license
HedleyPty/PythonAnywhere
9c5ba4913e7f8d188d1fb1a0f6f8a3aa4b96210d
324bdb325db2ecfe22521d82ee3fe6cb2acc927a
refs/heads/master
2021-09-14T08:53:48.957057
2018-05-10T19:02:40
2018-05-10T19:02:40
112,934,212
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-02-22 08:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('producto', '0002_auto_20160221_1425'), ] operations = [ migrations.AddField(...
[ "hedleypanama@gmail.com" ]
hedleypanama@gmail.com
971bdaf13fb6d5bfbbcd7260417062a0c83db880
f84ecb8178baaad91914ca20212a67d22fdce293
/account/account/settings.py
229e6511004eb60dc7308bd414a52f6cd2a9a762
[]
no_license
TonyMistark/account_statement
33047972fcf2854a973e35a8aea56ec0e051b2a1
aeb66f1ca687e3afe4f0c308889929019209ec4e
refs/heads/master
2021-01-22T03:49:13.483873
2017-02-09T16:22:14
2017-02-09T16:22:14
81,460,715
2
1
null
null
null
null
UTF-8
Python
false
false
3,791
py
""" Django settings for account project. Generated by 'django-admin startproject' using Django 1.9. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # B...
[ "tony_mistark@163.com" ]
tony_mistark@163.com
cb5a0612aa59838260c5412af9a13b580b3b489b
28114f0389cc27d34c3a12e241cc4aac73952b3c
/SensorData/SensorData/urls.py
c9ea4cd0562eb2141ab41382d17844dc50c4a54a
[]
no_license
sherlockvind/swlab2_assignment5
57e1feebc377be4dacaf555ac1db1a28798a7fa5
5c8da346e7bbdbcd4942af4bb88fa68d113b861b
refs/heads/main
2023-04-06T15:58:39.086948
2021-04-21T07:17:57
2021-04-21T07:17:57
353,388,229
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
"""SensorData URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/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...
[ "vb.3596@gmail.com" ]
vb.3596@gmail.com
5dc6bd71fa378f65e395229b4201d11a93f1a69b
e55c20745958762f899d79e9fad8fedee0cc2a53
/apps/courses/migrations/0009_course_teacher.py
bb9c3c92de0ba0507b54c908fbc1b9af6b5a71f5
[]
no_license
lisi2016/MxOnline
1b4703fbac6c88c66f0e7b3b5fbcfb1f1ab077ee
0aeca26244b8c446fea096dcdbefcbaee2835dc1
refs/heads/master
2021-08-19T01:25:34.808049
2017-11-24T10:14:06
2017-11-24T10:14:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2017-11-17 15:58 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('organization', '0006_teacher_image'), ('courses', '000...
[ "caozhiqiango@foxmail.com" ]
caozhiqiango@foxmail.com
72b1bd0b8b29a08c14a6a75b7ceb058d86883236
39d100d1ed768ab4bdc768dc70e68d4bf943f233
/tgmate/views/__init__.py
a21ee0f14e8e4e8b7a1506789e34fefb9805171c
[]
no_license
ivan-koryshkin/tgmate
702b5c465a3435be134d858cc5fbd0f5ca8fd1f3
7ae1f5125ac19f00c53d557c70dbbdbe99886cac
refs/heads/master
2023-08-30T09:20:04.947011
2021-11-09T13:21:17
2021-11-09T13:21:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from .admin_view import UserModelView from .admin_view import TgUserView from .admin_view import MessageView from .admin_view import ChatView __all__ = [ 'UserModelView', 'TgUserView', 'MessageView', 'ChatView' ]
[ "ivan.koryshkin@gmail.com" ]
ivan.koryshkin@gmail.com
472f3e9fe76c99a8fc0b7f48fea8176b6b9b582e
5f9ec375125dae625b5fe169b6f3f836a2431dd1
/core/logger_helper.py
9ce5bc46fbbe8b6e97a9ed7da18f446afd2fbc52
[]
no_license
mumudd/python_weixin
e280b6bdc81f30365b1bb0e4700d9a00e6b99037
144dbedc72c010beae0d243001b82b9f687d0a1f
refs/heads/master
2021-06-23T20:14:36.237386
2020-12-09T08:37:51
2020-12-09T08:37:51
160,120,308
1
0
null
null
null
null
UTF-8
Python
false
false
1,915
py
import logging from logging import Logger from logging.handlers import TimedRotatingFileHandler '''日志管理类''' def init_logger(logger_name): if logger_name not in Logger.manager.loggerDict: logger1 = logging.getLogger(logger_name) logger1.setLevel(logging.INFO) # 设置最低级别 # logger1.setLevel(l...
[ "sufaith@foxmail.com" ]
sufaith@foxmail.com
7eced97eac47dfd2ce21cee31fe289634f7a5bf7
eac6dc8eb8e5f088500f425a7323cd35a4f99bd6
/src/courses/migrations/0012_course_active.py
af89db3155df4d47be9b84b4c843f0b847c617a6
[]
no_license
aminhp93/django_serverup_2
a14195af756799795282028ba611dbccc3848870
aef31722e882367c731e9e48fc8af8740befc112
refs/heads/master
2020-05-27T01:54:15.268661
2017-02-25T21:58:36
2017-02-25T21:58:36
82,514,017
1
0
null
null
null
null
UTF-8
Python
false
false
451
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-02-19 18:06 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0011_auto_20170219_1749'), ] operations = [ migrations.AddField(...
[ "minhpn.org.ec@gmail.com" ]
minhpn.org.ec@gmail.com
eaeef1d5a47d3ff5621d988c694458cf63dc39a6
ceab178d446c4ab55951c3d65d99815e9fdee43a
/archive/coding_practice/python/ticks_plot.py
83e7d35370f009514aa95366b78a92f4f61f0afa
[]
no_license
DeneBowdalo/AtmosChem_Tools
01ecedb0df5c5d6e01966a0c3d8055826f5ac447
220c2f697a4f4c1e5443c336ede923b2004fe9f5
refs/heads/master
2021-01-10T18:05:30.800218
2017-02-06T16:08:14
2017-02-06T16:08:14
43,529,442
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
import matplotlib.pyplot as plt x = [5,3,7,2,4,1,11,25,33] plt.plot(x) plt.xticks(range(len(x)), ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i']); plt.yticks(range(1,36,2)); plt.show()
[ "db876@earth0.york.ac.uk" ]
db876@earth0.york.ac.uk
f4eb8b1786097761faab44c8b7108bc2429527f2
afa24f666ecbecd25d74baefe014127970e1e3c5
/VideoUtils.py
8eaaff3927e8302426296416e668b9d958007c64
[]
no_license
shashank879/AI
9a4edf80d53d0fc21b74eb4a6a75f9f15477d414
a27868154194a84d655093440695a5389925bacf
refs/heads/master
2020-09-21T04:19:39.583576
2016-12-15T14:35:21
2016-12-15T14:35:21
67,039,659
0
0
null
null
null
null
UTF-8
Python
false
false
3,700
py
import cv2 import re from datetime import datetime def time_in_range(start, end, curr): """Return true if curr is in the range [start, end]""" if start <= end: return start <= curr <= end else: return False def mm_ss_exclusions(file_path): """Exclude ranges annotated in a file. """ ...
[ "shashank.879@gmail.com" ]
shashank.879@gmail.com
ba63f7efdf10aab9c7481c9a2bee33143ac12df2
2037235643046608bf883f11c1bc448e2df8a4a3
/HuaYing/practice/test14.py
a18f331036c28c57f36f4079f83d4f9d3c4a6650
[]
no_license
Hardworking-tester/HuaYingAutoTest
7e46dfb0729961cee0da06762fc0be11724ad80b
c1f0cf7aa4433f482bbae88d1a5637b9859359ca
refs/heads/master
2021-01-10T18:38:37.788736
2015-09-05T10:37:10
2015-09-05T10:37:10
41,957,309
0
0
null
null
null
null
UTF-8
Python
false
false
1,368
py
#encoding:utf-8 from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains br=webdriver.Firefox() # br.maximize_window() br.get("http://www.xebest.com:8000") elements=br.find_elements_by_class_name("nav-arrow") element1=elements[4] if element1.is_displayed(): print ("网站导航链接已定位到"...
[ "373391120@qq.com" ]
373391120@qq.com
b01ea9b981eaf809aed4db02cdf99add3ef4992e
a4753147801dbabfec45f6f9f47572cda77efb81
/debugging-constructs/ibmfl/util/data_handlers/mnist_pytorch_data_handler.py
29cc18afb938e575e71025d9007fd67f722221b9
[ "MIT" ]
permissive
SEED-VT/FedDebug
e1ec1f798dab603bd208b286c4c094614bb8c71d
64ffa2ee2e906b1bd6b3dd6aabcf6fc3de862608
refs/heads/main
2023-05-23T09:40:51.881998
2023-02-13T21:52:25
2023-02-13T21:52:25
584,879,212
8
0
null
null
null
null
UTF-8
Python
false
false
3,460
py
""" Licensed Materials - Property of IBM Restricted Materials of IBM 20221069 © Copyright IBM Corp. 2022 All Rights Reserved. """ import logging import numpy as np from ibmfl.data.data_handler import DataHandler from ibmfl.util.datasets import load_mnist logger = logging.getLogger(__name__) class MnistPytorchDataHan...
[ "waris@vt.edu" ]
waris@vt.edu
8c0ee08b61836fa5388ef5e53460488f7c307034
03afa9df5e088558fffdf1594344d609ab199720
/model_full_no_stage2_1RIM.py
df200ad92466861e2e25ce5de6a6c2cb3cb04976
[]
no_license
tungvd345/Deraining
46489a376446c717914362ed36d997622df14c27
3dde575c620ddabca44341a4d078a34a9c67f6ea
refs/heads/master
2023-03-18T13:45:27.630232
2021-02-19T06:26:11
2021-02-19T06:26:11
265,502,711
0
0
null
null
null
null
UTF-8
Python
false
false
34,268
py
import torch import torch.nn as nn from torch.nn import init import torchvision.transforms as transforms import torchvision.models as models import functools import torch.nn.functional as F import numpy as np from torch.autograd import Variable from math import log10 class Deraining(nn.Module): def __i...
[ "noreply@github.com" ]
tungvd345.noreply@github.com
b2bed29df5eede8d6e01cc0c3ae685153dd0d69a
84750e22e48440a292c305dbd2ae75c4a210e934
/exspider/utils/view_funcs.py
736f3db21f558507697e89f6966b94cbba6307eb
[]
no_license
stonegithubs/exspider
617800a13ec9a1ca9c723d517766d00dcedd36a1
42b5cb0415c90dd60bc2c009a6aa467e71823854
refs/heads/master
2022-08-02T10:02:55.566046
2020-04-29T14:54:58
2020-04-29T14:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
#! /usr/bin/python # -*- coding:utf-8 -*- # @zhuchen : 2019-03-06 15:18 import time from django.conf import settings from rest_framework.response import Response # 成功 success_code = { 1: "{}" } # 用户错误 user_error_code = { 1001: "登录失败", 1002: "重复请求验证码", 1003: "验证码错误", 1004: "您已经登录", 1005: ...
[ "chen.zhu@blacktail.tech" ]
chen.zhu@blacktail.tech
a3717cc3e36cf3503192398c17a60fe57613198c
e651496a8acb437be45130fdaf69eb73055c254b
/classification/perceptron_pacman.py
79e3179f3af18e9dca62ea7cff1b7d4ba1d92ae1
[]
no_license
ntp28459hteam/INT3401_9
40390dd9d4ff6e872c24ac07f1949e1327b87eb1
32b239771d45cb5cb5a7d6a53c456a26e85945ff
refs/heads/master
2022-03-09T05:09:02.113812
2019-11-19T17:48:57
2019-11-19T17:48:57
208,970,229
0
1
null
null
null
null
UTF-8
Python
false
false
2,571
py
# perceptron_pacman.py # -------------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://a...
[ "ntp28459hteam@gmail.com" ]
ntp28459hteam@gmail.com
fd57d33c643143a4cd19384011907536cfa8de5d
4864834342f99fff07f3c8b61c39f90228988ccf
/goldi_locks.py
acc88c342cb4f2fcc6722f6c6256ae7bb472caf4
[]
no_license
Kyle628/dailyprogrammer
6999d37d5449942e3a1a04800bf4999c2530d06b
7985f6ecaf88d0e6d1247d38959c17e90256e1d4
refs/heads/master
2020-06-23T13:40:27.510734
2017-05-10T17:48:57
2017-05-10T17:48:57
74,647,721
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
import sys input_str = "100 80\n30 50\n130 75\n90 60\n150 85\n120 70\n200 200\n110 100" lines = input_str.split('\n') first_line = lines.pop(0).split(" ") weight = int(first_line[0]) temp_tolerance = int(first_line[1]) for i,line in enumerate(lines): line_arr = line.split(" ") weight_capacity = int(line_a...
[ "kyjoconn@ucsc.edu" ]
kyjoconn@ucsc.edu
cf84225fbffedd219649f40d7ee33aca423ff344
0d9c0d0b0dedfa3da12f5850e8492b9554b8c383
/tic_tac_toe_OOP.py
50f996110a0b67cf69af408a649d2ce7b14f7e58
[]
no_license
PCassiday88/CS506-Winter-21-TP
7bdb61c850e6ae875b94049383120fe2659b9339
483b19e3afe5d3f2898b7e32791ef095d6ddbeae
refs/heads/main
2023-03-21T09:41:12.428950
2021-03-13T06:32:50
2021-03-13T06:32:50
345,913,186
0
0
null
null
null
null
UTF-8
Python
false
false
9,761
py
#This version wis complete without AI board = [] for square in range(10): square = str(square) board.append(square) class Board: def __init__(self): pass def show_Board(self, board): print('-----------') print(' ' + board[1] + ' | ' + board[2] + ' | ' + board[3]) ...
[ "patcassiday@gmail.com" ]
patcassiday@gmail.com
f20a1f49d564b9bb5bdee9d117e1c5832706526f
639d66b4a667db97c2638132dd028b7f5b865ef0
/splash_screen.py
6e5e635b1b0dac9fae73c7f54c4e3271555746a6
[]
no_license
liturreg/blackjack_pythonProject
d91d21494b21159667f48a683b919ea68401c56c
b88f15ac35db8fbeb8b00234084c5b114383d6cd
refs/heads/master
2023-01-29T18:45:08.531471
2020-12-07T19:57:33
2020-12-07T19:57:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
def splash_screen(): print(r""" /$$$$$$$ /$$ /$$ /$$$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$$ /$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ | $$__ $$| $$ /$$/|__ $$__/| $$ | $$ /$$__ $$| $$$ | $$ | $$__ $$| $$ /$$__ $$ /$$__ $$| $$ /$$/ ...
[ "nicolas.gasco92@gmail.com" ]
nicolas.gasco92@gmail.com
044ef52da86b27d924c896886eba492a10f16d0d
c843ff5e1471dfac4e470de88784966473057079
/keywords/ruby_keyword.py
d0214870befd0a44a5062b2b405dc6f809d51194
[]
no_license
tkyaji/CocosRubyEditor
a48a3a3a504d0f359757589bc9c302bc32fe030b
4fbb5674db5ad64bd49c6f1181fe7a3519236b64
refs/heads/master
2021-01-10T18:41:06.673502
2015-03-18T04:46:49
2015-03-18T04:46:49
32,151,393
1
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
import ruby_cocos2dx_3d_auto_keyword as cocos2dx_3d_auto import ruby_cocos2dx_audioengine_auto_keyword as cocos2dx_audioengine_auto import ruby_cocos2dx_auto_keyword as cocos2dx_auto import ruby_cocos2dx_experimental_auto_keyword as cocos2dx_experimental_auto import ruby_cocos2dx_experimental_video_auto_keyword as coco...
[ "tkyaji@gmail.com" ]
tkyaji@gmail.com
86089daeedc71651ae0564812bf24553d130050a
f399fbac7e35dcc2c2f2ad4d3202b0839d9b7d48
/user/send_mail.py
0cb781b2301d5d6442e6f1cfdfd49aada05a621f
[]
no_license
AktanKasymaliev/django-toilets-service
480f56b652a88e1422290de8906f0bb6d5693cff
225d71b164c36bab5fded86390b17ce265694a17
refs/heads/main
2023-07-14T12:46:12.399114
2021-08-23T17:14:04
2021-08-23T17:14:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
from django.template.loader import render_to_string from django.utils.html import strip_tags from django.core.mail import send_mail from django.contrib.sites.shortcuts import get_current_site from django.core.mail import EmailMultiAlternatives from decouple import config from django.utils.http import urlsafe_base64_dec...
[ "aktan.kasymaliev@icloud.com" ]
aktan.kasymaliev@icloud.com
cc86bef58c7d155debfcde3377df2e4dbe6dfa6d
bf32d19e5cf9650099d4f3a05f24ad3f5d0332a3
/datagen.py
0b65a8b378b3d8b516ff0d137a9bda72e359cbef
[]
no_license
DableUTeeF/dictionaries
5d01b7936ff567c6ca6aac45394370a8168ad816
c529727325232291a4103d4b1bc72c888cec05f1
refs/heads/master
2023-04-11T05:46:31.548797
2021-04-22T06:06:55
2021-04-22T06:06:55
343,296,934
0
0
null
null
null
null
UTF-8
Python
false
false
22,290
py
from torch.utils.data import Dataset from torchtext.vocab import Vocab, Counter import torch from nltk.corpus import wordnet as wn, stopwords from torch.nn.utils.rnn import pad_sequence from torch.utils.data.sampler import SubsetRandomSampler import numpy as np import pandas as pd import re from transformers import Aut...
[ "palm22180@gmail.com" ]
palm22180@gmail.com
d3df0d4a64a56492d1ec603be919eb0c002e95f5
ab9e12bad0ff511d1c2b4c5b42bb0ceddb2cf34f
/examples/echo_server.py
30c55e1c650d7a9863ad3b509d85450d040a1fb4
[ "BSD-3-Clause" ]
permissive
elijahr/aiolo
a6014eefb72a615d0c6a5bed843b79385779b230
c5ec8a3a5df93d4d7a19ccc0181c8a7d8bad75a9
refs/heads/master
2023-08-08T19:50:17.593860
2020-07-23T04:24:06
2020-07-23T04:24:06
232,236,708
7
1
BSD-3-Clause
2023-08-03T14:14:05
2020-01-07T03:42:32
Python
UTF-8
Python
false
false
818
py
import asyncio from aiolo import Address, Midi, Server async def main(): server = Server(port=12001) server.start() # Create endpoints # /foo accepts an int, a float, and a MIDI packet foo = server.route('/foo', [int, float, Midi]) ex = server.route('/exit') address = Address(port=120...
[ "elijahr@gmail.com" ]
elijahr@gmail.com
636022ef17714db27f131c08daa673606f4185d8
511b7b19ec49be34bec240ee7c7cf4178cd36ca3
/gasolinestation/migrations/0013_auto_20200304_0909.py
fb6c52a8156995aa62443e5a937be261f2953067
[]
no_license
francisguchie/360POS
58de516fe52e83d6b99bd195d22c8aa902daee18
68f9e20ac263c75ec0c9b0fe75d7f648b8744ea8
refs/heads/master
2023-02-08T16:38:42.667538
2020-03-12T16:05:00
2020-03-12T16:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 3.0.3 on 2020-03-04 09:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gasolinestation', '0012_transactionsales'), ] operations = [ migrations.AddField( model_name='transactionsales', nam...
[ "monde.lacanlalay@gmail.com" ]
monde.lacanlalay@gmail.com
cf231e55c68e90e0cf6334ab13286bd140164514
7af496ea625b6fe21d71d980b744857bc53495bc
/Curso/ex039.py
80a38c99007f804dd490cf98ddc0d4c5b48bdd6e
[]
no_license
DiogoM14/Python-Exercicios
52fad65f271f8846f04d9317a29322a276009aef
7ecf7615a649f229e54032ffaf419504a4d9c12f
refs/heads/main
2023-02-03T08:12:25.454313
2020-12-17T23:40:31
2020-12-17T23:40:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
idade = int(input('Qual é a tua idade? ')) if idade == '18': print('Está na hora de ires à inspeção!') elif idade < 18: n = 18 - idade print('Faltam {} anos para ires para a inspeção!'.format(n)) else: n2 = idade - 18 print('Já foste à inspeção há {} anos!'.format(n2))
[ "diogomartins200214@gmail.com" ]
diogomartins200214@gmail.com
0418b9c1cbf29490405340e1e46c8ae785ffc414
d11a49197ef92d23d5d77253b224a54380cbbe8d
/testapp.py
ccff800ae00094775a2a4e481a2de374c65bddc1
[]
no_license
sockheadrps/BaxterAndFriends
9bf8a7b8007fa34e28f8ddac0022be9efae09dda
7f0d153d46d223a0028863d55deec43900d2d8e7
refs/heads/master
2022-08-04T22:35:20.267632
2020-05-31T02:00:23
2020-05-31T02:00:23
266,780,423
0
1
null
null
null
null
UTF-8
Python
false
false
2,507
py
import hug import falcon def look_for_current_request(): next_up = None with open('songRequests.txt', 'r+') as fin: data = fin.readlines() if data: next_up = data[0] if next_up is not "\n" and next_up is not None: user = next_up[:next_up.index(":")].replace("{", "") ...
[ "r.p.skiles@gmail.com" ]
r.p.skiles@gmail.com
bc77e7a35dfac6f9b3eef8dfadff882bd5412e64
d0452eb707f82f892c236c7e70a15f561968cc05
/conftest.py
459d2ee7f091611be0629d8501f9c21e4108703a
[ "Apache-2.0" ]
permissive
Treshch1/python_traning
0ff28442ad559c7e3ed2dfcb5de0fc430ecb71cb
de796861b7227fab176d342b67cf47acbd2b166f
refs/heads/master
2020-06-16T12:26:59.431595
2019-08-23T19:24:03
2019-08-23T19:24:03
195,573,687
0
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
import pytest import json import os.path import importlib import jsonpickle from fixture.application import Application from fixture.db import DbFixture from fixture.orm import ORMFixture fixture = None target = None def load_config(file): global target if target is None: config_file = os.path.join(...
[ "vladislavtreshcheyko@gmail.com" ]
vladislavtreshcheyko@gmail.com
088161084dc2576df5bc96e4eb1d6578c97c42f5
0f7127951bbaf9a7559365d13f562f7af8f1bba1
/Python/5kyu/Find the smallest.py
41f2f67a16f4fa96c6529b6bc7ac7fb1c180f3e9
[ "BSD-2-Clause" ]
permissive
SamiaAitAyadGoncalves/codewars-1
c5548640341b4453bca2bdf53193960b4026dc78
915149b052dc5ec7d2276f1a235076028a3ba997
refs/heads/master
2020-07-27T02:38:29.497964
2019-08-19T10:52:06
2019-08-19T10:52:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,033
py
# https://www.codewars.com/kata/573992c724fc289553000e95 # # You have a positive number n consisting of digits. You can do at most one # operation: Choosing the index of a digit in the number, remove this digit # at that index and insert it back to another place in the number. # # Doing so, find the smallest number you...
[ "noreply@github.com" ]
SamiaAitAyadGoncalves.noreply@github.com
5ef08391fa1fa480f963802b9e34f6077002e815
d12b59b33df5c467abf081d48e043dac70cc5a9c
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/interface_ddc6ed85db77afb3c40ee4824b274478.py
7eb7f7341abf23ea8aaaf6c991a7897c8183a845
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,852
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
d4e78f9b2e39fc5020173a64a9f37e7020c532ed
77f6ff840e2e62965d83b509118ea0e053753108
/src/quicksort.py
12938a1ab83d3569e69cfd8b9f7d33fd8498080e
[ "BSD-3-Clause" ]
permissive
phiysng/python-algs
116af6d4ca9154129112e80933e61aa2c3545518
1448a252e48d0c005db5301fc7126c7e695ac034
refs/heads/master
2020-05-21T17:03:59.934343
2019-05-11T08:50:57
2019-05-11T08:50:57
186,115,199
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
# -*- coding: utf-8 -*- ''' 快排算法的简单实现 TODO:使用了O(n)的空间 两次遍历了数组 ''' def quicksort(arr: list) -> list: if len(arr) == 1 or len(arr) == 0: return arr pivot = arr[0] left = [x for x in arr[1:] if x < pivot] right = [x for x in arr[1:] if x >= pivot] # 递归排序 lr = quicksort(left) lr.app...
[ "wuyuanshou@protonmail.com" ]
wuyuanshou@protonmail.com
1a0673132ce3a3857c1937ecfc17012d78b7f11d
6e840a384968c7711479637c1d9451ce75767cc5
/music.py
f7e07d0602c8a5599a9ecdda48eb82d86fce1e88
[]
no_license
mariafbarrera/music-recommender-final-project
6ac751d96dcbee5d1e793eb6b6ba3d154d17a0c7
efc5241d24c57686e6aff65cc506db31ad1fa91e
refs/heads/master
2022-11-23T12:54:01.892203
2020-07-28T19:47:40
2020-07-28T19:47:40
283,001,819
0
0
null
null
null
null
UTF-8
Python
false
false
2,954
py
# MVP: Music Recommender print(" _ _ _ _ _ ___ ___ _ ______ _ ") print("| | | | | | | | | | | | | \/ | (_) | ___ \ ...
[ "mfbarrerab2@gmail.com" ]
mfbarrerab2@gmail.com
d941801758acdae714ecb26fe79b3331a4daef77
db21d9daf62e3ea31f30da152f86ecfbb0d4814a
/PDDI-Datasets/HIV-Insite-interactions/hiv_insite_extraction.py
2b661e7e80a4d33688017d50391a8f4de6f70d8b
[]
no_license
axel-op/public-PDDI-analysis
487b1ebd650a21aa2df03893b896d80f37b0516b
8199ee66b60bcb337f777889a210dd0d72a96e8f
refs/heads/master
2021-07-06T06:50:04.438330
2017-10-02T19:04:08
2017-10-02T19:04:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
# hiv_insite_extraction.py # Read .html files in folder: # HIV-Insite-interactions # Retrieve 2 drug names, quality of evidence, summary, and description of ddi # Consolidate all such DDI's from each folder as .tsv file import glob import os import codecs import sys reload(sys) sys.setdefaultencoding('utf-8') from ...
[ "echou53@gmail.com" ]
echou53@gmail.com
2ed87c256e5bf9f70115c96c9aec2798f8b5a5af
14913a0fb7e1d17318a55a12f5a181dddad3c328
/63.snake.py
990234c17a8d9d056195b13ae470723aa887b84e
[]
no_license
Jesuisjavert/Algorithm
6571836ec23ac3036565738c2bee94f416595f22
730549d19e66e20b3474a235a600958a8e036a0e
refs/heads/master
2023-02-16T06:34:50.984529
2020-09-25T09:40:30
2020-09-25T09:40:30
330,849,371
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
import sys sys.stdin = open('input.txt','r') T = int(input()) for testcase in range(1,T+1): arr = [list(map(int, input().split())) for _ in range(4)] print(arr)
[ "jesuisjavert@gmail.com" ]
jesuisjavert@gmail.com
ee4fe39711fc77d9a0fb62f3b590008b142f4b3b
3e2d2175b3d5407a71f8e423105c7b3a9d55666a
/online_gobang/urls.py
59a866cdb8ce5cd0c614a87f9ba88d021ac0f743
[]
no_license
slgu/online_gobang
cb040918fc6048fd413d8d573fe25f95dec3f062
51418e18a85d9a47ddd2cb931c25e7df12357a2b
refs/heads/master
2020-05-03T05:32:59.331652
2015-08-05T07:27:58
2015-08-05T07:27:58
39,301,873
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'online_gobang.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url("", include('django_socketio.urls')), url(r'^gobang/static/(?P<path>.*)$', 'd...
[ "blackhero98@gmail.com" ]
blackhero98@gmail.com
8201d7cd3b6d9595dbf87a0a429d27b71306562b
3b6bae8f1cd3f703bd15c55b8d6a327b0b19d39b
/scopes.py
d910c23a17244efad9205633acd5b925310397f3
[]
no_license
AndreyNaidenko/GmailToVK
721e00215961fd69e00ba1ad248886d37bee7500
73f2e62d98ad228cda7475860308f5cd57eada49
refs/heads/master
2020-04-13T10:39:37.391729
2019-02-26T18:06:49
2019-02-26T18:06:49
163,148,109
1
3
null
2019-02-27T13:19:17
2018-12-26T07:04:12
Python
UTF-8
Python
false
false
90
py
SCOPES = [ 'https://www.googleapis.com/auth/gmail.readonly', 'https://mail.google.com/' ]
[ "37630193+MedvedevDenis@users.noreply.github.com" ]
37630193+MedvedevDenis@users.noreply.github.com
90e640949012d95c3e5daa5e794cbd2d4fcecc7d
ca504fc52c635860ac141a21e453be5f721f4fe7
/fb_router.py
7370718b8f52f1c8d0bf0ca4dfda9643586b2a66
[]
no_license
baconcho/baconchoproject
844a92842937f63615d689cf3973b59d540a2ef5
57e4165419d8e5eca76c5c9ec00108055b2c9cf5
refs/heads/master
2020-05-18T20:38:38.477516
2011-09-30T07:10:36
2011-09-30T07:10:36
2,448,883
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
#this file define all the route related to the facebook application import Util from Canvas import CanvasHandler from CreateCoverHandler import CreateCoverHandler routes = [(r'/', CanvasHandler), (r'/fb/', CanvasHandler), (r'/fb/canvas/', CanvasHandler), (r'/fb/createcover', Cre...
[ "truongducthang@gmail.com" ]
truongducthang@gmail.com
cab72ee5c66639fea08c549b6600c6b7dc735786
a8c6661e002eabd497e688cbbdaad197b7e9ba9f
/Embedded/Main/models.py
74866d725c5d047aef60b897cb95ee49f05cc96e
[]
no_license
jyahn0623/Embedded-Lab-s-site
35418ab5e987bdcd51c9400269c6957a54c5f812
58a025c17021e41264ac39123b1375e1b4708edf
refs/heads/master
2020-12-04T17:55:41.505816
2019-07-02T00:34:04
2019-07-02T00:34:04
231,859,244
1
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver # Create your models here. def save_pic_user(instance, name): return "{0}/{1}".format("Profile", name) class RankPicture(models.Model): r_rankcode = mo...
[ "jyahn0623@gmail.com" ]
jyahn0623@gmail.com
52f3d10940eb5f5efd8b9faf107b3cfc0cebc8c1
8c836f4422d28b289d2e2e05cecbb3ad283fc32b
/matrix_generator.py
8883efc42c92e51af6c081dfe3bee9a92871e251
[]
no_license
J3FALL/MatrixEvolution
75588bdd00ac4f242847f55c69f5808b6e69330d
3a91708fda3c6b070ba3bac646af8e6cfd983cae
refs/heads/master
2023-07-21T18:14:38.612502
2020-04-16T00:28:45
2020-04-16T00:28:45
219,976,301
1
0
null
2023-07-06T21:49:52
2019-11-06T10:59:48
Python
UTF-8
Python
false
false
2,446
py
from functools import partial from math import ( cos, sin, radians) import numpy as np from scipy.optimize import ( minimize) def initial_diag_matrix(matrix_size, range_value): diag_vector = initial_diagonal_scaled(size=matrix_size, range_value=range_value) matrix = np.diag(diag_vector) retu...
[ "crisp.coad@gmail.com" ]
crisp.coad@gmail.com
3f38298a0205c6057eae97a9b96395d892ab83bc
8c24de6b63f4a7d5280e9a993e2666239563d93e
/base/base_page.py
024cde348fd65f2ad1d1592ea46f31f8e69a155b
[]
no_license
duanchaoxin/AppAutoTest
0bc3ec8cc4b923a3f164220dfe47344273c42dc2
e7099cecd1200931ecc992ee20758057b999f213
refs/heads/master
2022-05-24T00:39:55.256637
2020-04-14T08:36:40
2020-04-14T08:36:40
255,523,031
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from utils import DriverUtil class BasePage(object): def __init__(self): self.driver = DriverUtil.get_driver() def base_find(self, location, timeout=5, poll=0.5): return WebDriverWait(self....
[ "1539436284@qq.com" ]
1539436284@qq.com
68d3a28305f521b755b7fb016365e9e81bc67736
902b066e8b8b869d0a6eaac82ca26a0d7b42d8b7
/subjectsapp/models.py
60cb959e19222a67c094b13a620cbc09a4f10a67
[]
no_license
manojb7996/rscpro
4f6b613119a5b8257796e7b4535b027b0d60b770
3f2a1a183844968cf7af8170803a57d9c87fa49b
refs/heads/master
2021-05-04T21:59:03.151471
2018-02-02T14:52:35
2018-02-02T14:52:35
119,992,911
0
0
null
2018-02-02T14:52:36
2018-02-02T14:42:04
HTML
UTF-8
Python
false
false
1,329
py
from django.db import models from django.contrib.auth.models import User from django.core.urlresolvers import reverse # Create your models here. # displays all subjects class TechType(models.Model): subject_name = models.CharField(max_length=30, help_text='Add the technology type ..like python , jave and mysql etc...
[ "santhoshcusat17@gmail.com" ]
santhoshcusat17@gmail.com
b08074bd44154944cfb6114db650296021f40ab8
ec50e0f401cbcb0eddadf38d576f434688df1be6
/loss/models.py
98d8b41d6ab18803134814bb785f67561c1cbb6b
[]
no_license
ayush180/djangoProject2
ecbd1d74843be87b56e6bac457797c51f9e2ca9a
6cdc58592b6e8ee517a2f095557e16dfbce7e41f
refs/heads/master
2023-06-20T11:10:31.028099
2021-07-17T11:20:42
2021-07-17T11:20:42
381,335,957
1
0
null
null
null
null
UTF-8
Python
false
false
612
py
from django.db import models from product.models import product from datetime import datetime from django.urls import reverse # Create your models here. class loss(models.Model): date = models.DateField(default=datetime.utcnow) product = models.ForeignKey(product, on_delete=models.CASCADE, related_name="loss") ...
[ "ayush180670107041@gmail.com" ]
ayush180670107041@gmail.com
2a9046c5ee3b7dd7ead91f9a86e5601efaf67688
15d936f6f300e744dbd4d826a95740b1c155f9da
/libarsdkctrl/python/internal/device_handler.py
2034195ea3d734a8d8c1158af706d460161dfa14
[]
no_license
Parrot-Developers/arsdk-ng
783aff771eccb295f2e5ca7057309b6026b062fd
e30d41eb1c7871139a933a04c953aa284fe61308
refs/heads/master
2023-05-06T06:34:40.269861
2023-04-19T13:45:04
2023-04-19T13:45:04
183,210,114
3
4
null
null
null
null
UTF-8
Python
false
false
4,171
py
# Copyright (c) 2020 Parrot Drones SAS import ctypes import logging import libarsdk from libarsdkctrl_bindings import ( arsdk_device_connect, arsdk_device_create_cmd_itf, arsdk_device_disconnect, arsdk_device_get_info, struct_arsdk_cmd_itf, struct_arsdk_cmd_itf_cbs, struct_arsdk_device_co...
[ "nicolas.brulez@parrot.com" ]
nicolas.brulez@parrot.com
2fbbd183b02fc3f961d32a9f9a9bf87a801392d7
c5f2e56d7adcdab9474c78ebbc14e199d20ef95f
/examples/dahua/chatServer.py
fee1e2b1bf6713472da62d8a56389d67011ead5b
[]
no_license
nullzhengwx/pythonStudy
ad4131edaef41c700ec6490096f557292d370cc6
be59e5b4f19013fff0291bcd13ccb02d49ccba30
refs/heads/master
2020-03-26T08:09:54.985328
2018-07-27T03:31:07
2018-07-27T03:31:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,073
py
from asyncore import dispatcher from asynchat import async_chat import socket, asyncore PORT = 5005 NAME = 'TestChat' class CommandHandler: """ 类似于标准库中cmd.Cmd的简单命令处理程序. """ def unknow(self, session, cmd): # 相应未知命令 session.push(b'Unknow command:' + str.encode(cmd)) def handle(self,...
[ "173601321@qq.com" ]
173601321@qq.com
e7b26c237632de6eb32b9fcf15a30857b52e9551
940713a19ae36c48e8b6f83b8dad3f3aa2ca9562
/remainder.py
52999dc56308b74aa752074f2131b03f222b16d1
[]
no_license
girishpillai17/class-work
cbc2a43ea4b077fac8b1a121de741eba09d165f5
7e14841d1b371f6791526fd35d03f0d779b8554d
refs/heads/master
2021-09-08T03:18:18.666530
2018-03-06T17:17:16
2018-03-06T17:17:16
121,372,579
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
t = int(input()) for i in range(t): a, b = map(int, input().split()) d = a % b print(d)
[ "noreply@github.com" ]
girishpillai17.noreply@github.com
d898539884fba4fbbea36f5cffcaef951b97aa96
7303a3e219352011ed210eaa522283c9f436f127
/main.py
dbaa72367593b4498701dc685e2a1363ff70c720
[]
no_license
Harish1503/6.-Swapping-of-two-numbers-using-temporary-variable.
a3e4627bcc5090a8916b58d495aca0849cd11ce2
11dc909bf772d9602041577b30ae5bb54d087082
refs/heads/master
2023-01-16T00:03:18.748183
2020-12-01T08:33:24
2020-12-01T08:33:24
317,475,533
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
a = int(input("Enter first number: ")) b = int(input("Enter second number: ")) print("Before Swapping") print("a is", a) print("b is", b) temp = a a = b b = temp print("After Swapping") print("a is", a) print("b is", b)
[ "n.harishkumar1503@gmail.com" ]
n.harishkumar1503@gmail.com
8f789582668896d0476c9662231bb5fbf4edd209
d6bd031f28dc317208e2a41d24ed520e0e2846d3
/code/RSA/data_source.py
302a387641495235746e381e45e10c53341cf4d1
[]
no_license
oliver-contier/rirsa_tmp
29e8584c03263f3cb471dcd954a2727c66bf5d7c
8aa718ef690b6123209fde6aa55b06b44a68bd5f
refs/heads/master
2020-08-23T06:38:48.369288
2019-10-21T12:30:38
2019-10-21T12:30:38
216,562,781
0
0
null
null
null
null
UTF-8
Python
false
false
8,862
py
#!/usr/bin/env python import copy import csv from os.path import join as pjoin import numpy as np import pandas as pd from mvpa2.tutorial_suite import fmri_dataset def get_training_stims(sub_id, sess_id, behav_data_dir='/home/my_data/exppsy/oliver/RIRSA/raw/my_data/beha...
[ "oliver.contier@ovgu.de" ]
oliver.contier@ovgu.de
beed14a3c1aff89d035020396a37556f4cf88ed1
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/wicd/rev519-537/right-branch-537/wicd/backends/be-wireless/threadedwirelessinterface.py
ab1a5d1e45f9fa860b190118e1d14d918ce5832a
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
1,698
py
from misc import WicdError from baseinterface import needsidle from encryptablewirelessinterface import EncryptableWirelessInterface from asyncrunner import AsyncManager, AsyncError class ThreadedWirelessInterface(EncryptableWirelessInterface): def __init__(self, interface_name): EncryptableWirelessInterfac...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
e493ea3032e1051ad60fa7c44027e35dbaecaf29
f537166c2daa186eab63eb89742d848cfb83ac89
/colorhexasearch.py
9b4ac54da7ee63c2f98ca490c53a793668bd6e0f
[ "Apache-2.0" ]
permissive
evaneliasyoung/ColorHexa-Search
e4ec130a9fd875d25ed179439c991bf13693cf28
e6c6d2813921d073002032f1900d0e88e56ddd19
refs/heads/master
2021-06-27T15:48:47.662339
2017-09-15T14:53:36
2017-09-15T14:53:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
import sublime, sublime_plugin import re from sys import platform from os import startfile from subprocess import Popen __version__ = "1.0.0" zeroPad = lambda txt: txt[::-1]+"0"*(2-len(txt)) def getFmt(txt): """Determines the format of the color Arguments: txt {str} -- The text to determine """ ...
[ "DocCodes@users.noreply.github.com" ]
DocCodes@users.noreply.github.com
be7975289ea7397570ae5a442d590aae139acd82
214dde26c268d1d0b7991318c5e2d43aa27af89b
/backlooking/order_analysis.py
c7b7acc13a43f9796ee1e1050048258fb6cc19ad
[]
no_license
hellobiek/smart_deal_tool
f1846903ac402257bbe92bd23f9552970937d50e
ba8aad0a37843362f5833526921c6f700fb881f1
refs/heads/master
2022-09-04T04:41:34.598164
2022-08-04T22:04:09
2022-08-04T22:04:09
88,258,362
36
14
null
null
null
null
UTF-8
Python
false
false
3,559
py
#-*- coding: utf-8 -*- import os import sys from os.path import abspath, dirname sys.path.insert(0, dirname(dirname(abspath(__file__)))) import datetime import const as ct import pandas as pd from futu import TrdEnv from datetime import datetime from base.cdate import get_dates_array from tools.markdown_table import Ma...
[ "hellobiek@gmail.com" ]
hellobiek@gmail.com
f0b2769ee9e69bd66465e108cb54e7908f6174e4
826c50246d5a09f794509155465f77c43e179967
/04_evaluation/06_Hourly_to_Daily_SW_Conversion.py
d3d88d941f13e86bf5f887a40c42693f59bf8125
[]
no_license
JohnnyRyan1/clouds
38bb767360aef68f45a6123944901135fa48ae89
afdadaeb6a61c675275f4a5c932f5e61e51879e8
refs/heads/main
2023-04-11T03:05:31.188286
2022-07-12T22:52:50
2022-07-12T22:52:50
481,300,745
1
1
null
null
null
null
UTF-8
Python
false
false
5,851
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ DESCRIPTION Compute hourly to daily correction for SW from ERA5. """ # Import modules import numpy as np import pandas as pd import netCDF4 from datetime import timedelta, datetime import pyresample # Define destination dest = '/home/johnny/Documents/Clouds/Data/ER...
[ "jryan4@uoregon.edu" ]
jryan4@uoregon.edu
c6c9c9fd3add6b71c82d0a67b2ad1afdaeaf38b8
5ae9609559fd3352e894ebc21e072cbc7e7efa89
/imsteg.py
52f545d9b40775a5cd27aa0f997dac4ead519489
[]
no_license
TheLonelyNull/imsteg
d65d3391b5d2ed79ce67777e1add67ca9d4aa0c4
2f6425b8cac02d6cfd2be2a9d7259bb016ee2ba9
refs/heads/master
2020-12-05T01:33:28.073073
2019-12-24T11:48:32
2019-12-24T11:48:32
231,968,180
0
0
null
null
null
null
UTF-8
Python
false
false
4,383
py
"""A basic steganography program to hide text in an image file""" from PIL import Image import readline import getpass from random import seed, random, randint # TODO make autocomplete work readline.parse_and_bind("tab: complete") def get_mode_and_exec(): selection = input("Mode(Select 1 or 2)\n1. Encode\n2. De...
[ "chris.rossouw5@gmail.com" ]
chris.rossouw5@gmail.com
9f9452d0846ce2ffe12f31dd25cd16d638492f05
ddeb775900fc389b2f05b5cc990bf123bd60272f
/Aula17/Ex80.py
eb39c792d6f1130c24605495ffffe703211c28a9
[]
no_license
rexayt/Meu-Aprendizado-Python
f61e1559c43ff76fb2d10ae1e8634ed82176bedf
2571d26ab91f45d3440193dda32a487a0ad7bb46
refs/heads/main
2023-04-13T15:40:36.056624
2021-04-22T18:21:08
2021-04-22T18:21:08
360,639,624
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
lista = [] for c in range(0, 5): n = int(input('Digite um número: ')) if c == 0 or n > lista[-1]: lista.append(n) else: pos = 0 while pos < len(lista): if n <= lista[pos]: lista.insert(pos, n) break pos+=1 print(list...
[ "noreply@github.com" ]
rexayt.noreply@github.com
ba7f120c0d5551658bacbd572127dbb325214ffa
11b420a9e6dbe371167227f41ef8e344e3382612
/ConvNets/Comparison_Plots/Pooled_Images/Pooled_Images.py
15a23b6ae92fc9bdfccb8654ccf3350027e0953e
[ "MIT" ]
permissive
tarek-ullah/Active-Learning-Bayesian-Convolutional-Neural-Networks
7092386758b68dc922efaa2c2eba055930bf2896
f8b68038bd3b97c473e9c1de6b6cdee4538021f4
refs/heads/master
2021-01-13T06:57:19.343775
2016-11-02T12:22:16
2016-11-02T12:22:16
81,338,773
1
0
null
2017-02-08T14:34:15
2017-02-08T14:34:15
null
UTF-8
Python
false
false
3,650
py
from __future__ import print_function from keras.datasets import mnist from keras.preprocessing.image import ImageDataGenerator from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation, Flatten from keras.layers.convolutional import Convolution2D, MaxPooling2D from keras.optimizers i...
[ "riashat.islam.93@gmail.com" ]
riashat.islam.93@gmail.com
e534714face0022b5bcd0add8b639c65f3106c87
85832b772afde033c77770a8eb268404bc96545e
/lib/operate_web/exceptions.py
b414fea64c9174c202222488c585ae500f072c25
[]
no_license
yesseecity/light-novel-parser
ce8fdec66b55e8ae7c484402c57f2bbda7926f9b
0c58c24360ab85585ba4a6230d90d8d32e6b57c7
refs/heads/master
2022-11-10T06:55:37.906276
2022-10-17T16:41:35
2022-10-17T16:41:35
234,101,534
0
0
null
2022-06-11T14:36:15
2020-01-15T14:44:56
Python
UTF-8
Python
false
false
491
py
class ElementNotFoundException(Exception): def __init__(self, dom_id=None, class_name=None, xpath=None, msg=None, mode=None, wait_time=None): self.dom_id = dom_id self.class_name = class_name self.xpath = xpath self.mode = mode self.wait_time = wait_time self.msg = ms...
[ "yesseecity@yahoo.com.tw" ]
yesseecity@yahoo.com.tw
ae840301c016aef5a128d64fcf9aea85c19267c3
bf70b30f3a9f91c2994dda2f130e73eddf87161d
/ldpred/util.py
c19a9271059ed61303bd3fe1a00ac885697b5004
[ "MIT" ]
permissive
choishingwan/ldpred
892fd5fb168fdf3d9ace8ad1ce3dc1cf9c767888
f7f2648dd7aebe9fcc919875823f379de309896b
refs/heads/master
2021-01-20T07:50:50.155301
2019-02-19T14:14:39
2019-02-19T14:14:39
90,049,563
0
0
MIT
2019-02-04T16:02:48
2017-05-02T15:35:46
Python
UTF-8
Python
false
false
3,632
py
""" Various general utility functions. """ import scipy as sp from scipy import stats # LDpred currently ignores the Y and MT chromosomes. ok_chromosomes = ['%d' % (x) for x in range(1, 23)] ok_chromosomes.append('X') chromosomes_list = ['chrom_%s' % (chrom) for chrom in ok_chromosomes] #Various auxiliary variables ...
[ "bjarni.vilhjalmsson@gmail.com" ]
bjarni.vilhjalmsson@gmail.com
91df374bba45a92207655510d73d15b4b347d239
1b77a59afaf8f525160de213e902357ba543ea14
/demo/webSpider/web_spider.py
4c84af38f1eb5bef81082c57146dc6997539fe17
[]
no_license
Miracleslop/python_daily
8e7711194b96538144581163f4cc3f09f0560638
11b66dff63dad01bea858aadc828e450e5470cc4
refs/heads/master
2020-03-19T01:07:41.982764
2018-09-21T10:01:10
2018-09-21T10:01:10
135,524,680
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
from urllib import request from urllib import parse from urllib import error from commun.logger import clog from demo.webSpider.htmlity import HtmlTagStart from demo.webSpider.htmlity import HtmlTagEnd import io lg = clog.Logger("web_spider") class FilterStrategy(object): def __init__(self, text: str): ...
[ "windous999@hotmail.com" ]
windous999@hotmail.com
79e89da491df1b01cf2db1375aa85bf04472dfce
f29a31354a66798e2c398fc2a01bc285b6e35dfb
/NeuralNetworks/l-IntroToNeuralNetworks/Perceptrons.py
8b97e96224a7febd95bb5ca02c32f3a2c2cb5e9d
[]
no_license
ajpiter/UdacityDeepLearning
2fd8b6ba7f29aa03ab9dfdd557dbdcc692e7ada0
eb343a8be223f4bcc15a87483f7945023c2c9a0e
refs/heads/master
2021-01-02T09:00:34.221125
2017-08-28T16:32:45
2017-08-28T16:32:45
99,121,250
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
#Perceptrons #Also known as neurons #Inputs #Weights #Start out as random values, then as the neural network learns more about the input data and results the network adjusts the weights #The process of adjusting the weights is called training the neural network #The higher the weight the more important it is in ...
[ "noreply@github.com" ]
ajpiter.noreply@github.com
191db6f8ca5bb50f81b0a602940e6003d3f27b1b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/4/usersdata/112/1803/submittedfiles/swamee.py
0993e51e919e7a77d0aa3da61db48e12e1ca660d
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# -*- coding: utf-8 -*- from __future__ import division import math f= input('Digite o valor de f:') L= input('Digite o valor de L:') Q= input('Digite o valor de Q:') DeltaH= input('Digite o valor de Delta H') v= input('Digite o valor de v') g= 9.81 e= 0.000002 D= ((8*f*L*Q)*(2/5))/((math.pi)**2(g*DeltaH)) Rey= (4*Q)...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
08fbb51cd24de98123d6393d2ea88e54c2531a02
5035dc491ad5d8e786944a4eb1625590254f0494
/GoogleMapi.py
944eca4ac912778f4115388d82eccb7d3be92c5f
[]
no_license
Ltunstall92/Personal-Projects
383083180d0abf8569effd5cd74a520ee527c80d
261ed4c69452971094321a89637efc3b57da89b3
refs/heads/master
2020-04-03T13:43:41.696705
2018-11-05T23:31:30
2018-11-05T23:31:30
155,295,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,694
py
import googlemaps import json import string import time gmaps = googlemaps.Client(key='KEY')#@@@@@@@@REPLACE WITH API KEY!!!!@@@@@ s_num = 1 #step number origin = None print("For input below please follow the format: City, State Code /n Example: Boston, MA") if origin == None: origin = input("Enter a place of orig...
[ "noreply@github.com" ]
Ltunstall92.noreply@github.com
eee47352250b1354c790e2f7624fae5c7205dbdd
d45b87ba22649cb9c0f003479112c50a7ce09ba0
/Counting Sort 3.py
65bd53aba0bb44a886e5ed534ec574b1d9fdc902
[]
no_license
chishui/HackerRankAlgorithmsChallenge
7458f6553f52846b9de5b68c0f692f72be13dfa8
611096a0c362675ce68598065ea3fe0abbbe5b99
refs/heads/master
2020-12-24T13:35:43.829308
2014-09-02T10:36:57
2014-09-02T10:36:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
#https://www.hackerrank.com/challenges/countingsort3 N = input() li = [int(raw_input().strip().split()[0]) for i in range(0, N)] li.sort() last = -1 index = 0 out = [] for i in range(0, 100): while index < len(li) and i >= li[index] : index = index + 1 out.append(index) print ' '.join(map(str, out))
[ "chishui2@gmail.com" ]
chishui2@gmail.com
27fac4f1aaf8414c571f63b38f3416535871b864
e7fcc1d64cd95805918ab1b5786bf81a92f973ef
/2020/day06/test_day06.py
dcfa4fa5d4d7f186a72866d92f905fc5c31bff00
[]
no_license
trolen/advent-of-code
8145c1e36fea04e53d4b7a885efcc2da71fbfe57
0a4e022a6a810d86e044a15036a2f5778f0d38af
refs/heads/master
2023-02-26T13:11:58.341006
2023-02-20T23:22:27
2023-02-20T23:22:27
54,579,550
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
#! /usr/bin/env python3 import unittest import day06 class TestDay06(unittest.TestCase): def setUp(self): self.raw_data = [ 'abc', '', 'a', 'b', 'c', '', 'ab', 'ac', '', 'a', ...
[ "timothy.rolen@gmail.com" ]
timothy.rolen@gmail.com
b31b2e1e03da902449ac1d6c84e33183f1d07823
7e372094fde657891fdfad0e1fe2f3d9693bdf64
/instapi/exceptions.py
097eba4057636202fd4eb326edc7e7e743aaa204
[ "MIT" ]
permissive
uriyyo/instapi
b92c95a8adc2cdb73fc563649d3d14752c1e42c4
f15b45727a08fd9b203c71b2a8c9d103478a50dc
refs/heads/develop
2023-06-30T17:46:25.307092
2023-06-26T08:43:57
2023-06-26T08:43:57
203,244,044
37
4
MIT
2023-09-08T03:08:27
2019-08-19T20:17:36
Python
UTF-8
Python
false
false
100
py
class ClientNotInitedException(Exception): pass __all__ = [ "ClientNotInitedException", ]
[ "1998uriyyo@gmail.com" ]
1998uriyyo@gmail.com
cdb896df7dafbf9b574f7853ffe03b2a0ab849e0
5c4cc78698a8cdadb10c45799a67c95ca17a4d5a
/custom_components/usage.py
f93d2655364330efe4fac2599f2b0bc5244848ee
[]
no_license
gitumarkk/dash-custom-components-blog
fb044f14735d686bbf0c3e07b863c0eb39830c6b
3a94e3fd7e3047eb082be901f2c2962b42b27964
refs/heads/main
2023-05-31T06:40:33.337975
2021-06-11T06:22:31
2021-06-11T06:22:31
375,925,178
1
1
null
null
null
null
UTF-8
Python
false
false
524
py
import custom_components import dash from dash.dependencies import Input, Output import dash_html_components as html app = dash.Dash(__name__) app.layout = html.Div([ custom_components.MyCustomComponent( id='input', value='my-value', label='my-label' ), html.Div(id='output') ]) @...
[ "gitumarkk@gmail.com" ]
gitumarkk@gmail.com
cbf272103a5b17ce360b512e13f10fb16434d0cb
8b82bb7488961596a5f868c96ac61a5e4ca05c42
/max_value.py
01d0aad6279fa48a1bd0f51e705a10750ac9b837
[]
no_license
ashasuj/Python-newby
cb400bb00cfdba04891fdd339fc771b83993182f
6f907d93ba2610bf4edc7c9f3f1feca76d9096e7
refs/heads/master
2020-04-09T22:17:13.304147
2019-11-24T01:15:11
2019-11-24T01:15:11
160,624,402
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
numbers = [22,43,14,10,1] max_value = numbers[0] for item in numbers : if item > max_value : max_value = item print(max_value)
[ "noreply@github.com" ]
ashasuj.noreply@github.com
6e8afb0f588cd9bd417b3f790e1acf42db700d9e
22f83d2dd088b31ce32a394cfcf5013ad72e2cbc
/网络爬虫/ip池/Improve/DataBase.py
a9e131e995a27ca1067bf249184d8bb28eba40d1
[]
no_license
Lawlighty/Python
375908669373be2ffb38c148f6ba523058dd74b8
757261ab74e5aac14a5e29a7781b7581cfd223b9
refs/heads/master
2020-05-04T16:39:39.640378
2019-11-16T04:37:11
2019-11-16T04:37:11
179,284,076
0
2
null
null
null
null
UTF-8
Python
false
false
2,382
py
import config import pymysql #数据库操作 #初始化 def init(): try: db = pymysql.connect(config.mysql_localhost, config.mysql_root, config.mysql_psw, config.mysql_dbname ) cursor = db.cursor() sql = 'CREATE TABLE IF NOT EXISTS {}(ip_port varchar(30) primary key not null)'.format(config.mysql...
[ "noreply@github.com" ]
Lawlighty.noreply@github.com
8c98bff38d91ed5a44a71a4aa02dfad006406174
049c6607e64e89bb4ddfe43d86a4bd41c9f1b1e1
/overay_noscale.py
b81839eeee1f8a839c49f43b1b00ba2c94595d62
[]
no_license
sverrirbjarna/Python
4cf5058f3895f12eb1239d036f36ec8317048662
0f1500b9939a395f7c7240d037ef16dd67870301
refs/heads/master
2023-02-12T10:30:17.629585
2021-01-11T02:22:02
2021-01-11T02:22:02
252,490,560
0
0
null
null
null
null
UTF-8
Python
false
false
855
py
from __future__ import print_function from PIL import Image import cv2 as cv alpha = 0.2 try: raw_input # Python 2 except NameError: raw_input = input # Python 3 print(''' Simple Linear Blender ----------------------- * Enter alpha [0.0-1.0]: ''') #input_alpha = float(raw_input().strip()) #if 0 <= alp...
[ "sverrirbjarnason@gmail.com" ]
sverrirbjarnason@gmail.com
7ec51630d622901b2d88dfdd17df2eebdafa22be
9d58caaabce0289738d485135cda2e178575c9a4
/kotti_bootswatch_theme/tests/test_resources.py
97392a7f785c0a224f73154dd874981b9e8057c1
[ "BSD-3-Clause-Modification" ]
permissive
mete0r/kotti_bootswatch_theme
61202aeccbb729df5380ce540633d9a555225b78
4ee6fbf24501b89d4076dbee4323c70c72542e7e
refs/heads/master
2022-11-24T07:59:07.560943
2020-05-05T10:36:56
2020-05-05T10:36:56
27,492,192
0
0
NOASSERTION
2022-11-22T05:06:19
2014-12-03T14:56:56
CSS
UTF-8
Python
false
false
521
py
# -*- coding: utf-8 -*- """ Created on 2014-12-03 :author: mete0r (mete0r@sarangbang.or.kr) """ from pytest import raises def test_model(root, db_session): from kotti_bootswatch_theme.resources import CustomContent cc = CustomContent() assert cc.custom_attribute is None cc = CustomContent(custom_a...
[ "mete0r@sarangbang.or.kr" ]
mete0r@sarangbang.or.kr
72655e0d239fb7752d956948112e58f2ba5f52b8
3637fe729395dac153f7abc3024dcc69e17f4e81
/reference/ucmdb/discovery/os_platform_discoverer.py
02d93f540190842835fd968afa055cc09e7172c3
[]
no_license
madmonkyang/cda-record
daced6846c2456f20dddce7f9720602d1583a02a
c431e809e8d0f82e1bca7e3429dd0245560b5680
refs/heads/master
2023-06-15T08:16:46.230569
2021-07-15T16:27:36
2021-07-15T16:27:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,272
py
# coding=utf-8 ''' Created on Dec 27, 2013 @author: ekondrashev ''' import logger import entity import command import flow import post_import_hooks import service_loader from service_loader import load_service_providers_by_file_pattern class Platform(entity.Immutable): def __init__(self, name): self.name...
[ "silentbalanceyh@126.com" ]
silentbalanceyh@126.com
62011be163fcd16e0c89f50f2b772060031a4830
103c0ab0aa8645890af45a9825b9130fa498fb15
/travelapp/models.py
06ec2f405122e5136dc941c3f616cf4071642702
[]
no_license
JohnDBlaze/travel
fcf23f4f42ebdefba2c9a5af6d9a6c36b7befadd
19e10e19d2cfdc9bcd95f72742e2f531b813f8d1
refs/heads/master
2023-08-14T18:35:53.132105
2021-10-10T13:11:53
2021-10-10T13:11:53
415,590,428
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from django.db import models # Create your models here. class place(models.Model): name = models.CharField(max_length=100) img = models.ImageField(upload_to='picture') desc = models.TextField() price = models.IntegerField() offer = models.BooleanField(default=False) class blog(models.Model): ...
[ "abhilashfrancis88@gmail.com" ]
abhilashfrancis88@gmail.com
663a5aa9df2a0620bc5e0f0dfe063853cd4c8171
d429431864b3699029f52ca1a232a152c21fb9e6
/codekata/pali.py
ed6ade1a7df282d0e83a461cdff5b2049294a74d
[]
no_license
kirubah18/guvi
32e1baeae3371dc14cb95b61421ddac269e3f56d
5a642b07b6defaf344847e29c5f6bee574aa7c4e
refs/heads/master
2020-06-03T00:09:17.428442
2019-06-24T05:04:21
2019-06-24T05:04:21
191,355,101
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
a1=input() a=int(a1) b=a i=0 while(a!=0): p=int(a%10) i=int(i*10+p) a=int(a/10) if(b==i): print("yes") else: print("no")
[ "noreply@github.com" ]
kirubah18.noreply@github.com
4cd27ec2a6296f942376e8e41767de6dd42b8cba
3efe7813bb3c4f48f508c464f24b78acaccd827b
/actions.py
475586444fb2906bb7612bd32f78d38310d0ef12
[]
no_license
SamButers/Le-Chat
05110b2b9fa0484380b214abbcec590635a6ed27
af0af4512456dceeb364abe80b4e9169be1fc46e
refs/heads/master
2021-07-03T01:54:23.995599
2019-04-06T05:10:30
2019-04-06T05:10:30
178,958,398
0
1
null
null
null
null
UTF-8
Python
false
false
773
py
from rasa_core_sdk import Action from rasa_core_sdk.events import SlotSet import requests, json class ActionInformCat(Action): def name(self): return "action_inform_cat"; def run(self, dispatcher, tracker, domain): cat = tracker.get_slot('cat'); cat_url = 'https://api.thecatapi.com/v1/breeds/search?q=' ...
[ "sambuters@gmail.com" ]
sambuters@gmail.com
54c162b29e9001c19ac7d6dca301deb9f0baaeda
69e318f2b60175108bc74ee669bfe16287a71cb6
/plugins/modules/fortios_firewall_vipgrp46.py
c17473a84beae56fcf18f1d94f460da32776abe1
[]
no_license
chillancezen/ansible-galaxy-fortios-collection
5268a5fd97fb4594772349b8d89cb818ec54b3bd
66a331cd4493d1b0f49798d5c2cd6ef5aeba84d3
refs/heads/master
2022-04-09T19:20:59.073193
2020-03-26T07:17:09
2020-03-26T07:17:09
250,185,374
0
0
null
2020-03-26T07:06:16
2020-03-26T07:06:16
null
UTF-8
Python
false
false
11,486
py
#!/usr/bin/python from __future__ import (absolute_import, division, print_function) # Copyright 2019 Fortinet, Inc. # # 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 Lic...
[ "fshen01@fortinet.com" ]
fshen01@fortinet.com
5216a13d8d872dec242e77027299a6e3e1ff4e34
4e711136a2cbf3a16ee50f2076b0d992561b7557
/users/models.py
5e93afb21dfd1a4ae766e593f211401d2bf3e1cc
[]
no_license
SATYENDRARANJAN/YOURPHYSIO
30e324f65352bf3890df019023782f13732a42e6
829245309e2f1800cf8127b37df6134dcf3ced20
refs/heads/main
2023-06-25T14:14:52.112859
2021-07-30T00:01:24
2021-07-30T00:01:24
390,877,300
0
0
null
null
null
null
UTF-8
Python
false
false
1,495
py
from datetime import datetime from django.db import models # Create your models here. class Patient(models.Model): name = models.CharField(max_length=40,null=True) phone = models.IntegerField(max_length=10) email = models.EmailField() created_at=models.DateTimeField(default=datetime.now) updated...
[ "satya@getvital.com" ]
satya@getvital.com
c1064fc49e796bcf0aefae3556c05fc32fd0952f
d4d16e48357eeb759d979c1777bf93b437f8d69a
/page/__init__.py
5ce10e61df1804de6a73f86870f1834d93850e60
[]
no_license
jianxiaohui18/xuechebu_project
abc2f32f8688fa47ed87d041dfafd3151cdb213a
974ffb10d648873151cb586fa153d4dd491b30f9
refs/heads/master
2020-12-13T16:23:27.643807
2020-01-17T10:37:21
2020-01-17T10:37:21
234,470,543
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
from selenium.webdriver.common.by import By #首页 mine_btn = By.XPATH,'//*[contains(@text,"我的")]' #我的按钮 #我的页面 log_reg_btn = By.XPATH,'//*[contains(@text,"登录")]' #登录/注册按钮 username_text = By.XPATH,'//*[contains(@text,"用户")]' #登录页面 username_box = By.ID,'com.bjcsxq.chat.carfriend:id/login_phone_et' #用户名输入框 passwor...
[ "624767241@qq.com" ]
624767241@qq.com
b18d91a68a5d42b0f2f054ca6b2d456eab45041a
9ed3770babe66fd7f1ba86b1245978cf86f77d1b
/client.py
19c8e91e4b992d25d18bc220a89f1fc0fc842aa4
[]
no_license
lwx940710/TCP-Concurrent-Upload-Download
ff0065fb0c5190e51c0b53ebb75edf6e4313dcad
cf402e1d5498a740becdc1210d6ea7f5e185e533
refs/heads/master
2021-01-16T18:56:42.928643
2017-08-12T19:22:44
2017-08-12T19:22:44
100,133,218
1
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
#!/usr/bin/env python3 from struct import pack, unpack import socket, sys, os, io, math, time # terminate server: client <host> <port> F # download: client <host> <port> G<key> <file name> <recv size> # upload: client <host> <port> P<key> <file name> <send size> <wait time> def tryInt(s): try: int(s) return True...
[ "w254li@uwaterloo.ca" ]
w254li@uwaterloo.ca
930727de4fc9a819568fa813409d808229907aeb
3da246077831519b40aa45ce6bb6ac63fc1a17fe
/models/regularizers.py
e6a7729c1644ee207936c4e77bc1e6134614ea4c
[]
no_license
jamesoneill12/SupervisedMetaEmbedding
b4d9728ce501e4661f1d9f9191affb7dbe8daab3
9d379d7bb9049e475bffb78f2e1df2d0ed72684d
refs/heads/master
2022-11-12T23:28:17.058219
2020-07-04T00:47:18
2020-07-04T00:47:18
277,012,140
0
0
null
null
null
null
UTF-8
Python
false
false
15,967
py
import torch from torch.nn import Parameter import torch.nn as nn from torch.autograd import Variable import numpy as np """module, weights, dropout=0, variational=False""" def dropconnect(module, weights, p=None, dim=None, method='standard'): """module, weights, dropout=0, variational=False""" if method ==...
[ "james.oneill@insight-centre.org" ]
james.oneill@insight-centre.org
312460ac8bca6af84350206ee751570d59d027a3
1a639d185f9c883b7bebf33c577c58b22ac93c7e
/graphics/moving_pan.py
37ad05954d8428b128a6f418e6a6d7232f4c8994
[]
no_license
gofr1/python-learning
bd09da5b5850b1533a88b858690ed4380b55d33e
19343c985f368770dc01ce415506506d62a23285
refs/heads/master
2023-09-02T15:42:27.442735
2021-11-12T10:17:13
2021-11-12T10:17:13
237,828,887
0
0
null
2021-11-12T10:17:14
2020-02-02T20:03:42
Python
UTF-8
Python
false
false
767
py
from superwires import games path_to_images = '../../Pictures/img/' games.init(screen_width = 640, screen_height = 480, fps = 50) class Pan(games.Sprite): '''Pan moving with mouse''' def update(self): '''Move object to mouse position''' self.x = games.mouse.x self.y = games.mouse.y ...
[ "gofr.one@gmail.com" ]
gofr.one@gmail.com
c185379f5cef1cca71aa3cc90ae80bd7a5f7afef
f03621c7ad9ee423439e55fba23f6ffa53fc8599
/src/python/07-test-grapy.py
46459f0870aaecebf3c37cf739658f6e778485c2
[]
no_license
kimkangbo/mlforhighschool
313c059db83350f5f30efedb22e9ae0225e55b08
9fc8fbc5574a8dbf973bdddaf8130eea1c49fe59
refs/heads/master
2021-06-03T16:26:40.529569
2020-05-17T15:56:22
2020-05-17T15:56:22
135,787,947
0
0
null
null
null
null
UTF-8
Python
false
false
6,631
py
# Example of solving simple linear (y(x) = mx + b) regression in Python. # # Uses only Numpy, with Matplotlib for plotting. # # Eli Bendersky (http://eli.thegreenplace.net) # This code is in the public domain from __future__ import print_function from matplotlib import cm from matplotlib.animation import FuncAnimation ...
[ "kimkangbo@gmail.com" ]
kimkangbo@gmail.com
55c7a91a2d15442966a2c78923fa3cc202a4b7c3
2331bca795bf4dff9b58e05b18922847fd401818
/Search Algorithms/BFS.py
3fa5036a36439ece39558cf04ad92731c3fe948c
[]
no_license
MrAliTheGreat/AI_Projects
794fe46754ca16324294dc08d255cda26304f0c0
6b25079473dcc4343fd5be6c998621f7f2dbb59d
refs/heads/master
2023-07-27T21:26:28.124077
2021-08-20T08:55:12
2021-08-20T08:55:12
352,749,710
0
0
null
null
null
null
UTF-8
Python
false
false
8,416
py
import time class State(): def __init__(self, curLoc_x , curLoc_y , curCapacity , curNumRemainingBalls , needDelivery , hasPicked , parentState=None , depth=0): self.curLoc_x = curLoc_x self.curLoc_y = curLoc_y self.curCapacity = curCapacity self.curNumRemainingBalls = curNumRemainingBalls self.needD...
[ "alibahari007@gmail.com" ]
alibahari007@gmail.com
3cd88b7155f943721061204a47fa62099cc6acd0
bf4209c0846a1c237dd996267c8eadd7717ae19e
/timer_tracker.py
0eab39fcd28105062a931c59184961366d0cb19f
[]
no_license
bulhakovolexiy/movieParser
f312fb8c0037536dea8ca15f79ec280fdcbdc129
72235789a26dc828ab605f63de0e7370310393ba
refs/heads/master
2023-08-15T04:02:19.478610
2021-10-13T19:24:49
2021-10-13T19:24:49
415,060,286
0
0
null
null
null
null
UTF-8
Python
false
false
1,515
py
class TimerTracker(object): def __init__(self): pass # def find_main_beep_freq(source): # fft_spectrum = np.fft.rfft(source) # # freq = np.fft.rfftfreq(source.size, d=1. / sampFreq) # # freq_coords = [int(x) for x in range(0, len(freq)) if 1500 <= freq[x] <= 3250] # fft_spectrum = fft_spe...
[ "dzot161995@gmail.com" ]
dzot161995@gmail.com
dd983b475450134d57eea146369f3c3af92487a9
c3c9f799c6163162d31916968eab9bc827f6fd7c
/trainlesk.py
d52736afb1a27dbb54ae839f4758993e52da67c0
[]
no_license
Sayan-m90/Thats-Punderful
b52faba8574a37bed5059572c29f306605a81bf3
3885553d98575df003bc4a13173d4f17784384e5
refs/heads/master
2021-09-05T17:45:45.565902
2018-01-30T01:46:18
2018-01-30T01:46:18
119,462,826
0
0
null
null
null
null
UTF-8
Python
false
false
4,892
py
from __future__ import division from nltk.corpus import wordnet as wn from nltk.stem import PorterStemmer from itertools import chain from nltk.corpus import stopwords import csv from sklearn import tree import pdb import string from sklearn.metrics import confusion_matrix from sklearn.model_selection import GridSearch...
[ "noreply@github.com" ]
Sayan-m90.noreply@github.com
5c9ae93b8c8b6056f60afc3d451483318bba5335
53548996d9dce7f6127126f2df8b1ed43ce96e0a
/tweetsearch.py
3e450cdf5952a3bcd332b4bb60fca070210bb8bc
[]
no_license
keivahn/W205__Assignment2
35eb46cb8a9f772480e9dd82e57e46cf9da09b66
f5c1bb6abda62547534ca9c1431fe370a8b12e16
refs/heads/master
2020-04-20T03:51:26.584638
2015-07-11T02:39:38
2015-07-11T02:39:38
38,150,147
0
0
null
2015-07-11T02:39:38
2015-06-27T06:38:41
null
UTF-8
Python
false
false
2,472
py
# Alex Smith # MIDS - W205 # This program searches for tweets within a given date range # for all tweets containing two queries. import sys # import the system module, read command line arguments import urllib # import module to interact with web import datetime # import modu...
[ "Alex@Alexs-MacBook-Pro.local" ]
Alex@Alexs-MacBook-Pro.local
a1bdcdb481696a4cde9e5264a2cddcb522103db0
02081cb12f02c0481701c53efabd0a73e889f42d
/model/CR.py
4f4731c1ec7cbfa88a34e74d8c0ed8463765a42d
[]
no_license
zr1048028670/AECR-Net
900484711dd9c1e1d0e54157c9662d437b9f0a4a
d2eb15b9fd98d6f1bedd64b72d49548ebfadeedb
refs/heads/main
2023-08-12T11:53:02.742030
2021-10-13T02:16:30
2021-10-13T02:16:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,271
py
import torch.nn as nn import torch from torch.nn import functional as F import torch.nn.functional as fnn from torch.autograd import Variable import numpy as np from torchvision import models class Vgg19(torch.nn.Module): def __init__(self, requires_grad=False): super(Vgg19, self).__init__() vgg_pr...
[ "704289013@qq.com" ]
704289013@qq.com
53f22c793897b67ba555bf2fec3f3bd3b6be2bb4
343885d6a1901a045c79132d25fad91f21be3626
/cs224n/a5/model_embeddings.py
0992b20a7cb2eece2be4925cd100e48b9d2ddd8c
[]
no_license
DeCinB/nlp_learning
04acf0c2e6c2b89e7496013338623106505bf497
251387484d09add52d7a0f24ac89deb8b6633fd9
refs/heads/master
2023-01-31T03:17:06.442021
2020-12-09T15:12:27
2020-12-09T15:12:27
319,951,977
0
0
null
null
null
null
UTF-8
Python
false
false
2,752
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ CS224N 2019-20: Homework 5 model_embeddings.py: Embeddings for the NMT model Pencheng Yin <pcyin@cs.cmu.edu> Sahil Chopra <schopra8@stanford.edu> Anand Dhoot <anandd@stanford.edu> Michael Hahn <mhahn2@stanford.edu> """ import torch.nn as nn # Do not change these imp...
[ "1481410986@qq.com" ]
1481410986@qq.com
6f44e55609bce00b517938584610a93d2b86c024
8b21142cccab05509cad8fe0dd7af867cd7fa6ff
/pybullet/noros/solo.py
31a42a840a9716da3cedd786f09ce26694f6665d
[ "MIT" ]
permissive
WPI-MMR/simulation_playground
2c7763b5d5b4ee388d0d101af1d6f4235307bcd0
b5ebfc58feed6d380c92fb65988032cbab5b32bc
refs/heads/master
2022-12-22T09:36:50.376379
2020-10-04T21:32:25
2020-10-04T21:32:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,788
py
import functools import math import util import os from typing import List, Tuple from pinocchio import utils as se3util from pinocchio import robot_wrapper as se3robot_wrapper import pinocchio as se3 class BaseSolo(object): """The base solo class Args: model_path (str): The path to the root of the model f...
[ "rukna1000@gmail.com" ]
rukna1000@gmail.com
abbfb2d604c1dd871e29b62445be0039b0e26849
f64e9de2a5f8cd677180172591256a651fe20cbc
/examples/list1.py
8a18ad28e39f8a252c7df3374926d0a7605803f6
[ "MIT" ]
permissive
schlichtanders/pyparsing-2.0.3-OrderedDict
c85455a65ea610a959a41d035175912ba3762e11
50bb1a10b63ac623ef58ffa3ee59bb08be172ff4
refs/heads/master
2021-01-10T04:07:10.044763
2015-10-23T11:03:14
2015-10-23T11:03:14
44,807,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,660
py
from pyparsingOD import * # first pass lbrack = Literal("[") rbrack = Literal("]") integer = Word(nums).setName("integer") real = Combine(Optional(oneOf("+ -")) + Word(nums) + "." + Optional(Word(nums))).setName("real") listItem = real | integer | quotedString listStr = lbrack + delimitedLi...
[ "Stephan.Sahm@gmx.de" ]
Stephan.Sahm@gmx.de
a042d6383847e72133f0b16ca96826a94468373b
cb8c9fd1699d26afaa656396c7636f398b77ae0a
/musicdisplay/myapp/views.py
94d1e8b5d98ff920bb75c07420e0ab39036691f3
[]
no_license
JannyBiubiu/DAM
98d305a40b941d2c7b7115f1a00193cd2065afe1
ffe81d582c001236b631f2e0c25df5d711343cc6
refs/heads/master
2020-03-31T11:59:04.332152
2018-11-15T16:32:16
2018-11-15T16:32:16
152,198,792
0
0
null
null
null
null
UTF-8
Python
false
false
1,918
py
""" Routes and views for the flask application. """ #-*- coding:utf-8 -*- from datetime import datetime from flask import render_template,request from myapp import app import os import json with open("./myapp/static/meta.json","r+",encoding="utf-8") as code: obj=json.load(code) fields=obj["media_src"] def getmeta(pa...
[ "3160102525@zju.edu.cn" ]
3160102525@zju.edu.cn
71fd4b0019784bfea40cddbd9b8a5bf51b2edb78
4dabe29fcc463c334530b5dac48c9009a803cdda
/Levinson-Durbin.py
0bedd09c4e00cb1ba827a758a7296f9ae912137b
[]
no_license
Abdel-Malik/Projet_ASAR
7567934426fe7cbcc328774f90f7bec152a00bd2
8d9b089c531845f94a293b371329f6a11e5abfa0
refs/heads/master
2021-01-18T22:22:31.649306
2017-04-24T09:30:02
2017-04-24T09:30:02
87,048,873
0
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Apr 10 18:00:01 2017 @author: ledentp """ # Caclul du vecteur contenant les coefficients d'autocorrelation # Yn est le vecteur des donnes # R est un vecteur contenant les coefficitens d'autocorrelation # Complexite O(n*n) def coeffsAuto(Yn,p): # r ...
[ "noreply@github.com" ]
Abdel-Malik.noreply@github.com
0a9ceb15dff10ffe4f727308fc88a2b199140f7d
e6bbdf531b4c6452be6d007829d9ff8da5a5c42a
/tests/test_local_planner.py
586bc8b27cb87b34577f017a06b2fda1fd93921d
[]
no_license
DevotionZhu/simple_scenario_validation
e3c3e61a72c3d4774514c3a116088bfef88c470c
b84a9f0d6c5023171526f37fa8b36edb4308f714
refs/heads/master
2022-01-15T06:52:15.312433
2019-07-17T13:35:46
2019-07-17T13:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
import carla from utils.local_planner import LocalPlanner from utils.in_memory_map import InMemoryMap ip = "10.51.6.52" port = 2006 client = carla.Client(ip, port) world = client.get_world() world_map = world.get_map() local_map = InMemoryMap(world_map) local_map.setup() vehicle = world.get_actors().filter('vehicle...
[ "pravinblaze@hotmail.com" ]
pravinblaze@hotmail.com
a904615bd096feb7bf4831dd78ed92d7eebcda1f
8293eea2e15ea057ffcc496f528dddd48b0ee2cd
/script/luatex_node_inspect.py
d3183f62449dbc293ec5e7d33bcdcc83ed793fa6
[]
no_license
xziyue/luatex-node-inspect
5a0c162a4c50eb47e8935872b46cb433f16253d9
7ba1e80f60dadb337bb231a4c92f3831e256a915
refs/heads/master
2023-01-24T16:25:21.295622
2020-12-15T16:25:50
2020-12-15T16:25:50
321,552,792
1
0
null
null
null
null
UTF-8
Python
false
false
10,315
py
import copy import re import os import json __node_common_field = [ 'id', 'prev', 'next', 'subtype' ] __node_id = { 0: 'hlist', 1: 'vlist', 2: 'rule', 3: 'ins', 4: 'mark', 5: 'adjust', 6: 'boundary', 7: 'disc', 8: 'whatsit', 9: 'local_par', 10: 'dir', 11: 'math', 12: 'glue', 13: 'kern', 14: 'penalty', 15:...
[ "xziyue@qq.com" ]
xziyue@qq.com
69d50785ab8f1b14cf54f382e8aae15f81e7eab9
816f1b2efd6c33da1177694a1bacc65c6dd7309c
/views/predict.py
9fa1aef52df8f288d1735ae3febd85835c38aa96
[]
no_license
harbaouiiii/etyp
7ea2f411100b0f50fb44523cd8445336e3aa4ea4
1b0f51caf80005a01d97cf6cc4645d2714352f4f
refs/heads/main
2023-06-03T00:16:24.021112
2021-06-20T16:27:24
2021-06-20T16:27:24
378,690,981
0
0
null
null
null
null
UTF-8
Python
false
false
17,178
py
from flask import Flask, render_template, request, jsonify, json, Blueprint, redirect, url_for, session from flask_sqlalchemy import SQLAlchemy from wtforms import SelectField, Form from flask_wtf import FlaskForm from flask_login import current_user from views.forms import Form from models import City, Municipality im...
[ "harbaouiiii" ]
harbaouiiii
87610080866d9cad3191923528acbeeed82d6233
547548a6ae8db52b1b183d6f3ba3ad63f4247962
/train/gen/kl/paths.py
5bc1abac26c206f66572dc7988a9abdd8620b8c0
[ "MIT" ]
permissive
jeffkrupa/SubtLeNet
21870c8cc88080c101edffb414832d863c299455
e0e74b7a0a1c76fd6d6e21c80ce57302a2cd6b6f
refs/heads/master
2022-06-25T16:33:36.427635
2022-06-10T16:15:53
2022-06-10T16:15:53
187,670,116
0
2
MIT
2019-08-02T20:26:20
2019-05-20T15:44:13
Python
UTF-8
Python
false
false
288
py
#basedir = '/fastscratch/snarayan/genarrays/v_deepgen_3/' #figsdir = '/home/snarayan/public_html/figs/deepgen/v3/' basedir = '/data/t3serv014/snarayan/deep//v_deepgen_4_small/' figsdir = '/home/snarayan/public_html/figs/deepgen/v4_kl/' from os import system system('mkdir -p '+figsdir)
[ "sidn@mit.edu" ]
sidn@mit.edu
bdf68b56c5eb18f09a7ad8ccc33d711cf58a4939
bebc8db5f0da1a0e44bc99a5d4922243a7d5ccdf
/LAB_0_MFAA.py
83cf2930c9c789a554455f994156dd1a25528fab
[]
no_license
MaferAnso/LAB_0_MFAA
3d29825fa112a950a0e40599daf28b9a4b714d2d
502a69c20df4768b57ee28af2d35e8874e639125
refs/heads/master
2020-12-23T17:26:02.477897
2020-02-24T14:15:29
2020-02-24T14:15:29
237,217,700
0
0
null
null
null
null
UTF-8
Python
false
false
3,134
py
# -- ------------------------------------------------------------------------------------ -- # # -- Proyecto: Repaso de python y análisis de precios en OANDA -- # # -- Codigo: Laboratorio_0 -- # # -- Rep: https://github.com/MaferAnso/LAB_0_MFAA -- # # -- A...
[ "mafer.ansoleaga@gmail.com" ]
mafer.ansoleaga@gmail.com
19c958c9aeb6d3f7038d4699459b22ccbfeb451c
693a6631f854e04775f546cef91af3e93d6c6f27
/blog/models.py
02091040fa991fedd038588cfb640164121cbb65
[]
no_license
edsonjnior/my-first-blog
ff9c2d90466ac177acc9652b6b7f8f1c93327444
f245216761ff69face9ee5bfb25684d8f2c03017
refs/heads/master
2020-03-22T11:55:50.819475
2018-08-20T23:29:48
2018-08-20T23:29:48
140,005,366
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
from django.db import models from django.utils import timezone class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField(default = timezone.now) published_date =...
[ "edsonjnior@gmail.com" ]
edsonjnior@gmail.com
40801f7d40c23e8ef9fd71aef06229192814b53d
738b6d6ec4572f5848940b6adc58907a03bda6fb
/tests/pymcell4_positive/3000_reports_check/model.py
03fdbc184e2cc0fea4c8bae504524b1bb53ba093
[ "MIT", "Unlicense", "LicenseRef-scancode-public-domain" ]
permissive
mcellteam/mcell_tests
09cd1010a356e0e07c88d7e044a73c5606c6e51a
34d2d967b75d56edbae999bf0090641850f4f4fe
refs/heads/master
2021-12-24T02:36:24.987085
2021-09-24T14:19:41
2021-09-24T14:19:41
174,733,926
1
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
#!/usr/bin/env python3 import sys import os MCELL_PATH = os.environ.get('MCELL_PATH', '') if MCELL_PATH: sys.path.append(os.path.join(MCELL_PATH, 'lib')) else: print("Error: variable MCELL_PATH that is used to find the mcell library was not set.") sys.exit(1) import mcell as m params = m.bngl_utils.load...
[ "ahusar@salk.edu" ]
ahusar@salk.edu