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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
29ea7bad2c0d0f0b10aa45a6fb658eb5f08b09eb
739373ca3a5fe5bc9b495b040a96ec5653a1ba45
/Introdução a Ciencia da Computação com Python - PII/w6_recursao/fatorial.py
a4fdc2243e96f154f57089fe7597a277189de199
[]
no_license
emanuelgustavo/pythonscripts
e7e9999ad91b4c97d13ade81d2907f596479863f
4ac7c1522407602406ce0b875493daefdcacc8b9
refs/heads/master
2020-06-25T11:54:05.638587
2020-03-05T10:18:04
2020-03-05T10:18:04
199,301,121
1
0
null
null
null
null
UTF-8
Python
false
false
333
py
import pytest def fatorial(n): if n < 1: return 1 else: return n * fatorial(n-1) @pytest.mark.parametrize('entrada, esperado', [ (0, 1), (1, 1), (2, 2), (3, 6), (4, 24), (5, 120) ]) def test_fatorial(entrada, esperado): assert fatorial(entrada...
[ "noreply@github.com" ]
emanuelgustavo.noreply@github.com
b8f5573ff344929c69dceabf3640aea61ec7232f
bd97064b5ed9f17b11bcd3ac9a1f2c8ea9ffaf82
/restapi/routers/Utils.py
8284d48e5f99c5cebcbd87f7d2ecb895771a1912
[]
no_license
IndominusByte/bhaktirahayu-backend
a33eff6d0a74894934a6643ef3b81af283542ecf
628d5d5cdbe145696835e32c47f77ca03dc72708
refs/heads/main
2023-08-13T16:25:21.241086
2021-09-18T18:04:25
2021-09-18T18:04:25
389,309,892
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
from fastapi import APIRouter, Depends from fastapi_jwt_auth import AuthJWT from schemas.utils.UtilSchema import UtilEncodingImageBase64 from libs.MagicImage import MagicImage router = APIRouter() @router.post('/encoding-image-base64',response_model=bytes) async def encoding_image_base64(util_data: UtilEncodingImageB...
[ "nyomanpradipta120@gmail.com" ]
nyomanpradipta120@gmail.com
d2563ff00aa638ceb1ed6a4ea968d43973b51742
a0128c94ae8ad9fa4ab3996a9448605acee929b0
/array/missing_number.py
3ac731a88e097005f3db078877aec9c124a11c37
[]
no_license
AbhinavJain13/Leetcode-Solutions
bc901188c260698f4d705c6934c87f9f44a00531
ae2607093beb4257c96beb6eb8b03720ab29784d
refs/heads/master
2021-01-12T14:48:19.082161
2016-10-17T21:24:53
2016-10-17T21:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
class Solution(object): def missingNumber(self, nums): """ :type nums: List[int] :rtype: int """ n=len(nums) return (n*(n+1))/2-sum(nums)
[ "noreply@github.com" ]
AbhinavJain13.noreply@github.com
22d4fbf7a6fdf7f62c977d62dddb5f36d9ca10dc
3bcfe9a0e176947b76ff35341e3ab7938c6e680a
/Fundamentos/tipos_datos.py
16bfa93699b20b3cf76a52acb55078fb66746b20
[]
no_license
algonca00/UniversidadPython
5dd057eac0705ee922b9fa4b2ddc1705e692af91
6984b630348701cb3b2e0ab61c913e7f6cfa76ef
refs/heads/master
2022-11-26T00:46:44.060404
2020-07-25T01:12:51
2020-07-25T01:12:51
280,888,701
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# Declaramos la variable x como int o entero x = 5 # Declaramos la variable y como float o flotante y = 10.1 # Declaramos la variable z como bool o boleano z = False # Declaramos la variable a como str o string a = "Saludos" print(x) print(y) print(z) print(a) # Si queremos saber de que tipo es una variable lo hacemo...
[ "algonca00@gmail.com" ]
algonca00@gmail.com
068b4097287bd91889c5dd9c73b0d6816f42d864
0651c62a9bfb5484a696975b29a1bcae864c13bd
/commonsense-qa/utils/preprocess_obqa.py
795d53f10f444c991371619919c5d4504a6e3336
[]
no_license
min942773/path_generator
cfb288240704cfdc65770f7df27a2dfed3cfc22e
7cf5fd0810d60acd5d02a3671c2531e85de9382f
refs/heads/main
2023-04-06T02:46:14.115838
2021-04-15T12:15:31
2021-04-15T12:15:31
350,245,011
2
0
null
null
null
null
UTF-8
Python
false
false
3,422
py
import os import pickle import torch import json from collections import defaultdict, OrderedDict import random from tqdm import tqdm, trange from transformers import * class PreprocessData_Ground(object): """docstring for PreprocessData""" def __init__(self, data_name, gpt_tokenizer_type, context_len): ...
[ "wanpifeng4ever@gmail.com" ]
wanpifeng4ever@gmail.com
96f9cd408c789bb3d86cc01acb1306bd78afc4ad
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/SSD/.dev_scripts/batch_test.py
e5d863211eaf2182497d8ddfbc0f40ce48f93e99
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
8,393
py
# Copyright 2021 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 agree...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
0daa079dba8849106e62b0e5b1dd126ae4b154a4
c09423f3643a41af943121d8637ff9bc93cd2166
/autodoc_cache.py
480c8e319399e232d5bdd54e3cb7895bff12ec7c
[]
no_license
brenthuisman/sphinx-autodoc-cache
602c0ba6c98082ce352bafe6592bf32666c6cd92
e8b79fa7a6ddbe259691923f348bccb2e1db1794
refs/heads/main
2023-04-01T16:09:53.768665
2021-04-09T18:59:27
2021-04-09T18:59:27
356,372,688
0
0
null
null
null
null
UTF-8
Python
false
false
1,351
py
import os, sys # Path to Python Binding (_arbor) try: autodoc_output_file = this_path=os.path.join(os.path.split(os.path.abspath(__file__))[0],'reference.rst') if os.path.exists(autodoc_output_file): os.remove(autodoc_output_file) # Add the local build directory to where Python searches for Arbor. ...
[ "brent@huisman.pl" ]
brent@huisman.pl
47e3124b6380abdf4b2d239094235a5d05760df7
45a5da5f73f197a18bbe8e106666d83db46466f8
/iris/script.py
5a5beb63a5c938cddd768291aaba3dc358b1b650
[ "MIT" ]
permissive
jmoiron/iris
f77a38617757c861457a13005787e8f2992f6d6f
a7f61ec2161544e765789150f235fda8a6a40d69
refs/heads/master
2023-08-13T19:34:15.938697
2011-02-27T04:57:25
2011-02-27T04:57:25
1,027,590
0
0
null
null
null
null
UTF-8
Python
false
false
7,240
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Support for the iris script.""" import os from cmdparse import Command, CommandParser from iris import backend def insert_photos(paths): """Insert a single photo. Meant to be run in a parallelized scenario.""" from iris.loaders.file import UnknownImageTypeEx...
[ "jmoiron@jmoiron.net" ]
jmoiron@jmoiron.net
157a1726a40ed6f8b768bdbc7a038fc8ccbd0799
a1ddafe2130e8c7176467d4536634a4690fdeec4
/DataGenerator.py
784a169d6ca4c37ccfc437b2a77f92a09e3f5975
[]
no_license
BrainNetwork/BrainNet
364f9ca0259e5a1b86650a1465264a67fda71563
a5a0a2a36ac012cc75e5cc5f8d9b7d39be933660
refs/heads/master
2022-11-13T09:55:08.789948
2020-06-25T15:36:56
2020-06-25T15:36:56
271,578,560
1
1
null
null
null
null
UTF-8
Python
false
false
1,530
py
import numpy as np import torch.nn.functional as F import torch from network import BrainNet # inputs are random data with each entry taken from normal distribution # n points in 'dim' dimensions which are labelled by by halfspace def random_halfspace_data(dim, n, b = 0): vec = 2 * (np.random.rand(dim) - 0.5) ...
[ "noreply@github.com" ]
BrainNetwork.noreply@github.com
b8613843b9f02e0da6d0a0295a7dc12ceaa1dc83
ffc5936db35e0e6a7d38d41a5e40c4b4bed0bc42
/archiver/fetcher.py
32430c3f429e97645565685d22394b60ec751ee5
[ "MIT" ]
permissive
shurain/archiver
a4a2278e68bedd19cc787f053e1bc0c4eb86001b
06d3c5489d9c87f693aa7d220906ae03fd51d9cd
refs/heads/master
2021-01-22T07:27:10.184198
2013-11-13T06:31:18
2013-11-13T06:31:18
9,668,319
1
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
# -*- coding: utf-8 -*- """ A module for fetching resource indicated by a URL. """ import requests import logging class URLFetcher(object): SIZELIMIT = 100 * 2**10 * 2**10 # 100M def __init__(self, url): self.url = url # XXX Could allowing redirects become a problem? # XXX maybe st...
[ "shurain@gmail.com" ]
shurain@gmail.com
9166dc2e456f9adbf39f8f327bc6c3f432090aa9
976d399110f839ba98dc30e51004297385c56479
/phone.py
cd062200df0418c8ebf51a5f6d08aaded568f901
[]
no_license
EileenLL/Phone-App-Practice
4f9bb0eda10e505c833b79d15e21b5e3525399f6
3b83fd7547a4248752f89255f530e19710b91033
refs/heads/master
2020-12-05T02:01:28.760728
2017-03-02T05:15:49
2017-03-02T05:15:49
83,637,368
0
0
null
null
null
null
UTF-8
Python
false
false
2,924
py
class Phone(object): """A simple Phone class to keep track of contacts""" def __init__(self, number, name, contacts=None): self.number = number self.name = name if contacts: self.contacts = contacts else: self.contacts = {} # The __repr__ method giv...
[ "no-reply@hackbrightacademy.com" ]
no-reply@hackbrightacademy.com
cc831def9e82980ee13075b9666095f9b36861a9
c668cba1d3a1c2de1ad160a575e1ac556fc0f064
/Project/KNN.py
5a4db5537c3258571c25d112879de1eb08b7e606
[]
no_license
AliMuhammad229/AI_106394
644974396f39e1d910a4890e1e9b708b69c8b49d
b4ff235594f5418115bda1238af72db310d62b56
refs/heads/main
2023-06-22T13:15:51.057187
2021-07-19T20:08:58
2021-07-19T20:08:58
329,240,872
0
0
null
null
null
null
UTF-8
Python
false
false
7,407
py
import numpy as np import sklearn as sk import pandas as pd from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighborsClassifier import math #function to perform convolution def convolve2D(image, filter): fX, fY = filter.shape # Get filter dimensions fNby2 = (fX//2) ...
[ "noreply@github.com" ]
AliMuhammad229.noreply@github.com
4d6bb68dfd8b9172ae8c84898dd1da1e196c4571
12031b04d77627c6f4b7d15f73c3d9cad8d1d5fb
/adaSepConv/config.py
74228b47464b6c014c347f4b1777df943c1d2925
[]
no_license
priyanshagarwal18/Image-Interpolation-via-adaptive-separable-convolution
4e41d2b8017daf4f02c6299e4a2a1b4b44939d0a
50706ced3e8fd27a3918e70954d9eb79bf1ef8b0
refs/heads/master
2022-11-11T16:39:43.144168
2020-07-02T10:57:58
2020-07-02T10:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
700
py
# The size of the input images to be fed to the network during training. CROP_SIZE_fraction: float = 128/150 # The size of the patches to be extracted from the datasets PATCH_SIZE = (150, 150) # Number of epochs used for training EPOCHS: int = 10 # Kernel size of the custom Separable Convolution layer OUTPUT_1D_KERN...
[ "gsingh2@cs.iitr.ac.in" ]
gsingh2@cs.iitr.ac.in
66c6f4405ca42ccd0367fea8c24a5f124c4726ad
18a7cabee0609a4ceb76697ce322bd6a04c662f3
/v2.1/src/main/python/remote/RemoteClient.py
bfd3890e7945f13b14518357405a063c20d08865
[]
no_license
blakeolsen/design2
061469c7a8c0352f6b74c0c913e4796db257bf6f
660ce0b7ad5ec5ae88720effefc08c9eb07a3b14
refs/heads/master
2021-01-17T08:05:22.301030
2017-05-08T12:36:43
2017-05-08T12:36:43
83,846,405
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
import bluetooth discovered_devices = bluetooth.discovered_devices(lookup_names=True) print("found %d devices" % len(discovered_devices)) for add, name in discovered_devices: print(" %s - %s" % (addr, name))
[ "blakeolsen@Blakes-MBP.wv.cc.cmu.edu" ]
blakeolsen@Blakes-MBP.wv.cc.cmu.edu
911dc637c6b1edb5e176cad2461ee313780171ac
9b645c8c1702e8d0e9d1229f2cb98ca15692a494
/weather.py
40e98e1211b402a5391f21df6a78968ac80329d3
[]
no_license
Poporad/flask_app
edc82e7c7df0d905d22fc78480fafa55da02e89c
e051c6dc795f0f1077c913fff7cc2687faf3985b
refs/heads/master
2020-06-11T12:20:01.727247
2016-12-06T01:46:57
2016-12-06T01:46:57
75,669,991
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
import forecastio from geopy.geocoders import Nominatim import os from dotenv import load_dotenv, find_dotenv load_dotenv(find_dotenv()) address = "Philadelphia, PA" def get_weather(address): # api_key = "824e878ba5af96ac4fb6a18a14e7792e" api_key = os.environ['FORECASTIO_API_KEY'] geolocator = Nominatim...
[ "MichaelPoporad@Michaels-MacBook-Pro-2.local" ]
MichaelPoporad@Michaels-MacBook-Pro-2.local
43ce02be5dc4ee0bf7d78d1c0ceda9d1ad69fc72
fbcede1fe60f99aad37855b812bd9bd798079e41
/stepik_some_problems_selenium_autotest/final/pages/locators.py
9febe8923d2b7e326ef53c9f8f26c9acc671b295
[]
no_license
haykeminyan/DataNerds-AI
d6af46812ec176c5ba178bed4d111f95b31aefbc
0c56938a1069215f4300f57c3d8168715b89178d
refs/heads/master
2021-07-06T11:41:32.213873
2020-08-16T22:21:30
2020-08-16T22:21:30
232,107,833
1
0
null
2021-04-20T19:02:35
2020-01-06T13:33:57
Jupyter Notebook
UTF-8
Python
false
false
1,202
py
from selenium.webdriver.common.by import By class BasePageLocators(object): LOGIN_LINK = (By.CSS_SELECTOR, "#login_link") CART_LINK = (By.CSS_SELECTOR, ".basket-mini a") USER_ICON = (By.CSS_SELECTOR, ".icon-user") class LoginPageLocators(object): LOGIN_FORM = (By.ID, "login_form") REGISTER_FORM ...
[ "ibhayk@gmail.com" ]
ibhayk@gmail.com
4048bc44274c151ff46d315bd4632988cfc2f2fc
63c4a439209bf4b86db9fabc77169122b8f34ff2
/migrations/versions/2bf098c4b83c_item_table.py
7c5a58b134258ea814b0008e9c70c796c5a704a4
[ "MIT" ]
permissive
denikond/LP19_avitko
9c7b2a9cefc21c433df91f38868843fc09c1edcb
84bed264d5ed9e1da5b3166fa717d4ffe4ee9d6b
refs/heads/main
2023-08-18T11:22:37.217226
2021-10-10T14:53:37
2021-10-10T14:53:37
322,697,273
0
0
null
2021-01-24T17:24:37
2020-12-18T20:25:53
Python
UTF-8
Python
false
false
1,324
py
"""Item table Revision ID: 2bf098c4b83c Revises: Create Date: 2021-01-04 13:54:32.900023 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '2bf098c4b83c' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generat...
[ "denikond@gmail.com" ]
denikond@gmail.com
a850529d075a3b5c5354d23ed691648543625593
da2c159f1971cf71cf2b733dc0dbdd3684761180
/Hackerrank/Sets/Check subset.py
adc1740e8ccc00cee9daa9d1681fdf8ae372ac68
[]
no_license
shravan0409/LTI-preparation
a11bacb485893e294bde89b65ae30912b1cb466f
72c692d147c0da74b9cca9efd7acd6988dc47c87
refs/heads/main
2023-03-24T13:16:33.728761
2021-03-21T17:55:14
2021-03-21T17:55:14
348,372,387
1
0
null
null
null
null
UTF-8
Python
false
false
414
py
# Enter your code here. Read input from STDIN. Print output to STDOUTT = int(input()) T = int(input()) for _ in range(T): a = input() A = set(input().split()) b = int(input()) B = set(input().split()) print(A.issubset(B)) #this is a very useful function which is used for checking if the set a is ...
[ "noreply@github.com" ]
shravan0409.noreply@github.com
db9c194c9611682fa335e114a692b5fe6ecfd658
a6218288efd1b6165a1801cfb46cbb4310e0bace
/project_tests/data_generation_scripts/data_gen_utils.py
4b677cb42487bed0a93f3ce12bdb052f2cc57fca
[ "MIT" ]
permissive
kevin5naug/column_store
9a85f29e556923465a3efe204a73f7bbfaef2634
a82c3bce33b7421cd0def340e00685e5fcd8f6ec
refs/heads/master
2022-12-06T03:04:58.975438
2020-08-17T23:43:58
2020-08-17T23:43:58
288,309,161
0
1
null
null
null
null
UTF-8
Python
false
false
1,264
py
#!/usr/bin/python import sys, string from random import choice import random from string import ascii_lowercase from scipy.stats import beta, uniform import numpy as np import struct import pandas as pd def openFileHandles(testNum, TEST_DIR=""): # if a directory base specified, we want to add the trailing separator `...
[ "kevinguan_37@outlook.com" ]
kevinguan_37@outlook.com
f751956740a746fddfd1314675b51149bca9f311
4b4ff2c0d135d3615caaeb80735c2ad6ee987914
/venv/bin/gunicorn
fd714863ba0e3663ea60c7f331e3d7f1e5b2cd40
[]
no_license
Nicolas-Turck/Tuto-deployement-heroku
23060837b47f195d9af2eb280a85836d1a8f8efd
54d104054c06070420ae36b6bbb45089492da286
refs/heads/master
2023-08-01T07:18:13.563988
2021-05-20T16:07:56
2021-05-20T16:07:56
257,563,781
0
0
null
2021-09-22T18:54:33
2020-04-21T10:46:23
Python
UTF-8
Python
false
false
256
#!/home/nicos/PycharmProjects/Tuto-heroku/venv/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "nicolas.turck@gmail.com" ]
nicolas.turck@gmail.com
870f4ef3cedddc663fb7b8f310d6b86d04b6de4f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03588/s377192087.py
33be853cadb78a71d1fcb119905a836c2c06e43c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
n = int(input()) max_a = 0 st_b = 0 for i in range(n): a,b = map(int,input().split()) if max_a < a: max_a = a st_b = b print(max_a+st_b)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
b161bebc0c95852fe0b52a202ab484c6b1740aa5
1a6773c3a17445d26b7c0f1eb124520bd572e8b9
/venv/Scripts/easy_install-3.7-script.py
a9fb4887a64a89b107dc6d8be18cf4e2405427d3
[]
no_license
JohnsonLC/TwoGram
4a78202d465d53aa6bb2d4dabaa556369a511fbd
3880cee5740bdf0c5e24a26e7e667b57a075438f
refs/heads/master
2021-10-25T04:24:30.957225
2019-03-31T23:49:57
2019-03-31T23:49:57
158,175,996
1
0
null
null
null
null
UTF-8
Python
false
false
455
py
#!E:\workplace\Python\twoGram_improve\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\...
[ "17319255967@163.com" ]
17319255967@163.com
b7bbd84e06ca31ba392526763b0e4e6a5b8174a3
7a17a8fa5131d034c7e980d5982294da07b67f2b
/Si_Streifensensor/Auswertung/Vermessung Laser/Pitch.py
a5d4566b387ec1eed63c282f4b7c084bc670ca5e
[]
no_license
Ninilini/FP_Teilchen
982f35f3794ea0fe008bba3c7b7046028d01c174
f55acd0765a5883dac85b0fbb711d3dc7e897748
refs/heads/master
2020-05-15T01:55:40.846114
2019-07-28T14:49:40
2019-07-28T14:49:40
182,033,409
0
0
null
null
null
null
UTF-8
Python
false
false
2,892
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd #Zeile:Position, Spalte:Kanalnummer daten_df = pd.read_csv('Laserscan.txt', encoding='utf-8', comment='#', sep='\t') daten = daten_df.values Intervall = len(daten) Kanalanzahl = len(daten[2]) Position = np.linspace(0, Intervall*10, Int...
[ "miriam.schwarze@tu-dortmund.de" ]
miriam.schwarze@tu-dortmund.de
e6722233e9c3812429f0849cb2e97f51dd1144b5
67feeb09d72e82eab00aefd27416ac8d575a5080
/visualizekinases.py
d2c848f8d614a62ec533b890ebfdef508e0d3957
[]
no_license
jugerrnaut/synopsis_2019
3c9e48c82adab607d5e34f5942e9c65e29d14e0f
14560239fa96fee726ebf4e1775f1545f1d0b4b2
refs/heads/master
2020-11-27T21:51:40.931321
2020-03-04T19:50:55
2020-03-04T19:50:55
229,615,291
0
1
null
null
null
null
UTF-8
Python
false
false
3,764
py
import numpy as np import matplotlib from matplotlib import pyplot as plt import bs4 from bs4 import BeautifulSoup as bs import pandas as pd #for csv files import random import sklearn #some of the non nueral net machine learning stuff import requests #making requests to the html import json #lovely json import pubchem...
[ "23Athreyad@students.harker.org" ]
23Athreyad@students.harker.org
277f296b84f1fc951d6d8bf2819ad45a0b1e03fa
ba6345d365f994fbdcea9ea65c521bdf8e4271bd
/ambiguities_of_atomic_sv/vcf_interpreters.py
1d18f3c7187b1f2cffcc9906faa3ca90ffceb89b
[ "MIT" ]
permissive
ITBE-Lab/MSV-EVAL
286d0976923afd37a4ae3281ea9627b83a6372ef
5e41573e96899b634b6f50d91c1c1ee1889d7bab
refs/heads/master
2023-07-22T16:01:12.518544
2023-07-18T06:48:47
2023-07-18T06:48:47
329,263,731
1
1
null
null
null
null
UTF-8
Python
false
false
11,327
py
from MS import * from MA import * from MSV import * import math import traceback import os logged_errors = set() def log_error(call, error_file, interpreter_name, e=None, do_exit=True, force_log=False): # don't log an error twice key = interpreter_name + call["ALT"] if "SVTYPE" in call["INFO"]: key...
[ "markus.rainer.schmidt@gmail.com" ]
markus.rainer.schmidt@gmail.com
b2f818edd882f67e46d972d7a4d35799f360ed1c
895dcde2f74d2b522d36dc4b32606d7b92f85d03
/myproject/myproject/settings.py
9dfc686038f07c447886b9d31ca3a1fe8035b541
[]
no_license
prajjwalhacker/django_todo_app
34e7029a4380feec07766aa717139c6fcfcab58b
17d470e2aff6e106639ec1d527a3cc43c30dc0b4
refs/heads/master
2022-12-21T23:23:30.635019
2020-10-03T05:22:15
2020-10-03T05:22:15
300,204,803
0
0
null
null
null
null
UTF-8
Python
false
false
3,083
py
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 3.1.1. 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 pathl...
[ "prajjwalsoni123@gmail.com" ]
prajjwalsoni123@gmail.com
8a597972c820bb5328d31309b1dbeb799a63f055
86e5f574ec2d503c82c1da7599cd2f44bfc098f3
/process_image.py
f1d11c5a53857c159681efab11c55003e8c32083
[]
no_license
keepitsimple/ocrtest
54b34e88a789d43ca474fcdeac97ca5ac477b7e3
cbd7bbd2ccd146a51df95b410754e0155fcda826
refs/heads/master
2016-09-10T10:39:03.421732
2013-11-05T20:53:18
2013-11-05T20:53:18
11,807,330
0
2
null
null
null
null
UTF-8
Python
false
false
4,333
py
from scipy import ndimage from skimage import feature from skimage.color import rgb2gray from skimage.io import imread, imsave import numpy as np from skimage.transform import resize from sliding_window import sliding_window class Image(object): def __init__(self, imagePath, windowSize=(64, 64), shiftSize=(32, ...
[ "tasman.main@gmail.com" ]
tasman.main@gmail.com
977f96cbafdb166e91ae9ec70b8bb92fa69656d8
5b115ee1a961af6987616ef4d83d45fd3c8917c7
/blog/migrations/0010_auto_20210204_2126.py
336256c8807e281a0f96e5bf04bbeec8cdd22811
[]
no_license
yunsik0115/piro14dogotogether
42b24403a3894b678738ad88ac01767642c99dea
799cc6e35751cd419f66ec9699fc62c400c6e48a
refs/heads/master
2023-03-28T06:34:16.863626
2021-03-26T13:05:18
2021-03-26T13:05:18
335,192,851
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# Generated by Django 2.2.1 on 2021-02-04 21:26 from django.db import migrations, models import piroproject.utils class Migration(migrations.Migration): dependencies = [ ('blog', '0009_post_image'), ] operations = [ migrations.AlterField( model_name='post', name=...
[ "jts159753@snu.ac.kr" ]
jts159753@snu.ac.kr
6b9e622167f094ae64afbc50ef25bd1956b2e164
0fd230dcc317e641787a8d0924b39f2974daba94
/ansible-modules/netscaler_server.py
4d9c998e0f9694378a98b04310d99de53600e78d
[]
no_license
giorgos-nikolopoulos/netscaler-ansible-modules
6140805adbd5e6cc56d95baf113d6a0e04f09634
8df6e54a1761ea40f7f83c940d749b0cc3947bf6
refs/heads/master
2021-01-20T03:54:42.285642
2017-04-27T15:19:19
2017-04-27T15:19:19
89,609,231
0
0
null
null
null
null
UTF-8
Python
false
false
6,563
py
#!/usr/bin/python # -*- coding: utf-8 -*- # TODO review status and supported_by when migrating to github ANSIBLE_METADATA = {'status': ['preview'], 'supported_by': 'commiter', 'version': '1.0'} # TODO: Add appropriate documentation DOCUMENTATION = ''' --- module: netscaler_ser...
[ "giorgos.nikolopoulos@citrix.com" ]
giorgos.nikolopoulos@citrix.com
8b183bf27487b5db210287a08477ad86698afa14
7d328fa9c4b336f28fa357306aad5483afa2d429
/BinTreeFromSortedArray.py
2d3addba12667610b79141ff6049c7dda7f413fa
[]
no_license
ktyagi12/LeetCode
30be050f1e2fcd16f73aa38143727857cc943536
64e68f854b327ea70dd1834de25e756d64957514
refs/heads/master
2021-07-01T21:24:26.765487
2021-05-09T11:42:50
2021-05-09T11:42:50
230,497,920
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
#Problem available at: https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree/submissions/ # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def sortedArrayToBST(self, n...
[ "karishmatyagi12@gmail.com" ]
karishmatyagi12@gmail.com
a9585d2fb2a2cf450cb6557969f377511254d318
a4bc6525f3c73957d6fd7678f5a6420d2b48e1c0
/userauth/forms.py
51fb2848bdd6fe2b1b22f7f3316c9aeb761b5a65
[]
no_license
Srikrishnayaji/Expenditure-web-app
d2d1175fbd1500a90732912f4ab30be634689bbd
f6fb01936393c6207634dedaab52d19568c386cd
refs/heads/master
2020-05-18T12:32:24.657699
2019-05-07T23:19:35
2019-05-07T23:19:35
184,411,854
1
0
null
null
null
null
UTF-8
Python
false
false
690
py
from django import forms from django.contrib.auth.models import User class User_register_form(forms.ModelForm): password = forms.CharField(widget=forms.PasswordInput) password_repeat = forms.CharField(widget=forms.PasswordInput) username = forms.CharField() email = forms.CharField(widget=forms...
[ "noreply@github.com" ]
Srikrishnayaji.noreply@github.com
15225b8ed699b8710acd02ca79f4d765e1fdcdbf
150af06564fbd615479d67385e39b491d55a2ac2
/examples/aio.py
c590d077ca02df6b350e0b14348466c5b12f2d8d
[ "MIT" ]
permissive
colanconnon/graphql-ws
3d340abe167a7202cca858fe86d829dd700dc99a
3df53014dc60762007e2669d45135fb0f574e759
refs/heads/master
2021-05-07T17:36:38.551202
2017-10-25T21:16:27
2017-10-25T21:16:27
108,750,259
0
0
null
2017-10-29T16:21:07
2017-10-29T16:21:07
null
UTF-8
Python
false
false
1,645
py
from aiohttp import web, WSMsgType from template import render_graphiql from schema import schema from graphql import format_error import json from graphql_ws import WebSocketSubscriptionServer async def graphql_view(request): payload = await request.json() response = await schema.execute(payload.get('query',...
[ "me@syrusakbary.com" ]
me@syrusakbary.com
6086d4474d2f806d1f2455f22c382cf6bc687c6d
2eb2460c76e5e6f268c1b757a0c5793f96b86c02
/band3_script.py
3f1b74fd40aa334d7225e321f61450e0aa91b864
[]
no_license
ecell/microscope
02a9df0bde46f5a01fc75d80a01e100008f4feeb
15a0adda18e6835d230e5230fa132f9ef0fc6f0c
refs/heads/master
2020-07-05T07:19:53.925014
2013-07-19T06:41:21
2013-07-19T06:41:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,720
py
""" band3_script.py: User script to create the image from the simulated Epifluoroscence Microscopy (EPIFM) """ import sys import os #from epifm_handler import EPIFMConfigs, EPIFMVisualizer from kinesin_handler import KinesinConfigs, KinesinVisualizer def test_b3c(t0, t1) : # create EPIF Microscopy epifm =...
[ "onoue@likr-lab.com" ]
onoue@likr-lab.com
51b9d85a67e999addd2899a420954e72eea8ab63
978248bf0f275ae688f194593aa32c267832b2b6
/xlsxwriter/test/comparison/test_table14.py
f0690c66bde3644bc9256ba5ff345a5604768e7d
[ "BSD-2-Clause-Views" ]
permissive
satish1337/XlsxWriter
b0c216b91be1b74d6cac017a152023aa1d581de2
0ab9bdded4f750246c41a439f6a6cecaf9179030
refs/heads/master
2021-01-22T02:35:13.158752
2015-03-31T20:32:28
2015-03-31T20:32:28
33,300,989
1
0
null
null
null
null
UTF-8
Python
false
false
1,856
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
ca757f83faaeeff0ea90f0ec3e5f20363038a469
7366af7fce80919f2620f6a55265dbb66ccf49e9
/openstack_heat/pp.py
9911ab53d9517ffadfce8058586f16bb5ea42671
[]
no_license
gitkwalsh/pocshare
7455572573903b96bd2e8523f62e1fdf88144fdb
436bcc02f9999915a21f49f15ec50b61ea3da7b8
refs/heads/master
2020-06-11T15:26:11.142117
2017-01-27T04:52:44
2017-01-27T04:52:44
75,640,551
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
import os, sys buf ="use csadata;\ndelete from picklist where ptype='%s';\n" % sys.argv[1] f= open(sys.argv[2],'r') for l in f: ar = l.split(',') buf = buf + 'insert into picklist (pvalue,pdisplay,pdesc,ptype,ptype1) values ("%s","%s","%s","%s","");\n' % (ar[1].replace("\n",""),ar[0],ar[0].replace("\n",""),s...
[ "kwalshde@optonline.net" ]
kwalshde@optonline.net
29364cf4b5cd65da0cd388cc764c62c489ae59e4
026a7252f1f27741b37217fa756b5dbbd1b94ff8
/support/utilities/obj_geometa/obj_geometa.py
201336e8a96ae437ebeff9d8fa2a9ac32922ed12
[ "Apache-2.0" ]
permissive
Kitware/Danesfield-App
c987ca6bdec9682342dce4785043f0d368bb2f6f
c9557039af7027278fa15f2c76427a8d7261750b
refs/heads/master
2023-08-31T20:30:37.116095
2022-11-18T23:12:47
2022-11-18T23:12:47
159,849,781
35
7
Apache-2.0
2023-04-29T23:32:30
2018-11-30T16:26:34
Python
UTF-8
Python
false
false
6,978
py
#!/usr/bin/env python """ Set geospatial metadata on a Girder item for an OBJ file. Requires information from 3 files: - The OBJ file. - A text file containing 3 lines with floating point values that indicate a global (x, y, z), offset. - A reference GeoTIFF image in the AOI from which to get the source coordinate ...
[ "matthew.ma@kitware.com" ]
matthew.ma@kitware.com
e5c4b6d4c1599915e9426a9c04b64e22883ba6cc
efac669c3351e2b4055d575638205199b9296680
/pytorch_lightning/tuner/tuning.py
b1a38bd27688ca53c2f8926ab1afb36155bcdff2
[ "Apache-2.0" ]
permissive
peteriz/pytorch-lightning
5c90456f57b9cbe4688d71999c8a8240f799a7c6
49a4a36ad45b937dd0124ecfb08eb7400dbf3950
refs/heads/master
2022-03-15T19:08:00.991416
2022-03-08T18:10:18
2022-03-08T18:10:18
235,549,600
0
0
Apache-2.0
2020-02-13T10:03:24
2020-01-22T10:28:16
Python
UTF-8
Python
false
false
9,167
py
# Copyright The PyTorch Lightning team. # # 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 i...
[ "noreply@github.com" ]
peteriz.noreply@github.com
51f2e463a518c7a1031c4bed1fb2e6a8fde9357b
eb798836ab2cb014022c15dbdba1f0b9d2ccab1f
/vuuvv/core.py
5b26a9f26b1b7a7d082a152365e8df46ea32a7c4
[]
no_license
vuuvv/vuuvv-test
16ce5cbe0f3942d8d702b93dac2ffcae9b02393f
d138554ae323d5421b8964ff3210950956bf9733
refs/heads/master
2021-04-09T17:22:40.158651
2012-02-16T09:29:04
2012-02-16T09:29:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,232
py
import re import sys from flask import Flask from flask import current_app as app, g from sqlalchemy.engine.url import URL from sqlalchemy.engine import create_engine from sqlalchemy.schema import MetaData, Table from sqlalchemy.orm import scoped_session, sessionmaker, mapper def camel_convert(name): s1 = re.sub('(...
[ "vuuvv@qq.com" ]
vuuvv@qq.com
f077dfaabd3e27708dc50b30c0da69f23e239938
7d7462ca9b94934c71886a1fcf09ea7f16ca94b8
/python/python_assignment4/python_4/pro9.py
5ee8f42f4393f711ca3b6d81464c8137e7f232f9
[]
no_license
karthik1017/mca
16de1c0b87e5d5617de61dc08a5d61d6c7cf8ec7
b2182c2bf62151150304aad23d476ee956dbf605
refs/heads/master
2020-04-22T20:10:53.308901
2019-08-14T07:22:30
2019-08-14T07:22:30
170,632,932
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
# 9. Recursively convert a decimal number to binary number. Handle the exceptions. try: dec = int(input('enter a decimal number to be converted: ')) except ValueError as err: print('not a valid input:') def convertToBinary(n): if n > 1: convertToBinary(n//2) print(n % 2,end = '') convertToBinary...
[ "karthikdevaraj1017@gmail.com" ]
karthikdevaraj1017@gmail.com
6360d7934685b7b4440fe3735b5347041e34ca39
bd52c0dfc1b599632aecd0991764f86df2a31666
/X5gR.py
c939ec6e587f53f50c747bbf0988864ed324d86a
[]
no_license
techgymjp/techgym_python_en
10ba970a325210a880d3c1a99cab3d09e3bb5bbb
772ee4d7b1e789fa3918aaa4b523b1add7f67f33
refs/heads/master
2023-01-28T14:29:04.682604
2023-01-13T13:47:28
2023-01-13T13:47:28
206,546,945
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
friends = ['Tom', 'Jane', 'Brian', 'Carol', 'Jack'] i = 1 for friend in friends: print(f"{i}: {friend}") i += 1
[ "tanaka@rexvirt.com" ]
tanaka@rexvirt.com
c8731d5db8772877d57210962433f592482e044c
fe158f3c17bf65f7ee01c37487b421e321121d6e
/scripts/synthmix.py
c68d667c3bf4911361f73f701e6ba05d75fbf966
[ "MIT" ]
permissive
schneidereits/EO_hyperspec_hub
23c11b030ab6a489c0dbfef751b4c0646fc2f786
40bc35d55776990e84d8faf1a40fc9d563ec446e
refs/heads/main
2023-09-05T01:36:17.993647
2021-11-15T12:50:52
2021-11-15T12:50:52
377,424,495
0
0
null
null
null
null
UTF-8
Python
false
false
6,367
py
# ===================================================================================================================== # Linear spectral mixing to create synthetic training data # ===================================================================================================================== import numpy as np im...
[ "s1637673@ed.ac.uk" ]
s1637673@ed.ac.uk
38e529b495e60f0de653ce05fa87c4851b1a26a2
db19c44480696092801aeff2b487c128976d23e4
/util/tz.py
6856688d6c7e84781e2171f6f3400da6533545ff
[]
no_license
herb/aacoevents
dee7eea711e49613fdfcd2e7527e59a588d6b597
4d83033bebf5daf0287d12a85f1092fb62514071
refs/heads/master
2021-01-01T19:02:01.894347
2017-06-04T22:20:52
2017-06-04T22:20:52
32,565,083
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
import datetime class US_Pacific(datetime.tzinfo): """Implementation of the Pacific timezone. Stolen from App Engine documentation.""" def utcoffset(self, dt): return datetime.timedelta(hours=-8) + self.dst(dt) def _FirstSunday(self, dt): """First Sunday on or after dt.""" return dt + datetime.timedelta(...
[ "hho@hho-macbookpro.(none)" ]
hho@hho-macbookpro.(none)
f5f45b8a6765db769354eaeb1c09969bd52c3e8e
8d3d66fef6935242e238a6bb5700ffde3a29d851
/algorithms/adstar.py
c449779df2eff6113faf3a384f19b0fad3d9b0ca
[]
no_license
vrmnyg/pathfinding-simulator
dfcc7ebe41158d60668e32f6839a8ba05f1a44c5
2a31c76fbce2f4f872c6368c1577d3a6601f9c1b
refs/heads/main
2023-01-08T07:05:32.150800
2020-11-12T11:07:26
2020-11-12T11:07:26
312,243,347
0
0
null
null
null
null
UTF-8
Python
false
false
6,541
py
""" AD* algorithm https://www.cs.cmu.edu/~ggordon/likhachev-etal.anytime-dstar.pdf """ import math from algorithms.abstract_algorithm import AbstractAlgorithm from algorithms.motions8_algorithm import Motions8Algorithm class ADStar(AbstractAlgorithm, Motions8Algorithm): def __init__(self, s_start, s_goal...
[ "noreply@github.com" ]
vrmnyg.noreply@github.com
c71d9f09ac7994a732168a2d135ce1f8cc93bff3
a60a57a1083fb328a34d60c6b6fba036416989b2
/FinalExam/main.py
404ff42f0ecbc1a7d2494e8ac33083857b38499f
[]
no_license
Sethhealy/Design-Patterns-for-Web-Programming
9aad4d12cfa559595a45bc74abe5a615e3aae6f3
8af2302d45db5b4a1e0cd12077a56d4d1e4f5a61
refs/heads/master
2020-07-23T23:49:38.786706
2014-08-01T02:08:03
2014-08-01T02:08:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,940
py
""" Seth Healy Final Exam 07/31/14 """ import json import webapp2 from urllib2 import urlopen, Request, build_opener class MainHandler(webapp2.RequestHandler): # im getting my requests so that i can display the information def get(self): if self.request.GET: p = Page() musica...
[ "sethhealy@Seths-MacBook-Pro.local" ]
sethhealy@Seths-MacBook-Pro.local
ef297538dbdda1ba03ef3bd3400677dee6aa2c18
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/A3COM-HUAWEI-DOT11-ROAM-MIB.py
d7ff4a0c1ceab21807297768f81b42c90780999e
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
15,440
py
# # PySNMP MIB module A3COM-HUAWEI-DOT11-ROAM-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-DOT11-ROAM-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 16:49:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python versio...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
e4ffe00c916e89355819e85740bcf8d28dbd4023
5fd88b87174555accc0a7996d40482074b15bfe7
/final_pjt/recommend/forms.py
b93a3fe1d93d9d405c7539717d23ad28fa70b012
[]
no_license
KangminP/GoDjango
9111ce9f79e485911d5c8b28fa06a4a155fbdeb3
c3dab38d47fb9d92ead09fdca02b423bc43ca9b2
refs/heads/master
2023-03-09T11:10:28.909786
2021-02-18T09:27:13
2021-02-18T09:27:13
331,010,299
0
1
null
null
null
null
UTF-8
Python
false
false
150
py
from django import forms from .models import Photo class PhotoForm(forms.ModelForm): class Meta: model = Photo fields = ['image']
[ "mygangmini@naver.com" ]
mygangmini@naver.com
199ad53b72479123f59bce74532e57cadc7eb8dc
97dc866edcc9047b16f51ea8d366729f1e7988ea
/src/perspective_transform_matrix.py
8ff2554df5c21e80f9dcae2e0341ca5eac308427
[]
no_license
tsenying/CarND-Advanced-Lane-Lines
77025f84760f9d4bbe3d8633ec76c0001cf7517d
89cb5e70960c64d925033746ba877717bdd4795b
refs/heads/master
2020-04-06T04:04:30.898252
2017-04-29T19:49:54
2017-04-29T19:49:54
83,051,855
0
0
null
2017-02-24T14:54:06
2017-02-24T14:54:05
null
UTF-8
Python
false
false
2,527
py
# Calculate the perspective transform matrix M and inverse Minv import pickle import cv2 import numpy as np import matplotlib.pyplot as plt import matplotlib.image as mpimg from matplotlib.path import Path import matplotlib.patches as patches from image_utils import image_warp # Read in the saved camera matrix and d...
[ "ying_hong@trimble.com" ]
ying_hong@trimble.com
0b61ccd08991ebb0902f43a83ba3074f2e60a203
18305efd1edeb68db69880e03411df37fc83b58b
/pdb_files3000rot/g7/1g7v/tractability_450/pymol_results_file.py
b3ca0aa99f8776269651041e072c2f991de4c442
[]
no_license
Cradoux/hotspot_pipline
22e604974c8e38c9ffa979092267a77c6e1dc458
88f7fab8611ebf67334474c6e9ea8fc5e52d27da
refs/heads/master
2021-11-03T16:21:12.837229
2019-03-28T08:31:39
2019-03-28T08:31:39
170,106,739
0
0
null
null
null
null
UTF-8
Python
false
false
7,214
py
from os.path import join import tempfile import zipfile from pymol import cmd, finish_launching from pymol.cgo import * finish_launching() dirpath = None def cgo_arrow(atom1='pk1', atom2='pk2', radius=0.07, gap=0.0, hlength=-1, hradius=-1, color='blue red', name=''): from chempy import cpv radius, gap =...
[ "cradoux.cr@gmail.com" ]
cradoux.cr@gmail.com
4bfd070d68d3a71a825baa6e50737eb2e3242721
548db811eb568d4149bb202af97b6d889791ec0c
/meiduo_mall/meiduo_mall/settings/dev.py
9268db3f06e7abe6d535e36c5fb57891921a8a0a
[]
no_license
endeavor-hxs/meiduo_project
3ac85bae9860df98a609b059cc7f72a5fdfb4092
8e64b335e2fff3e592078dc70fa970e30335e333
refs/heads/main
2023-01-14T17:12:31.440220
2020-11-24T16:01:54
2020-11-24T16:01:54
306,054,214
0
0
null
null
null
null
UTF-8
Python
false
false
6,695
py
""" Django settings for meiduo_mall project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os...
[ "huangyunlong22@gmail.com" ]
huangyunlong22@gmail.com
3c1414d17c449561e276f13e399900b1c4bd8035
72a9d5019a6cc57849463fc315eeb0f70292eac8
/Python-Programming/6- Numpy/Numpy_.py
98ac37a1616122702019f51a69f73e320c98fe2f
[]
no_license
lydiawawa/Machine-Learning
393ce0713d3fd765c8aa996a1efc9f1290b7ecf1
57389cfa03a3fc80dc30a18091629348f0e17a33
refs/heads/master
2020-03-24T07:53:53.466875
2018-07-22T23:01:42
2018-07-22T23:01:42
142,578,611
1
0
null
2018-07-27T13:08:47
2018-07-27T13:08:47
null
UTF-8
Python
false
false
3,509
py
# %%%%%%%%%%%%% Python %%%%%%%%%%%%%%%%%%%%%%%%%%% # %%%%%%%%%%%%% Authors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # Dr. Martin Hagan----->Email: mhagan@okstate.edu # Dr. Amir Jafari------>Email: amir.h.jafari@okstate.edu # %%%%%%%%%%%%% Date: # V1 Jan - 04 - 2018 # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% # %...
[ "amir.h.jafari@okstate.edu" ]
amir.h.jafari@okstate.edu
b26864853535553d7f95f2ea51bd5d4f2e6de8cf
57517396095839e67957d0d1dfbcc0d816254482
/src/action_space.py
b0ec3a2a624e5b2c516a323c1b2c30425ceeeea7
[ "MIT" ]
permissive
Mehran-sh/Deep-Reinforcement-Learning-in-Large-Discrete-Action-Spaces
10bdc2d44036d9156d12cc4ce4f34f77463cfcc7
339b0d4c9a20130e6861ec94c969619f7503c3fe
refs/heads/master
2021-09-05T02:37:11.528550
2018-01-23T17:35:11
2018-01-23T17:35:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,782
py
import numpy as np import itertools import pyflann import util.my_plotlib as mplt from util.data_graph import plot_3d_points """ This class represents a n-dimensional cube with a specific number of points embeded. Points are distributed uniformly in the initialization. A search can be made using the sear...
[ "kontzedakis_93@hotmail.com" ]
kontzedakis_93@hotmail.com
94b774182f3456a6ee6cfb24f8b297130c01fb56
aec2c20ef80ca6a7588c3e1bd877f23ffeb65692
/Anul III/APD/Tema1/test.py
576809664a437ecb6b735764210b999d6cdc5a38
[]
no_license
lavandalia/Teme-Poli-Calculatoare
15cf707515a6c9618444586d38ef1ddc9e9ecefc
317849ad19189480f91fa66ff003009d18f73aad
refs/heads/master
2020-05-16T21:23:23.235094
2017-05-21T22:15:40
2017-05-21T22:15:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
#! /usr/bin/python import glob import subprocess exe = './paralel' indir = './testein' outdir = './testeout' outokdir = indir ctime = '/usr/bin/time' fmt = "Exit Status: %x\nCPU %%: %P\nMemory:\n Unshared: %D\t\t\tAvg Total Mem: %K\n Major Page Faults: %F\t\tMinor Page Faults: %R\n No. Swaps Out of Mem: %W\tNo. Invol ...
[ "gabriel.ivanica@gmail.com" ]
gabriel.ivanica@gmail.com
f7c065cb5838b4cd7322cd93403020278b9622fa
9aba14204989e5bfa913ad4bb679db9ce84d5dec
/classify/models/BertRCNN.py
a2c08c6d1105dabed2146dc9de09f668fc8d8aca
[]
no_license
Whiplashzeb/patent_generate
871d496d3737dedcd1fbc9d0bf4191d2d05f152a
654ee4109d7d0faf8b9bf2e9ddcf9db02fb84b22
refs/heads/master
2020-10-02T08:40:04.110095
2020-03-20T11:31:01
2020-03-20T11:31:01
227,741,228
0
0
null
null
null
null
UTF-8
Python
false
false
2,609
py
from transformers import BertPreTrainedModel, BertModel import torch from torch import nn from torch.nn import CrossEntropyLoss, MSELoss import torch.nn.functional as F class Linear(nn.Module): def __init__(self, in_features, out_features): super(Linear, self).__init__() self.linear = nn.Linear(i...
[ "blgszeb@outlook.com" ]
blgszeb@outlook.com
7896a492913a39c9123888ffc60e591f7a76533f
690f02586f414ebf5b537afbd4fb58ca6cad9fbb
/link_3.py
f2bb12717f041e1725b6be6db81ee3cac697ead8
[]
no_license
AlexBauer46/NetworksPA3
650f58931e639b4e14a6d67bf5d243c36811166e
5b395953a6dd2dcba831da6bd1d8b20ce25b8ddb
refs/heads/main
2023-01-24T12:06:56.362777
2020-11-16T01:51:45
2020-11-16T01:51:45
313,164,312
0
0
null
null
null
null
UTF-8
Python
false
false
3,166
py
''' Created on Oct 12, 2016 @author: mwittie ''' import queue import threading from rprint import print ## An abstraction of a link between router interfaces class Link: ## creates a link between two objects by looking up and linking node interfaces. # @param from_node: node from which d...
[ "noreply@github.com" ]
AlexBauer46.noreply@github.com
fcff171d2095a1a02ec1b3033c6527903854024e
a844cba1a0cd54c650b640a7a5cbeabb8c2d15a5
/modules/debugger/modules.py
952d7b44e0a87252905c2dcc0c446df72cfd9ab7
[ "MIT" ]
permissive
romain-tracktik/sublime_debugger
de5950d9f79fcfbe0407af4f89e15e91acb035aa
6ff71182fee427cfc0254a9d47679d7a6d1424f9
refs/heads/master
2020-09-13T12:06:54.544461
2019-11-16T09:51:55
2019-11-16T09:51:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
from ..typecheck import * from ..import dap from ..import core from ..import ui class Modules: def __init__(self): self.modules = [] #type: List[dap.Module] self.on_updated = core.Event() #type: core.Event[None] def on_module_event(self, event: dap.ModuleEvent) -> None: if event.reason == dap.ModuleEvent.new:...
[ "2889367+daveleroy@users.noreply.github.com" ]
2889367+daveleroy@users.noreply.github.com
4c61d56834868c5e80a82df074f0e9fbc4e1815a
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/semicolon.py
ed11103b36352b18bd6e69914773b3ce1e715926
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
63
py
ii = [('KirbWPW2.py', 1), ('BachARE.py', 1), ('HogaGMM.py', 1)]
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
852a6baff7fabe6d78e9e363baf24d5b523df030
eb283f066e2354ebd65cbf113790b0695b8387f7
/Compilation/TP3/MiniC/TP03/MiniCTypingVisitor.py
9ad730ecb3bf53aa1fe6544bba38b62b259d67cf
[]
no_license
saadiboune/Cours_Master
feff1c263a200035cf600d6ee9603eb94650d2ec
83f9981709cabda14439857c6f32b7c69b7342ac
refs/heads/main
2023-05-31T02:08:22.451321
2021-06-07T08:01:28
2021-06-07T08:01:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,127
py
from MiniCVisitor import MiniCVisitor from MiniCParser import MiniCParser from Errors import MiniCInternalError from enum import Enum class MiniCTypeError(Exception): pass class BaseType(Enum): Float, Integer, Boolean, String = range(4) # Basic Type Checking for MiniC programs. class MiniCTypingVisitor(M...
[ "giraud740@gmail.com" ]
giraud740@gmail.com
98e405fff7ad9fa147d9ed56eddd076e542a2578
d5e7a3f489c2f4e95204906cd07e44ef812ddd24
/Part/湮灭之瞳.py
bac547ea7ac3107ff582ee495d66640d0abf6897
[]
no_license
VV4yne/DNFCalculating
ee57a1901421c7def6e81a29113dec69adde69c9
631992a653029d0c95d23abbdba162cd9ebfa4ee
refs/heads/master
2022-10-04T13:54:52.668409
2020-06-09T09:13:24
2020-06-09T09:13:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,195
py
from PublicReference.base import * class 湮灭之瞳主动技能(技能): #只扩展了技能的三条属性,第一条技能hit默认1,2、3条hit默认为0,需要手动赋值 #如果需要继续扩展,可以在各自职业类内继承后自行扩展,同时需要重写下等效百分比函数 #固伤在填写基础及成长的时候需要注意,技能面板/独立得到的成长及数值需要*100 基础 = 0.0 成长 = 0.0 攻击次数 = 1.0 基础2 = 0.0 成长2 = 0.0 攻击次数2 = 0.0 基础3 = 0.0 成长3 = 0.0 攻击次数3 = ...
[ "wxh_email@yeah.net" ]
wxh_email@yeah.net
a10d282f4257960d5550150c8ec7340eaa01d943
b165f9573d1b534a046344b1e933c692b9983bdd
/platform/software/test/IntraProcessJob_SingleEdge.py
8d55d0f744999f56aa872398b4dcf970f13a3679
[ "Apache-2.0" ]
permissive
oika/connect
18a4aa3dccf702f0e90717a864564d225b9a85e7
2486b97256d7adcd130f90d5c3e665d90ef1a39d
refs/heads/master
2020-03-22T09:08:13.614323
2018-07-10T03:03:54
2018-07-10T03:03:54
139,817,722
0
0
Apache-2.0
2018-07-05T08:18:05
2018-07-05T08:18:05
null
UTF-8
Python
false
false
721
py
# -*- coding: utf-8 -*- from OperatorInterface import OperatorInterface from BaseOperator import BaseOperator from JobInterface import JobInterface from BaseJob import BaseJob class OperatorA(OperatorInterface, BaseOperator): def prepare(self): pass def run(self): pass def pause(self):...
[ "36325622+rasshai@users.noreply.github.com" ]
36325622+rasshai@users.noreply.github.com
44faaac61986ba8141ba558cb7832f673fd17880
856af6304cf4fc87df513a3b1d7ce65dc3d626e1
/FuzzySearch.py
8fb762de3cf06f59c85b94c4d96f5532947bf244
[]
no_license
laxman1129/smart-chef-service
721c08aa2a012f23238ceb2ce153c01b0f581987
02bf348a5bd17d7e7d05665a28c790e0e3d703c5
refs/heads/master
2020-09-07T00:38:48.768256
2019-11-13T16:36:42
2019-11-13T16:36:42
220,604,797
0
1
null
null
null
null
UTF-8
Python
false
false
2,566
py
import pandas as pd import spacy from fuzzywuzzy import fuzz import re from nltk.corpus import stopwords import collections import pickle import os.path if os.path.exists('data/datafile.pickle'): infile = open('data/datafile.pickle', 'rb') data = pickle.load(infile) infile.close() print('read') else: ...
[ "laxman1129@gmail.com" ]
laxman1129@gmail.com
02ceeabd8f4a616fd11376b96a22c5c3cac3da1b
93f0664db6ebf1e4806a62c1b750372d82c7e72c
/Problem14.py
b877bc1cb0e544ed69c8d8f681e7a0966ba4e438
[]
no_license
amoghkapalli/ProjectEuler
0b3b5eafc4609f1a083f5db83d024ee5bcf0a3e6
282ec6270e6be270bb22f73217bee0bb4a9fcd77
refs/heads/master
2022-04-27T13:46:54.133751
2020-05-04T21:01:40
2020-05-04T21:01:40
258,296,165
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
'''The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the following sequence: 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1 It can be seen that this sequence (starting at 13 and finishing at 1) co...
[ "noreply@github.com" ]
amoghkapalli.noreply@github.com
8115c129a9e9022ff6720b4ed9034694cf96de0c
ab342e0231bd376154937711610fe49bea9d7a51
/sigpy/mri/rf/linop.py
bb8b71d6141161a7b427e952eab53411ff5f490c
[ "BSD-3-Clause" ]
permissive
Phillistan16/sigpy
cfcf3c053b4d7c82e8841e164aba81632a8215f6
4f83c7b7d4560f9f6fc169de301011f541a9be68
refs/heads/master
2022-11-26T19:37:39.878810
2020-07-17T00:13:55
2020-07-17T00:13:55
279,999,088
0
0
BSD-3-Clause
2020-07-15T22:58:38
2020-07-15T22:58:38
null
UTF-8
Python
false
false
4,563
py
# -*- coding: utf-8 -*- """MRI pulse-design-specific linear operators. """ import sigpy as sp from sigpy import backend def PtxSpatialExplicit(sens, coord, dt, img_shape, b0=None, ret_array=False): """Explicit spatial-domain pulse design linear operator. Linear operator relates rf pulses to desired magnetizat...
[ "jon.bach.martin@gmail.com" ]
jon.bach.martin@gmail.com
aa8b0268bfacab3e0387e1bfd6e62f11f92979a2
7626938b9b6eb1f899b27fce05fb3de0b34a5291
/list_operations.py
8e5e3c5fbb0648c6f0bcb54e892df5c0f85bb739
[]
no_license
kingmohanreddy/TYR
8757b92bdde3bdc73e765291889f1e78c7ed8d8d
591823c5c10a11cca9a50465881e4f97224ab920
refs/heads/master
2022-11-15T12:38:48.368912
2020-07-11T07:22:56
2020-07-11T07:22:56
278,798,457
0
0
null
2020-07-11T07:22:57
2020-07-11T05:54:49
Python
UTF-8
Python
false
false
374
py
#creating list operations lst = [2,5,6,7,8,25,64] #printing lst print(lst) #using append lst.append(56) print(lst) #using copy lst.copy() print(lst) #using clear lst.clear() print(lst) #creating list operations lst = [2,5,6,7,8,25,64] #printing lst print(lst) #using append lst.append(56) print(lst) #using copy lst....
[ "kingmohanreddy143@gmail.com" ]
kingmohanreddy143@gmail.com
b85ee7a2f13106e325a6f6c1b01173397ffd6858
88e410b530418e906afecf3d643637f097218d2c
/scripts/lists.py
dec9a2c894d305fa9112a7de0b1d3203fb3a8a81
[]
no_license
felsewhere1/hello_world
f778efe8f0180a9ea3684f6ab6627ebb0bec90bc
a3efd8c95a726e5b14267ef4392f89f79b091a73
refs/heads/master
2020-04-16T05:40:53.244642
2019-01-26T15:11:22
2019-01-26T15:11:22
165,315,820
0
0
null
null
null
null
UTF-8
Python
false
false
734
py
colors = ["red", "green", "blue", "yello"] print(colors[0]) print(colors[-1]) print(colors) for i in colors: print(i) colors[3] = "yellow" for i in colors: print(i) print(colors[1:2]) print(colors[1:]) print(colors[:4]) colors.reverse() #does not return! print(colors) colors.sort() print(colors) leapyear = [...
[ "felsewhere1@gmail.com" ]
felsewhere1@gmail.com
30423417308c1cea6ca75732557706ea8b6ed083
331ec8de30dbeff12ce02df3128fcdac4c58cdae
/passwordGenerator.py
427299202973e7a549198d35ad545083e7c78a7d
[]
no_license
Dylan-Morrissey/Python
f9ce8eda28e56fc0c6fc68321dad97dab236e810
58c306bc0bfe39566b87cc9c575dde3ebd0e0bc0
refs/heads/master
2022-02-12T23:10:15.369208
2022-01-29T22:57:16
2022-01-29T22:57:16
173,100,773
2
0
null
null
null
null
UTF-8
Python
false
false
2,303
py
# Script Name : passwordGenerator.py # Author : Dylan Morrissey # Created : 11th March 2019 # Description : Script which is used to randomly generate a password. import random def passwordGen(passlen, option): password = '' pwchars = [['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M'...
[ "noreply@github.com" ]
Dylan-Morrissey.noreply@github.com
551b428503874c903e41834e1c62952b6faaeea5
8baa6d8e35a17f331345d9f314cdb2787653d38a
/src/exojax/spec/exomol.py
b13173a276fb13d010cf9c32fe7d85bedb6157c2
[ "MIT" ]
permissive
bmorris3/exojax
2fb1dae486a1d4d7a91ee8e9fdd1c9e616fb1b3f
67d1b6c868d69892d4bbf9e620ed05e432cfe61f
refs/heads/master
2023-09-04T20:12:32.817699
2021-06-12T06:14:00
2021-06-12T06:14:00
379,588,979
0
0
MIT
2021-06-23T12:03:57
2021-06-23T12:03:57
null
UTF-8
Python
false
false
1,356
py
import numpy as np def Sij0(A,g,nu_lines,elower,QTref): """Reference Line Strength in Tref=296K, S0. Note: Tref=296K Args: A: Einstein coefficient (s-1) g: the upper state statistical weight nu_lines: line center wavenumber (cm-1) elower: elower QTref: partition...
[ "divrot@gmail.com" ]
divrot@gmail.com
59e12231b41913126b4620f9bbcd71ae543fabf5
8779349e77ff0dacbd48d297f8a3f0a164e18ba4
/user.py
840cf55c32af5ee95848c78fc299f4838e510e2b
[]
no_license
YashDRaja/LiveTextly
67c247ac15dc186b40354eb711726b394b17e39b
99c6b106aeb99e7b0ee297137e6d518b560bb0c5
refs/heads/master
2023-04-20T11:22:05.967899
2021-05-11T19:39:13
2021-05-11T19:39:13
230,683,478
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
class User: def __init__(self, id): self.id = id self.password = None self.receiver = None self.received = (None,None) self.history = [] self.message = (None,self.receiver) self.sent = [] def receive(self): if self.message[0] != None: s...
[ "56655681+YashDRaja@users.noreply.github.com" ]
56655681+YashDRaja@users.noreply.github.com
28c3cb75bdc891a7ed08a26cd380d35ccdfe997b
3b6fd1757e3f382d7adaa0d0d0d8a371dbfe7b26
/Reconhecimento/app/Controller/Registro.py
94c4c50ac4ce8a2ed57855e94949d2b1bf722c36
[]
no_license
viniciusleal34/Api_Chamada
15d0e786d33db465ff87ce45ea9f938b7daf5add
174c5b9bc49f38e99d01797d45e9092a1233fd5e
refs/heads/master
2021-04-23T03:40:50.394220
2020-03-31T09:26:34
2020-03-31T09:26:34
249,895,449
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
from Reconhecimento.app.database import db class Registro: def __init__(self,codigo, date, hour, minute): self.codigo = codigo self.date = date self.hour = hour self.minute = minute def salvar(self): registro = db.registro registro.insert_one({ 'cod...
[ "vinicius.nascimento19@fatec.sp.gov.br" ]
vinicius.nascimento19@fatec.sp.gov.br
1ec7f3f8cafa6a7767d5f64a891aad1645c75fe8
4947a81db1d815cf4f442bace643968de94e5afc
/grayscaleScript.py
02467faf091308e2fc25459749c599a7a4c3bd63
[]
no_license
Madhusakth/DM_pro
7a171569baa010713a5988c5f34c2e38af452754
217f71ccd4f59e2a790dba817033a51388114023
refs/heads/master
2021-04-15T12:09:14.925624
2018-05-10T19:28:01
2018-05-10T19:28:01
126,866,801
0
0
null
2018-05-10T19:28:02
2018-03-26T17:44:48
Jupyter Notebook
UTF-8
Python
false
false
2,203
py
#!/usr/bin/python # Note to Kagglers: This script will not run directly in Kaggle kernels. You # need to download it and run it on your local machine. # Downloads images from the Google Landmarks dataset using multiple threads. # Images that already exist will not be downloaded again, so the script can # resum...
[ "jcai@DESKTOP-QUBSOHM.localdomain" ]
jcai@DESKTOP-QUBSOHM.localdomain
ff163d13f70faa09c13751bc35eb50971b507a00
7167dbee22b6c166cb146ba0c825fd2841519c09
/2019/7/main.py
8a7681a2002559d4770cfd8b5847b26a29a79ac0
[]
no_license
nellamad/AdventOfCode
3fe41d1d5e0f181c6e7afd474d3ffc42e35b9fee
6cfbc72d70e186c7e61893f8f0896d090aad9936
refs/heads/master
2020-09-25T16:00:57.108963
2019-12-08T07:56:49
2019-12-08T07:56:49
226,039,456
0
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
from sys import maxsize from itertools import permutations INPUT_PATH = "input.txt" op_to_param_length = { 1: 3, 2: 3, 3: 1, 4: 1, 5: 2, 6: 2, 7: 3, 8: 3, 99: 0 } def get_program(): with open(INPUT_PATH) as fp: return [int(x) for x in fp.readline().split(',')] def pa...
[ "allenqdam@gmail.com" ]
allenqdam@gmail.com
1e56f83eac27b3db5ac605e0618a55236e8a087b
c048599e7673138616019f8be5d7b0c3022cd72d
/AWS Lambda/TelegramBotLambda.py
77a4a935f5130643edf558a4e3c5d371c0070d86
[]
no_license
cococoolbean/ET0731-IoT-Security-Safe-Pacerl-
e62a3646c110244ed5f19b43d5a435879cc48843
e863fcd43ef6b83b02572cc42c4aba929dcf7fa2
refs/heads/master
2022-04-02T05:39:29.678774
2020-02-16T11:52:04
2020-02-16T11:52:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
""" This is the python code that allows user to use telegram bot to control the function of lock and unlock """ import json import boto3 from botocore.vendored import requests TELE_TOKEN='bot_chatId:xxxxxxxxxxxxxxxxxxxxxxxxxxx' URL = "https://api.telegram.org/bot{}/".format(TELE_TOKEN) client = boto3.client('iot-data...
[ "noreply@github.com" ]
cococoolbean.noreply@github.com
b8f04f11344cd7fcc06b3f1e060a3b7b6ea8fa86
10e9ff22b63a7149d503bb7bf92a07d1f1303f47
/src/tworobot_main.py
7681f3dedfa4e36f1cbcf4433f31f563eff00b38
[]
no_license
ngthanhtin/Instruction-Navigation-MultiRobot
1907ec3e056719a0bffb0cd39f7575c6763ee3cb
03c8a34d637f9db386640c47965ae27f208152eb
refs/heads/master
2023-07-21T04:45:10.831918
2021-09-01T01:09:17
2021-09-01T01:09:17
384,711,260
0
0
null
null
null
null
UTF-8
Python
false
false
10,452
py
#!/usr/bin/env python3 import rospy from gazebo_msgs.msg import ModelStates import math #import gym import numpy as np import tensorflow as tf # from ddpg import * from mddpg.magent import * # from tworobot_environment import Env # from tworobot_environment_getobjects import Env from multirobot_environment import Env f...
[ "ngthanhtinqn@gmail.com" ]
ngthanhtinqn@gmail.com
74a5e2868e2ee6e54bc08acfae858d0c3bc8a2f1
1b0139d14f31928d7bb74674b0910a7dca2d852e
/Jupyter_notebook/numpy/killed_in_USA.py
09c85534d024e309028cb2036b3751f3f33e04db
[]
no_license
malhotrasahil/coding_ninjas
6a7c8c668896850da81f196c1afe83bfc63f16c0
edf3189caa65bcb780837b4a70eef22fc17eaf3f
refs/heads/master
2020-08-06T01:50:10.036298
2019-10-05T08:55:18
2019-10-05T08:55:18
212,789,803
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
import numpy as np import csv with open("C:\\Users\\Sahil\\Downloads\\terrorismData.csv" , encoding ='UTF-8') as file_obj: # csv_obj=csv.reader(file_obj) csv_obj = csv.DictReader(file_obj,skipinitialspace=True) list1=list(csv_obj) # list2=list1[0:][3] # print(list2) # arr=np.array(list2) ...
[ "noreply@github.com" ]
malhotrasahil.noreply@github.com
572ff9086f75d3bfc5ddd794315dcdd46d41f352
6a689e14959b6cc207444a419bbde4f7e40a5222
/detail/Event.py
00f144d3b8e3d8c02db5ee1b8347977ce4b6f0ee
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
rainforest-tokyo/AutoNaptPython
1d2724656590bd08b2595a845183e5d89961be42
5c021ca18e7a8280b52fd168ff6c443321ff3e31
refs/heads/master
2020-03-23T21:11:38.515278
2019-07-19T15:08:19
2019-07-19T15:08:19
142,088,396
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
#!/usr/bin/env python # -*- coding: utf-8 -*- class Event(object): def __init__(self, doc = None): self.handlers = [] self.__doc__ = doc def __str__(self): return 'Event<%s>' % str(self.__doc__) def add(self, handler): self.handlers.append(handler) return self ...
[ "kouichirou_okada@rainforest.tokyo" ]
kouichirou_okada@rainforest.tokyo
5bc8ca0afc78c19fa36a2ac33968c2e027761c1a
d0004dec928083657d514d21e4f13a04ffdb1079
/randomnumber.py
7f723e2ae3623a518520324f79926447cbfccee5
[]
no_license
harshagl88/pythonbasic
0e228f0d8904675b0c8f0fd5c28ed9ef701ea167
32872e446c33c43db80bed65831b349c0d5c09ef
refs/heads/master
2023-01-30T02:33:25.986729
2020-12-13T05:04:57
2020-12-13T05:04:57
307,269,592
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
import random class RandomNumber: def random_number(self): print(random.randint(10, 100)) rn = RandomNumber() rn.random_number()
[ "harsh.agl88@gmail.com" ]
harsh.agl88@gmail.com
8388fe4dea5028cd270dc5918c4a86c8b67ac556
4678a77ee3e928fc4db79c6b570d538013457181
/venv/bin/django-admin.py
2df02c4b03ca8f7f54e92faaddf31f4c616defb6
[]
no_license
alisarmad/HTML
ee078b49b4a86ea2fdc37d8a319506b0b1e05731
22b661782a6fbc814f981e2d1ce8872f67e5b755
refs/heads/master
2022-12-05T10:20:32.248317
2020-01-10T11:09:04
2020-01-10T11:09:04
231,580,769
0
1
null
2022-11-26T11:27:12
2020-01-03T12:11:02
Python
UTF-8
Python
false
false
139
py
#!/var/www/html/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "sarmad1305@gmail.com" ]
sarmad1305@gmail.com
ec9c417e630a5d1e8843d6a2e23386c2db157f4e
d136c10cdd556055717f8b4330066f56052688b5
/setup.py
49f3c1e51fc0701380fc53e434bee2a0568658c7
[ "CC0-1.0" ]
permissive
biomodels/BIOMD0000000083
24cfbb23497e0dae2fa764e13bbdfef565bd2a51
e8221a507f10df4490c4c6dd004368c9384f2de6
refs/heads/master
2021-01-01T05:34:54.036641
2014-10-16T05:22:13
2014-10-16T05:22:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from setuptools import setup, find_packages setup(name='BIOMD0000000083', version=20140916, description='BIOMD0000000083 from BioModels', url='http://www.ebi.ac.uk/biomodels-main/BIOMD0000000083', maintainer='Stanley Gu', maintainer_url='stanleygu@gmail.com', packages=find_packages(...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
59eaeba87219790848ae8ac34d77c14d8cc54364
1ce2b3721c79baa0b513d2b2a6ac72dbd72cee74
/resources/thing.py
477f310c02ef8c6d122588a14f67c7093aa27087
[]
no_license
BrandonBlair/adventureengine
09374fde5a1a719ab3a941b260e2efd73cd6a0c3
e8024280f075ff6f9f2e298c741cc8a45a5f6b03
refs/heads/master
2021-06-17T14:12:20.289074
2019-06-03T16:22:39
2019-06-03T16:22:39
189,677,109
1
0
null
2021-03-25T22:39:34
2019-06-01T01:25:30
Python
UTF-8
Python
false
false
434
py
from .container import Container class Thing(Container): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.name = kwargs.get('name', 'Generic Thing') self.short_desc = kwargs.get('short_desc', 'thing') self.desc = kwargs.get('desc', 'generic thing') ...
[ "cbrandon.blair@gmail.com" ]
cbrandon.blair@gmail.com
8817047c2c71be9cdae859f54be02ae569fe144c
724ae861f52fedc9d57f39c30971fab0114dc34b
/cms_content/cms_app.py
1f95945cb2b4dac8bdf406ce033d0d0148078a6c
[ "BSD-3-Clause" ]
permissive
mmlic/django-cms-content
36faa82f5303ba151d1f5542d895bbf65aec753a
d6b214542ab618b6fa4645483fa5bf58e8212f86
refs/heads/master
2021-01-16T18:06:01.393986
2010-09-18T14:54:45
2010-09-18T14:54:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
# -*- coding: utf-8 -*- from django.utils.translation import ugettext_lazy as _ from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool from cms_content.menu import CMSContentMenu class CMSContentApp(CMSApp): name = _(u"CMS Content App") urls = ["cms_content.urls"] menus = [CMSContentMe...
[ "indexofire@gmail.com" ]
indexofire@gmail.com
ea7a28f829cd31f0bb53e7c6d894881acf4893c1
578a7fdc73798b9826b032910346195e3e5a5370
/import_2.0.py
c8586850f047136719b1c0e2e58387e8567801ce
[]
no_license
giapiazze/Samu_Script
87c4ab9643e3d11f7fffc839128477c39c37e9c9
354bc9841892ec3df3fdf2d59fe1e4083925cc23
refs/heads/master
2021-05-09T12:50:16.286384
2019-02-04T17:59:11
2019-02-04T17:59:11
119,018,688
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
import getopt import sys import datetime import xlrd # DB SQLAlchemy from import_db import Session, Base from import_models import AuthHousesUsers # Main module to read start option parameter # Option parameter: -d 'YYYY-mm-dd' => The date to search) # Option parameter: -x True => If you want export) if "__main__" =...
[ "giapiazze@gmail.com" ]
giapiazze@gmail.com
a9fa1327a1dab06a3cf16ed62e3b72fc95be7db8
ca9177204037f9371dbc23ea96f3ad5ff2250e41
/tag/views.py
65c32958594acf5b33ca17e3d8e49e31e505eb42
[]
no_license
luanvuhlu/hlusupportivelearning
5562ce84e26b6c746cadc44a84b10d5df9f70c86
1deeaa0fe1abbe6f8debac49ff55533173edd7a6
refs/heads/master
2021-01-15T12:16:17.848073
2014-11-20T16:07:41
2014-11-20T16:07:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
from django.http import HttpResponse, Http404, HttpResponseRedirect from django.shortcuts import render, get_object_or_404 from hlusupportivelearning.views import get_user from django.template import RequestContext, loader from student.models import Student from models import Tag from entity import StudentTag from hlus...
[ "luanhlu3503@gmail.com" ]
luanhlu3503@gmail.com
a18916117bbe69ba04686b91913c458e5c100627
c58ca78e0f86c579ccb9715b18306d045edfe6ce
/bsplines/__init__.py
485360b7c55ad12ae3f10437a525f043fb0ab284
[ "MIT" ]
permissive
pschulam/bsplines
1102652e502064053b1b65fb73104baaaa774dd9
e24a7a6e613077d58f7501ff0c6105221a12c82d
refs/heads/master
2021-01-11T19:44:26.917311
2017-01-23T18:08:17
2017-01-23T18:08:17
79,385,727
0
1
null
null
null
null
UTF-8
Python
false
false
57
py
from .bsplines import BSplineBasis, QuantileBSplineBasis
[ "pschulam@gmail.com" ]
pschulam@gmail.com
238de79091ee6ab3dc170ece675fcc253ffd9020
be0538698ed652f128720f4ab2c477805dc7030f
/python_design_patterns/SOLID/dependency_inversion.py
a53b1ac59971025baee140e8533ba0efc11bfa85
[]
no_license
titoeb/python-desing-patterns
a2c8a45d218802ea4e3cc3fe4d1c7522fc991128
1e5f835a7fcca2be99d112053a9a1fc10829f2cf
refs/heads/master
2023-04-14T16:40:48.590152
2021-05-05T06:44:09
2021-05-05T06:44:09
359,351,474
1
0
null
null
null
null
UTF-8
Python
false
false
3,490
py
from __future__ import annotations import abc from enum import Enum from typing import List, Tuple # The depency inversion principle # High level modules should not depend on low-level module, but they should depend on abstractions. # Therefore, one should rather depend on interfaces then concrete implementations. c...
[ "timtoebrock@gmail.com" ]
timtoebrock@gmail.com
ec17da356f713d8e5b8b9e457642a00c09d086eb
7bab15222a8a22bf0c1e5b9df27c867c2a5257e5
/utils.py
d03cc447f4e30c703f8a8598c0f28dba95c5801a
[]
no_license
Ade-Pyaar/Auto_predict_app
096c9f2224e395af4b05e341cb51f19471941b6b
3e2a2e0192f86154844248d2542fd86e5bc1bf61
refs/heads/master
2023-04-28T16:49:06.531883
2021-05-22T16:52:27
2021-05-22T16:52:27
361,749,506
0
0
null
null
null
null
UTF-8
Python
false
false
2,945
py
import pickle, json with open ('n_gram_counts_list.txt', 'rb') as fp: n_gram_counts_list = pickle.load(fp) with open('vocabulary.txt', 'r') as f: vocabulary = json.loads(f.read()) def estimate_probability(word, previous_n_gram, n_gram_counts, n_plus1_gram_counts, vocabulary_siz...
[ "Adebayoibrahim2468@gmail.com" ]
Adebayoibrahim2468@gmail.com
871af0fab6d27935b3a9d6894e5b69448e205e49
e7d4b6fcace1509d37359776d9f72020dad3da41
/part010/ch08_basemap/sec2_draw/test_2_plot_x_x.py
955139e8b3ec761b1aa180217c7fb55b866cb87f
[]
no_license
LinyunGH/book_python_gis
b422e350222c4ab5711efb4cc6101e229bd26f7b
067d75e324c006e2098827ac16ba38d4894b8a21
refs/heads/master
2020-04-09T22:25:35.049625
2018-10-14T09:56:38
2018-10-14T09:56:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,862
py
# -*- coding: utf-8 -*- print('=' * 40) print(__file__) from helper.textool import get_tmp_file ################################################################################ from mpl_toolkits.basemap import Basemap import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt para = {'projection': 'merc',...
[ "bukun@osgeo.cn" ]
bukun@osgeo.cn
662c71161cfd8d0510f97315e3f4b811738fdcf3
c1c7214e1f9230f19d74bb9776dac40d820da892
/examples/django/model一般/FilePathFieldの使い方の例/project/app/views.py
862e10440074a4c00591ebc229e8546a7d8428c2
[]
no_license
FujitaHirotaka/djangoruler3
cb326c80d9413ebdeaa64802c5e5f5daadb00904
9a743fbc12a0efa73dbc90f93baddf7e8a4eb4f8
refs/heads/master
2020-04-01T13:32:28.078110
2018-12-13T00:39:56
2018-12-13T00:39:56
153,256,642
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
from django.shortcuts import render import os from .forms import * from pathlib import Path import re from ajax.views import z #この部分は本編とは関係なし ######################## d=z() ######################## def index(request): d["form"]=Form d["form2"]=Form2 d["form3"]=Form3 d["form4"]=Form4 d["form...
[ "fujiozone@msn.com" ]
fujiozone@msn.com
78bfd40f5139c5f8b353a0d60b790cfc105d405a
a7c7bf8eb6031c77014e1c60f27b6956201c83d7
/2d.py
1b66ceb515fb4b0f719404f16e601769dc5edc74
[ "Apache-2.0" ]
permissive
LuPaSchmitt/quantum-neural-network
1fe388fae8070b1c2e07d6ee87f5e31450766b3d
5398e7ece1e21971b5df840af8f20559270b2bc4
refs/heads/main
2023-06-07T13:32:26.544123
2021-07-04T10:24:30
2021-07-04T10:24:30
379,517,755
1
0
null
null
null
null
UTF-8
Python
false
false
9,003
py
# -*- coding: utf-8 -*- """ Created on Sun May 30 12:35:28 2021 @author: Lukas """ import numpy as np import tensorflow as tf import strawberryfields as sf from strawberryfields import ops import basis import time import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D tf.random...
[ "noreply@github.com" ]
LuPaSchmitt.noreply@github.com
db15bf9a47411339c570cde0a71c23fc2c1aba37
ee732d3f760bcb1218b65256ca050264d839fa1c
/tools/lifepool/src/SalivaDnaParser.py
7e9ec48339d31f9237cc2a328c125cd503b3220e
[]
no_license
The-Ark-Informatics/ark
d806a6a45489a036ae4556b828d7740a7be83dd3
6b711a3f8dd4df384f57d150c4227a49c792f964
refs/heads/master
2023-03-10T04:08:24.508553
2023-03-06T06:52:39
2023-03-06T06:52:39
35,088,800
5
8
null
2020-08-09T03:21:16
2015-05-05T08:57:56
JavaScript
UTF-8
Python
false
false
1,029
py
''' Created on 08/07/2013 @author: thilina ''' import re print "----------------------- SALIVA DNA BIOSPECIMEN --------------------------------" inputFile = open('../resource/DNA_SALIVA_SPECIMEN.csv', 'r') firstLine=True output="" for line in inputFile: if firstLine : firstLine=False continue...
[ "tranaweera@gmail.com" ]
tranaweera@gmail.com
66bf729f83145854a2e66ea266c12bab27a2b7bd
474fc20675272fe93139f3540745c25d3fda709a
/scripts/cma/purecma_reference_test.py
82e9a23144dcf7c759606289682f17cfe244186d
[ "BSD-3-Clause" ]
permissive
ALHESzpuniWojro/Projekt-1
c1c1618dd5d476958733fe5781742f89566bd4a4
f0ee777ffb967f066bcdb2fa310149394bf09bd2
refs/heads/master
2020-09-21T08:13:55.307688
2020-02-06T11:28:25
2020-02-06T11:28:25
224,727,716
0
1
null
null
null
null
UTF-8
Python
false
false
54,051
py
#!/usr/bin/env python """A minimalistic implemention of CMA-ES without using `numpy`. The Covariance Matrix Adaptation Evolution Strategy, CMA-ES, serves for numerical nonlinear function minimization. The **main functionality** is implemented in 1. class `CMAES`, and 2. function `fmin` which is a small single-line-...
[ "rokwojtek@gmail.com" ]
rokwojtek@gmail.com
ede0b947d1f6fd8b57868020e0b6a882b83d4825
9066c49e12738fc19fbe747384c12de86e221c67
/lab exercise 1/question 7.py
fb9a14e0ab40a457ef802f40d55c200dfe61f8b8
[]
no_license
Samyam412/lab_exercise
76fe64762471e1e05f0e61f982ebd99eb31a41f0
65d724e4a0a2c6ce136cedcd2431f5614d7df437
refs/heads/master
2023-04-18T01:09:00.135539
2021-05-04T06:16:59
2021-05-04T06:16:59
363,842,792
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
""" You live 4 miles from university. The bus drives at 25mph but spends 2 minutes at each of the 10 stops on the way. How long will the bus journey take? Alternatively, you could run to university. You jog the first mile at 7mph; then run the next two at15mph; before jogging the last at 7mph again. Will this be quicke...
[ "Kcsamy50@gmail.com" ]
Kcsamy50@gmail.com
f38852aedba093f8b94fb6d1b1bea8938b869023
4b9f84b990572a61e668d981c119a92c22362ab3
/tempest/tempest/services/telemetry/json/alarming_client.py
ce142119b24b566d3dbb97516d5cb3e60484cd3e
[ "Apache-2.0" ]
permissive
bopopescu/openstack_tracing
02fb245c97ab2ebb6ec0b24768d2b8cb21da700a
2dd8c6c83096468c7b7fb937a5061f19210e5551
refs/heads/master
2022-11-26T11:25:19.655883
2019-12-03T19:48:02
2019-12-03T19:48:02
282,092,327
0
0
null
2020-07-24T01:21:44
2020-07-24T01:21:44
null
UTF-8
Python
false
false
3,646
py
# Copyright 2014 OpenStack Foundation # 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 requ...
[ "yves-junior.bationo@polymtl.ca" ]
yves-junior.bationo@polymtl.ca
3b9ab5748169f40f1b677cd70a4f2f612a57773f
ab90ac26580ad1d129a96026b62ff828d9b5d678
/ECDSA_address_from_big_int.py
bbb4c6c0c33e217a2ee38e6c46fea0652487452f
[]
no_license
OdaZei/phemex_puzzle
d5ad23af3d0656e1dcc464057555164430664962
aead2242ed15456020b8f80be9d6a7066623f6b0
refs/heads/master
2020-12-20T08:33:14.527527
2020-03-08T14:36:18
2020-03-08T14:36:18
236,017,161
2
1
null
2020-01-25T23:18:19
2020-01-24T14:26:05
Python
UTF-8
Python
false
false
2,798
py
import ecdsa import binascii import base58 import hashlib from itertools import permutations as pmt "//////////////////////////////////////////////////////////////////////////////////" global filepath global kk "//////////////////////////////////////////////////////////////////////////////////" solution = "" match = "1...
[ "noreply@github.com" ]
OdaZei.noreply@github.com
4d3a0c272d36b397c444515c4923ebd3de65bfda
9cf72dc753a7334873a1d61a656dab33ac4703a5
/VirusTotalAVBot/__init__.py
b8a3cb9e21e8982a2ea723b87ce48bdb153374bb
[ "MIT" ]
permissive
kenanismayilov335/VirusTotal-File-Scan-Bot
f3895eb927dc06279876a4c260fdbe3614227258
369e8bba10ce40cf9e9bdaeba018496e8509cd8d
refs/heads/main
2023-07-12T10:29:57.272000
2021-08-21T22:00:40
2021-08-21T22:00:40
398,662,020
0
0
MIT
2021-08-21T21:47:21
2021-08-21T21:47:20
null
UTF-8
Python
false
false
411
py
import os BOT_TOKEN = os.environ.get('BOT_TOKEN') API_ID = int(os.environ.get('API_ID')) API_HASH = os.environ.get('API_HASH') BOT_USERNAME = os.environ.get('BOT_USERNAME') BOT_OWNER = os.environ.get('BOT_OWNER') PLUG_IN = dict(root="VirusTotalAVBot.modules") VT_API = os.environ.get('VT_API') GROUP_INFO_MSGS ...
[ "noreply@github.com" ]
kenanismayilov335.noreply@github.com
e75d9db12b0fc5c4d1d738e16e1b86046f0f1899
c99e0a59670c1b319d258a7bbc0c0cb84928f9c7
/GUI/wxpython2/venv/bin/easy_install
83934b7c9921673f90bb5507478cc27005f04bbf
[]
no_license
Daparrag/ARMV7e-M-Invasive-profile-library-for-cortex-M4-MCU
879a67368eb07be3187ec4810325789d055b6b7f
5dbad1ae73a725b3ec856169e36f373e76eb2506
refs/heads/master
2021-01-20T08:30:13.084201
2018-07-11T06:53:34
2018-07-11T06:53:34
90,154,033
0
0
null
2018-07-11T06:53:36
2017-05-03T13:48:13
Python
UTF-8
Python
false
false
274
#!/home/homer/PycharmProjects/wxpython2/venv/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "daparrag" ]
daparrag
fcbab2128e2606c0a8b84ba21afd298b102d0db3
d1ec1d7c7a955c033471725425d72ab7dcd7455f
/cut_rod.py
43a0384fdc1030a431943ac135a4367ca51aa23f
[]
no_license
qz5e20/Data-Structure
c252c1f519dbebc03793eb13d8311ade67e6298e
541f25927a6a2640c78d901a267d3ea7be1ebb91
refs/heads/main
2023-06-20T09:37:05.310329
2021-07-13T10:25:30
2021-07-13T10:25:30
385,563,491
1
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 9 10:23:42 2021 @author: user """ p=[0,1,5,8,9,10,17,17,20,21,23,24,26,27,27,28,30,33,36,39,40] #p=[0,1,5,8,9,10,17,17,20,24,30] def cut_rod_recurision_1(self,n): if n==0: return 0 else: res=p[n] for i in range(1,n): ...
[ "noreply@github.com" ]
qz5e20.noreply@github.com
4e633c267ce51f581b210db672c0ed1041e02ffd
37ff29a9a83eafbf0f54e2ce0bf2c0255b1663a1
/build/husky_control/catkin_generated/generate_cached_setup.py
d7af4a5285b20e1200840d1b9135e75b800eadd2
[]
no_license
wy7727/husky
f8d9c2a05487f66efbfb58e8fc1c141efc10e177
7925bc34ae316639aef88fc3e6a8d36aba12620b
refs/heads/master
2020-04-09T12:09:41.420418
2019-12-01T09:24:24
2019-12-01T09:24:24
160,337,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "wuying277727@gmail.com" ]
wuying277727@gmail.com
24ff4cfbe9ebc07dc6bf91e7a7bdf56035b30726
b5402b40b69244380bc0d3f85ff65483d0505181
/mongodb/factory/execode.py
c462619c70d66714d3b5f4d8d1e6279769e79df5
[ "MIT" ]
permissive
RxJellyBot/Jelly-Bot
ea7b6bd100431736732f9f4cc739858ec148e3e2
c7da1e91783dce3a2b71b955b3a22b68db9056cf
refs/heads/master
2023-08-29T20:41:01.813945
2021-10-20T05:27:21
2021-10-20T05:27:21
189,347,226
5
1
MIT
2020-09-05T00:50:41
2019-05-30T04:47:48
Python
UTF-8
Python
false
false
7,976
py
"""Execode-related data controllers.""" from datetime import timedelta from typing import Type, Optional, Tuple from bson import ObjectId from django.http import QueryDict # pylint: disable=wrong-import-order from extutils.dt import now_utc_aware from flags import Execode, ExecodeCompletionOutcome, ExecodeCollationF...
[ "raenonx0710@gmail.com" ]
raenonx0710@gmail.com
bc311155799542ad602305eb319bcfe862940578
f37978530be6cf40bd7b4e5dbaf63f779114ff95
/src/bioregistry/curation/add_descriptions_from_gs.py
04f3759ae75bb8aaa0a3fc81e7d23e8b6bb18533
[ "MIT", "CC0-1.0", "CC-PDDC", "CC-BY-4.0" ]
permissive
biopragmatics/bioregistry
03d983e96b65681352d0eddbe39902059d299e6d
a05af7e42f60109f01133e3072bb673423b74dd3
refs/heads/main
2023-08-30T21:02:44.854342
2023-08-30T01:10:16
2023-08-30T01:10:16
319,481,281
77
28
MIT
2023-09-12T08:21:24
2020-12-08T00:33:21
Python
UTF-8
Python
false
false
940
py
# -*- coding: utf-8 -*- """Add descriptions from a google curation sheet.""" import click import pandas as pd import bioregistry URL = ( "https://docs.google.com/spreadsheets/d/e/2PACX-1vQVw4odnZF34f267p9WqdQOhi" "Y9tewD-jbnATgpi5W9smbkemvbOcVZSdeboXknoWxDhPyvtcxUYiQO/pub?gid=1947246172&single=true&output=t...
[ "cthoyt@gmail.com" ]
cthoyt@gmail.com
01185e9f3d7396684bd2bb377e68a82b736fa683
b30a71755dfd71c85a5bd9cb97d68c9ee400185b
/tests/test_get_indexes_digits.py
2ddb04ea36ddae5a5406d5b317a835360399d901
[]
no_license
rugeer/image_number_sequence_generator
495804170ee18edad8a1ae6247099a359f92cd22
3fb758ede7fa7ab596867563f3c2359ed4fd6f4a
refs/heads/master
2020-03-17T21:11:16.035881
2018-05-18T11:57:28
2018-05-18T11:57:28
133,947,495
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
import mnist from script import get_indexes_digits from collections import Counter train_images = mnist.train_images() train_labels = mnist.train_labels() digits = [1, 3] indexes = get_indexes_digits(digits) def test_output_type(): assert isinstance(indexes, dict) def test_keys(): """Test whether all and ...
[ "robin.hornak.14@ucl.ac.uk" ]
robin.hornak.14@ucl.ac.uk
e1e3e0a6195e8962484a4fa4111f09eb936c7802
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_each148.py
382a04d946964f99cf0e1924c7cf471beca627c8
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
1,113
py
from xcp2k.inputsection import InputSection class _each148(InputSection): def __init__(self): InputSection.__init__(self) self.Just_energy = None self.Powell_opt = None self.Qs_scf = None self.Xas_scf = None self.Md = None self.Pint = None self.Metad...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com