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
a8b5ba72724f1f79ee0c9186191a238c4b463315
27a4208c86693ea1da9abd485e69f5db89c9dcf9
/tests/irteusgl9-29_slime2-22_color.py
8c9f0c5764c6af10ffccd86fd7e914fbf0538957
[ "BSD-3-Clause" ]
permissive
Affonso-Gui/euslime
b70eec1766680cfbbb6fd94e22d52eb3494c4002
cc457db9b839073fe95d01e93325afbe1f8fa996
refs/heads/devel
2023-01-23T21:59:58.582923
2022-12-22T10:34:07
2022-12-22T10:34:07
481,096,158
0
0
BSD-3-Clause
2022-05-12T07:52:30
2022-04-13T06:19:20
Python
UTF-8
Python
false
false
84
py
from irteusgl import irteusgl class irteusgl_color(irteusgl): USE_COLOR = True
[ "guilherme.c.affonso@gmail.com" ]
guilherme.c.affonso@gmail.com
794f3abbe9fca363cc78d142151697bd2f6917bf
9bf5d10a4644ebb4b788233cae2e82ad9515d433
/Bank/settings.py
c7b4ff3d587217be41a204660a47977d685de06f
[]
no_license
Mohitkashyap123/Bank
2ea3d808406d1fa06a7a0e9e2a005d45dc53810f
8f6d3b509a6945ba7eaecedc0fe5287bc769c8f6
refs/heads/master
2022-12-17T03:39:29.581970
2020-09-26T07:04:53
2020-09-26T07:04:53
276,882,798
0
0
null
null
null
null
UTF-8
Python
false
false
3,121
py
""" Django settings for Bank project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # Bu...
[ "mohitkashyap656@gmail.com" ]
mohitkashyap656@gmail.com
4fe043e3715e5b8438e6d887a92c5386dfd3f625
2044867096d52f2737102681dbb1baf6b05eeb97
/Robot sense Localization.py
256c0425096c8aaeed3e4ba1a4add37ba9af80cc
[]
no_license
ahmedfarid98/Robot_Localization
4a42fbb81d83cdcca69a5d47ed2e8b1634343d81
4b618eef94e9e7dbb4785feb3dbfc4a34da3d791
refs/heads/master
2022-11-15T14:28:22.447170
2020-07-13T00:12:20
2020-07-13T00:12:20
277,865,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,555
py
############################### Robot Localization ######################### ################# Example 1 #################### #Modify the code below so that the function sense, which takes p and Z as inputs, will output the NON-normalized probability distribution, q, #after multiplying the entries in p b...
[ "noreply@github.com" ]
ahmedfarid98.noreply@github.com
bce6368fc8a866dd4bff9c0a271687bdaea848c1
5e014f95b49f376b34d20760c41f09bdca094247
/flask_ide/auth/models.py
2fe1fcdca8701cfe3cf45972adb5b95603c108eb
[]
no_license
jstacoder/flask-ide
34ae304c211c7b263f37b2fcf0660ae76053c0a2
3890756c094b4b7872bad7d915e764e3e32dcb2d
refs/heads/master
2023-02-12T11:22:24.412680
2020-07-20T17:21:55
2020-07-20T17:21:55
29,079,246
50
10
null
2023-02-02T07:17:40
2015-01-11T02:51:35
JavaScript
UTF-8
Python
false
false
3,478
py
from flask_xxl.basemodels import BaseMixin from flask import url_for from LoginUtils import encrypt_password, check_password from sqlalchemy.ext.declarative import declared_attr #import sqlalchemy to global namespace from sqlalchemy import ( UnicodeText,func,Enum,UniqueConstraint,DateTime,Text,Column,Integer,...
[ "kyle@level2designs.com" ]
kyle@level2designs.com
87c7524501017490341a86012b5d7364f04aacde
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_54/78.py
1e0afea1344679e1079ae74d8bb54a891e5ad167
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
def gcd(a,b): while (b != 0): c = a%b a = b b = c return a def get_gcd(line): g = line[0] cnt = len(line) for i in range(1,cnt): g = gcd(g,line[i]) return g def solve(line): N = int(line.pop(0)) for i in range(0,N): line[i] = int...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
9b041b73b4058ed94e12ca2a03153ad4b7767547
3f911aca38f91e56890f5034b31ed81edb31b000
/protein/FDR 구현실습/test.py
2f29ade236cf8f8f9d1525d161b6fe892a63d725
[]
no_license
sochic2/kis
5dd83fd474176981f49cde967f49763405ed27b3
3ab07710c987110224b3fad0cb1ce3a0d6df6d1a
refs/heads/master
2022-11-07T00:58:37.427148
2020-06-18T14:37:01
2020-06-18T14:37:01
257,481,038
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
a = 'abcdefg' b = a[0:3] print(b)
[ "netzzang12@gmail.com" ]
netzzang12@gmail.com
ff1fa756c47a62759082ec1444f5f81912834726
7d81a7bba996c4257e47f039ab2524be0fe4bea4
/theawesomeprice/first/MyAwesomeSite/PageScrape/migrations/0016_auto_20190612_2155.py
b009a44ddaf20d15af55d6720da5f461bd5ef174
[]
no_license
KushSondhi/theawesomeprice
38a43f9586a69636446de0b5d055db7a657073d9
cddc36bf8a64db14dd801865b1c4a61f38c780c6
refs/heads/master
2022-11-05T14:08:27.967107
2020-07-05T00:30:35
2020-07-05T00:30:35
269,604,086
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
# Generated by Django 2.2b1 on 2019-06-12 16:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('PageScrape', '0015_auto_20190612_2153'), ] operations = [ migrations.AlterField( model_name='shopclues', name='prod_...
[ "root@Kush.theawesomeprice.tk" ]
root@Kush.theawesomeprice.tk
c1d9e970d2aaa6133afb7698b6b7cd8027825d57
bdc14f0cd470219fd62bd94d2025cccf553fd905
/news/serializers.py
a3f7eeaca3c237ade0efe48adc55640633e6c5f6
[]
no_license
mhsniranmanesh/sporthub-core
b12fb4f4dc180b7fb6b3808c488952623c9364ff
57ef2caead9e7346a6b02e0d7df0f9b0bb8e5d2e
refs/heads/master
2020-04-18T07:41:12.531413
2019-01-27T20:37:11
2019-01-27T20:37:11
167,367,077
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from rest_framework import serializers from news.models import News, NewsTag class TagSerializer(serializers.ModelSerializer): class Meta: model = NewsTag fields = ['name'] class NewsGetRecentSerializer(serializers.ModelSerializer): tag = TagSerializer() class Meta: model = News...
[ "mhsn.iranmanesh@gmail.com" ]
mhsn.iranmanesh@gmail.com
d5b659372a216b999b788a1e5dbe6d3852e2a1f3
474525154a4e1d48ef5242d1f44164d05399b145
/tensorflow_probability/python/experimental/distributions/mvn_precision_factor_linop_test.py
47676d4d6f31be7ebf0b5ac98d233982286579c7
[ "Apache-2.0" ]
permissive
svshivapuja/probability
9855737790f74a39169688fbfec9671deef804d9
af7ccb22d972329633530c3b754ed1f49472f6a7
refs/heads/main
2023-07-17T04:14:53.703622
2021-08-30T17:47:06
2021-08-30T17:47:06
400,983,015
1
0
Apache-2.0
2021-08-29T07:51:29
2021-08-29T07:51:29
null
UTF-8
Python
false
false
8,157
py
# Copyright 2020 The TensorFlow Probability Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
767c0f1bf81724fc490d700d2e61919694707e07
823dd69093200d01995c4067ed1ec87194246d40
/tests/unit/gapic/bigquery_reservation_v1/test_reservation_service.py
8d356f570ac7130a9f2e26e6ec371238fe0143bf
[ "Apache-2.0" ]
permissive
plamut/python-bigquery-reservation
910c0a5bf70f82968f3db91f3ef1d18270a84548
27b256440b2565369c900cd4728e38676f82fcfe
refs/heads/master
2023-07-15T05:17:15.137418
2021-08-13T15:28:12
2021-08-13T15:28:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
238,549
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "noreply@github.com" ]
plamut.noreply@github.com
c629e0e16b3e985e068c51df8646c388991624fe
193247e2d09b2ceb003a07630b93b671a88aaddd
/reference-implementations/air-c2-cop/AirC2Weather/Tools/MultidimensionSupplementalTools/Scripts/mds/tools/get_variable_statistics_over_dimension.py
e7a2e4598f3ba4900ee4b06accb210a6b2c51ecd
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Esri/defense-solutions-proofs-of-concept
5044c062e0bca762b95bb7dbe6aa7b27170923f1
b0d796e0c36f8ee3a17dfe57b19f8de930b08414
refs/heads/master
2023-08-28T10:18:33.364318
2022-10-26T15:27:46
2022-10-26T15:27:46
102,737,392
15
21
Apache-2.0
2022-09-30T18:11:37
2017-09-07T13:00:26
Java
UTF-8
Python
false
false
11,190
py
# -*- coding: utf-8 -*- import arcpy import mds import mds.messages import numpy import netCDF4 import os.path # # LIMITATIONS: # > Attributes: # Attribute values are copied wholesale from the original variable. Hence, # if these values describe the the values in the new variable, i.e. as with # valid_range, a...
[ "jbayles@esri.com" ]
jbayles@esri.com
80b3358be81f5d974d6f594abfd81b0f94056eea
6701eae4550c7cd3d8703565c7be3a5e26248676
/test/functional/txn_clone.py
960fbddca9ce3e61f1041d65c503eba4502734fa
[ "MIT" ]
permissive
stochastic-thread/bootstrapping-ellocash
91de56a330090c004af31d861e6d4cfb8d8b9e36
9495f1e3741c7f893457e4f6602d6ef0d84b7b3d
refs/heads/master
2021-09-05T05:00:19.403780
2018-01-24T08:09:44
2018-01-24T08:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,600
py
#!/usr/bin/env python3 # Copyright (c) 2014-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test the wallet accounts properly when there are cloned transactions with malleated scriptsigs.""" fro...
[ "arthurcolle@Arthurs-MacBook-Pro.local" ]
arthurcolle@Arthurs-MacBook-Pro.local
c7f7d61a99c4af08ce8617ff03de87e252df99b8
fd143272c9e958fa814692454ddb4a2eced2ab92
/S4.2.py
8bbe73c5cbcca0a385bda40a62e76e2558d95687
[]
no_license
taowenyin/HelloSLM
febf3c4b4ce515da27ec307f8184d3b11e43a0dd
adced132a187c0e2d708ca9858535e8cebe664b4
refs/heads/master
2022-05-27T09:13:59.122326
2020-04-26T14:01:47
2020-04-26T14:01:47
259,044,868
0
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
import numpy as np from sklearn.naive_bayes import GaussianNB, BernoulliNB, MultinomialNB if __name__ == '__main__': data = np.array([ [1, 'S', -1], [1, 'M', -1], [1, 'M', 1], [1, 'S', 1], [1, 'S', -1], [2, 'S', -1], [2, 'M', -1], [2, 'M', 1], [2, 'L', 1], [2, 'L', 1], [3, 'L', 1], [3, 'M'...
[ "wenyin.tao@163.com" ]
wenyin.tao@163.com
bd374ed841b18e22b1108b9e8b2c12dac786d446
971e0efcc68b8f7cfb1040c38008426f7bcf9d2e
/tests/artificial/transf_Anscombe/trend_MovingMedian/cycle_30/ar_12/test_artificial_128_Anscombe_MovingMedian_30_12_100.py
ccc8235516ad5f149b1dacaabb8d05d4860cb57f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
antoinecarme/pyaf
a105d172c2e7544f8d580d75f28b751351dd83b6
b12db77cb3fa9292e774b2b33db8ce732647c35e
refs/heads/master
2023-09-01T09:30:59.967219
2023-07-28T20:15:53
2023-07-28T20:15:53
70,790,978
457
77
BSD-3-Clause
2023-03-08T21:45:40
2016-10-13T09:30:30
Python
UTF-8
Python
false
false
269
py
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "MovingMedian", cycle_length = 30, transform = "Anscombe", sigma = 0.0, exog_count = 100, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
a98dbf4c9d9e1172ec1e655a3091b12b5af3dea1
795cdbb2192e069a808e59d9a8c098637e738ccb
/app/upload_file.py
785974f435d3b9b36c82957c375bf85a7a246e8c
[ "MIT" ]
permissive
terrainthesky-hub/Human_Rights_Asylum_Seekers
ccc09b72caac0e4684b04a7bc10b7699d3e2833e
5f2715c0fc4d2b48922d37527fa3860a20e9c72d
refs/heads/main
2023-06-22T20:50:07.487285
2021-07-12T22:26:39
2021-07-12T22:26:39
385,399,231
0
0
null
null
null
null
UTF-8
Python
false
false
5,692
py
# All Required Imports from fastapi import APIRouter from fastapi import FastAPI, File, UploadFile import pandas import urllib.request import logging import boto3 from botocore.config import Config import shutil from pathlib import Path from tempfile import NamedTemporaryFile from typing import Callable from botocore.e...
[ "lesley.t.rich@gmail.com" ]
lesley.t.rich@gmail.com
b4fbc50150b419753f6d6e59d82190c93aac1e3f
ef31e4986b524f73a1cc7300327f28d0e7fd1960
/venv/Scripts/pyi-makespec-script.py
b5f8e8f7834bff66fba68d49892f0987cf07502d
[]
no_license
aurvandel/pdfcombine
a5348150ef8f5649c09c689f5f5966a045cd49b5
7900faa2c823005adc46ee1f434cebf575632d24
refs/heads/master
2023-04-15T08:13:26.170775
2019-06-05T16:22:51
2019-06-05T16:22:51
362,185,595
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
#!C:\Users\pwatkin1\PycharmProjects\pdfcombine\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'PyInstaller==3.4','console_scripts','pyi-makespec' __requires__ = 'PyInstaller==3.4' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|...
[ "parkergw@gmail.com" ]
parkergw@gmail.com
f0c8e4a7e7eedd40041bc507e96e9ebd1d7c55c0
3e713a67f370d1cc1ba0882159a03b673bd22f9a
/DataStructure and Alogorithms/[HACKERRANK]-cats and a mouse .py
d1edad7dc3eaf287f6fbb70ca5520a5f5a091571
[]
no_license
s-abhishek2399/competitive-progamming--PYTHON
739797ffea0b92cc2781559e7d4eed1d274678a6
29f9e63cfc05c01fa605c14fb8a3a55920296d43
refs/heads/master
2023-03-08T02:40:00.962109
2021-02-16T15:07:52
2021-02-16T15:07:52
328,732,345
2
0
null
null
null
null
UTF-8
Python
false
false
239
py
n = int(input()) for i in range(n): l=[int(x) for x in input().split()] a = l[0]-l[2] b = l[1]-l[2] if abs(a)<abs(b): print("Cat A") elif abs(b)<abs(a): print("Cat B") else: print("Mouse C")
[ "s.abhishek2399@gmail.com" ]
s.abhishek2399@gmail.com
ed3c4924a869f8d4d77bcbdfcb1d637c1d9150bf
40c94870c9bbc5d3ca5fccccbbe648f17167be3e
/additional script/Dodelson3.4.py
cf7e2638b65c9f8b9d65438aabcfea16f5d0a53b
[]
no_license
zsw6666/ASTRO_script
62b9cfef756723a7a5ba3d16fb0205eb7c5eb725
89de215edb86b516781192b349eddf15a55114b1
refs/heads/version1.0
2020-04-16T12:31:09.935061
2019-10-16T11:41:39
2019-10-16T11:41:39
165,577,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
import numpy as np import astropy.constants as const import astropy.units as u from matplotlib import pyplot as plt def lamda(x): s=(255/(886.7*(x**5)))*(12.+6.*x+x**2) return s def H(x): Q=((1.293*u.MeV).to(u.J)).value g_star=10.75 s=(2*np.pi/3)*np.sqrt((g_star*np.pi*const.G.value)/(5.))*((Q**2)/(...
[ "zsw18@mails.tsinghua.edu.cn" ]
zsw18@mails.tsinghua.edu.cn
00e199a0bfedc87514bce6f71c530ade6ab7313b
299355248bb243427667e8192e93f378907150b9
/envs/robots/minitaur.py
81915b6897aa89b6de918f27ad285fe02c415e07
[ "MIT" ]
permissive
FrankTianTT/pytorch_sac
d35f60579a31e0063ffbdba44e13db16de2e38ae
770a632b25dc00419faef3ba672eb4982f950d2a
refs/heads/master
2022-11-24T12:48:23.181504
2020-07-31T15:30:11
2020-07-31T15:30:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
52,723
py
# coding=utf-8 # Copyright 2020 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "franktian424@qq.com" ]
franktian424@qq.com
c785fc4d347223457e4644dfcffd8c08364a742c
7700f9014b8f34a2ab9795ce51572dc0c311aae4
/source/nc_data_tools/data_tools/reformat_raster.py
f9b5e02b9b55b38cb47f49377410edccbf10ef9c
[]
no_license
geoneric/nc_data_tools
59c057476dfaaccc6a30348d7aecfc22d026c3dc
553828836a616e307ca5d60d7f845e5e90ee2429
refs/heads/master
2021-01-11T22:46:47.139938
2017-06-02T08:25:35
2017-06-02T08:25:35
79,031,535
1
0
null
null
null
null
UTF-8
Python
false
false
622
py
import rasterio from .driver import driver_by_pathname def reformat_raster( source_raster_pathname, target_raster_pathname, override_crs=None): target_driver = driver_by_pathname(target_raster_pathname) with rasterio.open(source_raster_pathname) as source_raster: profile = s...
[ "kor@jemig.eu" ]
kor@jemig.eu
a6ca45275323f2440e95e9be09e07f653e6250ef
f9e4c2e9cd4a95dc228b384e2e8abadc9f1b0bda
/fratevents/settings.py
22d7c2df522fd15d68bce7043a05c6b6fa4c9fe0
[]
no_license
sanchitbareja/fratevents
227adddd77c9a0055ccd74d5e0bf6f771790f8d3
f50c8ccb40b8c9124b40e70d90c9190ef27a2fb7
refs/heads/master
2016-09-06T15:36:45.443412
2013-02-16T21:13:36
2013-02-16T21:13:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,645
py
# Django settings for fratevents project. import os, os.path, social_auth if os.environ.has_key('DATABASE_URL'): DEBUG = True else: DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Sanchit Bareja', 'sanchitbareja@gmail.com'), ) MANAGERS = ADMINS if os.environ.has_key('DATABASE_URL'): import dj_datab...
[ "sanchitbareja@gmail.com" ]
sanchitbareja@gmail.com
0a9382e84f0c116e1aed9e3976dd20cc21d50e62
47e447b0b8e422656d95e6f8707d8e24a4c6fda3
/mainplot.py
108f8dfbc08b9b6edc480e0db5e92ec1f43328bb
[]
no_license
HareshKarnan/TD3
92b2911bbdccda027da670d2854048907ccc2fee
0bf5949f59d4865c685ec6113208a49c63ed455a
refs/heads/master
2023-04-10T20:51:02.648579
2021-04-02T14:45:52
2021-04-02T14:45:52
212,244,108
0
0
null
null
null
null
UTF-8
Python
false
false
4,073
py
import glob import csv import numpy as np import matplotlib.pyplot as plt import random # files = glob.glob('logs/lambda_expts/*') # files = glob.glob('logs/model_free/*') # files = glob.glob('logs/fwd_inv_model/*') files = glob.glob('logs/fwd_model/*') def extract_expt_data(files): data = {} for fileNameful...
[ "haresh.miriyala@gmail.com" ]
haresh.miriyala@gmail.com
bfe99fb243985b17460e1aa571a5d05a72641616
91049acdda426be9c8f22de19500a40e366fef81
/Client/modules/code_execution/code_execution.py
0f9142463a8563cdc1280343d2605234888597f3
[]
no_license
VictorAlonsoCM/Project_RAT
f3e55e9525e05175fa8502fa23f5bfd31ec4957f
01d3079586ab08a92c8e7c9d2d1053710cac7505
refs/heads/master
2020-09-30T02:00:23.395275
2019-12-10T17:01:45
2019-12-10T17:01:45
227,172,602
0
1
null
null
null
null
UTF-8
Python
false
false
2,603
py
import os import re import subprocess from modules.sockets.socket import Network class CodeExecution: def __init__(self, nt): self = self self.nt = nt def dir(self): cmd = "dir" stream = os.popen(cmd) output = stream.readlines() data = '' data = '' ...
[ "vacontrerasmeza@gmail.com" ]
vacontrerasmeza@gmail.com
31fdb70e09d27fcc19feed1b7e8b826a584a5fe3
abf33d1b30906c35a700bb24478efd6eb3979692
/interviewbit/count_number_of_duplicates_in_a_list.py
11ba129d5f086da11bb6f1c030623dcc3d25d934
[]
no_license
soniya-mi/python
ac57c7e3be6bc05241e8af4e8b074e5311390f7d
2a87ceeebb0403468c4fc2522b59573478e10ea4
refs/heads/master
2023-06-26T12:51:53.882774
2023-06-21T04:45:35
2023-06-21T04:45:35
137,060,314
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
list = [10, 20, 30, 20, 20, 30, 40, 50, -20, 60, 60, -20, -20] occur ={} new_list=[] for item in list: count = 1 if item in occur.keys(): count=occur[item] occur[item]=count +1 else: occur[item] = count for key in occur.keys(): if occur[key] > 1: new_list.append(key) p...
[ "noreply@github.com" ]
soniya-mi.noreply@github.com
090f82f82fdc3d02c3bb17c3ee32ed6c85c8c08e
0a25ea42bd8aff27c939b7de9d9a8ea036b0c66f
/thrift/thrift-utils/test/ezpz/__init__.py
6b1fb9fe954c52e463b0d180312d8dccde9dae94
[ "Apache-2.0" ]
permissive
ezbake/ezbake-common-python
118a20e2f88aaa29f95459b6bb163d0a828407d0
fc82fb71852750cc2cfcbd7af0cb6843fad13b89
refs/heads/master
2021-01-01T05:38:30.502302
2015-03-02T20:08:32
2015-03-02T20:08:32
31,560,413
0
2
null
null
null
null
UTF-8
Python
false
false
623
py
# Copyright (C) 2013-2015 Computer Sciences Corporation # # 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 a...
[ "jhastings@42six.com" ]
jhastings@42six.com
5f93b1e2b6d1ad818e179659e266a4b51598a5bb
34092feef434547abc852dfa1802c5f2178fb9ca
/python/searchRange.py
ce594aefa0cd98115b600f4ad02ab2d054772517
[]
no_license
achyudh/leetcode-solutions
c59535650cc42e3b629fa12627aec0768325d2b8
3997b8bfa90a27cf8ccda10cdd34e9db3afebd7a
refs/heads/master
2021-06-26T01:25:38.691813
2020-10-26T00:03:48
2020-10-26T00:03:48
147,906,102
1
0
null
null
null
null
UTF-8
Python
false
false
860
py
class Solution(object): def searchRange(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ if len(nums) == 0: return -1, -1 ptr_u = len(nums) - 1 ptr_l = 0 while ptr_u >= ptr_l: ...
[ "noreply@github.com" ]
achyudh.noreply@github.com
a28b2a3cf60f98bd998c8924c10a1f170376436f
9bc228372e586a1f90bb0685c43e744be9638ecd
/18_정은서/session08/catproject/catproject/asgi.py
ff0fcedfade84d46b53bbf8fe87c19d61c08bf30
[ "MIT" ]
permissive
LikeLionSCH/9th_ASSIGNMENT
3e58862a76e3232aed7e19e8939da23330ff2e22
c211995ad12f404833ffec7fd80e1229b82a3bfa
refs/heads/master
2023-07-03T10:27:11.843177
2021-08-02T14:52:02
2021-08-02T14:52:02
379,633,279
7
18
MIT
2021-08-02T14:52:03
2021-06-23T14:36:59
Python
UTF-8
Python
false
false
397
py
""" ASGI config for catproject project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "em4784@gmail.com" ]
em4784@gmail.com
3aee32793c6ba419d0594d5a9e2bcaa214a87ed3
9edfd50576323ab50517d2694efa7d970a5a487e
/bin/shotgun_pickTask.py
4cd5957d581ff10f1cf674cd3f75846f41f45a3f
[]
no_license
agudmund/util
136de9961c3f1cc86faf183bb5c576c55f73417c
457c8471296de944252fa6f474fea3ac07376d51
refs/heads/master
2023-08-11T00:21:53.795855
2023-07-25T12:00:46
2023-07-25T12:00:46
79,660,992
0
0
null
null
null
null
UTF-8
Python
false
false
3,435
py
#!/usr/bin/env C:/Python27/python.exe import os import sys import random import json import shotgun_api3 SERVER_PATH = os.getenv("SHOTGUN_SERVER_PATH") SCRIPT_USER = os.getenv("SHOTGUN_SCRIPT_USER") SCRIPT_KEY = os.getenv("SHOTGUN_SCRIPT_KEY") sg = shotgun_api3.Shotgun(SERVER_PATH, SCRIPT_USER, SCRIPT_KEY) proj = s...
[ "aevar.gudmundsson@gmail.com" ]
aevar.gudmundsson@gmail.com
3fa07e5008b46020f7867d26769152465c99df3f
07ffe8db66fbd50f87315df34074e20b3ce67f0e
/about/models.py
80a8e89e5bba77662e330b6c74d3a6e0a8d8a48a
[]
no_license
jakiiii/jtro-ecommerce
9acc6d37797e409a79921358958e50d66f20a0b4
e6e5ae04c7756e99f862634ad21f1d3877b501ab
refs/heads/master
2023-01-22T09:44:47.891286
2020-12-01T23:32:19
2020-12-01T23:32:19
316,202,084
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from django.db import models from ckeditor_uploader.fields import RichTextUploadingField from jtro_ecommerce.utils import upload_image_path class About(models.Model): title = models.CharField(max_length=150) image = models.ImageField(upload_to=upload_image_path, null=True, blank=True) description = Rich...
[ "me.jaki@outlook.com" ]
me.jaki@outlook.com
039e3c3ed7b402181e322dec3cbb5fe416969706
486e486ffea2feb8601cad443d86854a77e1f390
/todoapp/todos/feeds.py
aefdded24c2f6b902f1669d3f127f7e7a54d7e8d
[]
no_license
saikirananumalla/todoapp
ddfbea6b983d1d22e17f6ab2772e18ce26aa387a
71aab46c277bdd1f72e0ec5c115f6656ff3a6551
refs/heads/master
2020-04-09T17:21:05.972821
2018-12-05T07:55:25
2018-12-05T07:55:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
from django.contrib.syndication.views import Feed from django.core.urlresolvers import reverse from .models import Users from . import views class LatestEntryField(Feed): title = " Updates " link = "/news-sites/" description = "Updates on Users" def items(self): return Users.objects.order_by (...
[ "noreply@github.com" ]
saikirananumalla.noreply@github.com
c66fb03d7a1a952c8183b3246618837ac0c1a7f5
9e0cec9c4a4d080dc41a3e1b2bdc92b45be56e15
/legacy/autoMNIfilesAnalysis.py
bf308600d33f26f2cf111634a7db9c2426beb8e0
[]
no_license
FabianRei/neuro_detect
373e42cbcd0a6b53d06c23edd14ef51cc4d9ee7d
2ea3558617d742d6f22f00256daf9220221589d2
refs/heads/master
2020-04-04T11:41:53.427101
2018-12-21T17:51:47
2018-12-21T17:51:47
155,901,128
0
1
null
2018-12-21T00:55:47
2018-11-02T17:38:34
Python
UTF-8
Python
false
false
4,090
py
import numpy as np import pickle import torch from src.data.preprocess import getTensorList_general import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from skimage.measure import block_reduce from scipy.ndimage import zoom from dipy.reconst.dti import fractional_anisotropy clas...
[ "f.abi.an@gmx.de" ]
f.abi.an@gmx.de
bd4c1df790a65e3af952ca5f291241677dd3a7c6
e02cdc2908ea54bfe1232ccb4c515bb355372320
/eventex/urls.py
451b393b79f77411e24635476b72ed952943c818
[]
no_license
iveinbox/wttd
3924a2f73ccee7f43edc44bcd3920d27c27404d2
0ad64a5814fa59ed9877123592a6b5fd65c64c69
refs/heads/master
2019-07-16T13:05:56.778667
2017-11-05T04:06:55
2017-11-05T04:06:55
93,279,371
0
1
null
2017-06-05T15:12:35
2017-06-03T23:35:15
CSS
UTF-8
Python
false
false
847
py
"""eventex URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "iveelaureane@gmail.com" ]
iveelaureane@gmail.com
d165d12587bb3716d7a0ae23d765ebc98ee1ba39
7bcba33e06f1fff4b2639aed5c556a79b7a51269
/plot_graph2.py
c98f32a462f19b57135d4b42d60cac094112522b
[]
no_license
guroosh/CS7IS2-AI-project
3798d32c60754b27ab044d1a1096f6527660ec56
aae851695a022d374c263bd666fa86a20c478887
refs/heads/master
2020-12-31T10:47:06.545624
2020-04-13T08:16:30
2020-04-13T08:16:30
239,007,884
1
4
null
null
null
null
UTF-8
Python
false
false
1,764
py
import matplotlib.pyplot as plt from scipy.ndimage.filters import gaussian_filter1d # x = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35] # y = [0.0, 0.0, 0.0, 0.0, 0.0, 0.10294117647058823, 0.6617647058823529, 0.59375, 2.6029411764705883, 4...
[ "csingh@tcd.ie" ]
csingh@tcd.ie
925f9662216aa18534707e210800d7309b084bd3
dd1b9eaf9e996444f2995220df93f7213133490d
/account/migrations/0001_initial.py
de37dde6d2e51cd2b1f37b2e175d8169816a843f
[]
no_license
4k45hv3rm4/login_system
69961f0b81c1e315b2db69588af31eff9d7f6a43
a07bd08a3cccd6231a253c69e920cbea528081af
refs/heads/master
2023-01-10T02:26:50.021694
2020-11-16T13:34:27
2020-11-16T13:34:27
313,309,582
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
# Generated by Django 3.0.8 on 2020-07-15 11:36 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Account', fields=[ ('id', models.AutoField(...
[ "4k45hr0ck5007@gmail.com" ]
4k45hr0ck5007@gmail.com
351c87c5d812181e22737f15be126ece632a8f45
682b3381751b6178ea7217c723a46bf74b8ce07e
/experiments/fmeasure.py
32298f834b052829b4760cf36c14c435f43a7686
[]
no_license
jminyu/BackgroundSubtraction_by_GBRBM
7170bb2c04328274a6e671592a7856e363438f7c
6fada0925d674b66933a4440f157832b97ba3bab
refs/heads/master
2021-01-10T20:59:06.938073
2014-07-26T03:00:23
2014-07-26T03:00:23
22,276,707
2
3
null
null
null
null
UTF-8
Python
false
false
2,297
py
from numpy import * import os.path import Image import matplotlib.pylab as plt def f_measure(f, fg,gt): fg_pixgt = where(gt == 1) bg_pixgt = where(gt == 0) fg_pixfg = where(fg == 1) bg_pixfg = where(fg == 0) tp = (where(gt[fg_pixgt] == fg[fg_pixgt]))[0] fp = (where(gt[fg_pixgt] != fg[fg_pix...
[ "jmyu@gist.ac.kr" ]
jmyu@gist.ac.kr
2953bbb2ca4922a469834aebbec2753d820c24e7
5aeaa94117ad5f3ac86f83795e05e9444dfce586
/scratch.py
c2b0809c86ea77328bd0bb6ea65ee63610c849d8
[]
no_license
rikkhill/sfcrime
debef1b232db35ad735c8badec360bc5e9f1ad95
f21fe834da07f701f666198089425e59ed57e70d
refs/heads/master
2021-01-21T03:31:05.410424
2016-08-23T13:38:49
2016-08-23T13:38:49
49,992,165
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
# Rikk's exploratory gubbins import pandas as pd import helper.data as hd import helper.plot as plot import helper.constants as C df = hd.get_training_data() total = len(df) # Filter for the top ~80%% of crimes df = df[df.Category.isin([ #'LARCENY/THEFT', # 19.92% ...
[ "rikk@unashamedly.co.uk" ]
rikk@unashamedly.co.uk
bab376dab409e28cbb1e3490bf25c95372117cd9
7a724badef6a881d63d7692de6a7b94daaf820be
/user.py
133f826c760765de1c14e75acb3678cb4361f23d
[]
no_license
mirshahzad/python-basic
aa19641140e10e6be88944c81c927410ffc23759
1552be46b5890c9976fad43dba007410396ad92a
refs/heads/master
2022-10-24T18:13:58.938338
2020-06-13T09:14:12
2020-06-13T09:14:12
255,885,892
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
user_0 = { 'username': 'efermi', 'first': 'enrico', 'last': 'fermi', } for key, value in user_0.items(): print(f"\nKey: {key}") print(f"value: {value}")
[ "noreply@github.com" ]
mirshahzad.noreply@github.com
021379ed8268f90ad89ad129bff6fa13ecc6d24f
7c131f19c3a3ae1ee8832ff68a8dd88e68e4d3d8
/filter_mobilisations.py
3827c8a12f9092a369e6a67bf2e36dffa856e3d6
[]
no_license
isildirik/London_Fire_Station_Closures
42abbaa94462144ac1ccbeba398d038bf51e1322
bcce10265923fdfeca7fd293712c822e59a95f83
refs/heads/master
2021-07-12T19:25:38.210866
2020-06-24T07:17:35
2020-06-24T07:17:35
168,384,656
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
#!/usr/bin/env python3 # This script reads london fire brigade mobilisations data from original data spreadsheet. # Filters out the unnecessary columns and subsets the dataset to 2013 and 2014 years and outputs a csv file for further use. import pandas as pd import time xls_path = './original-dataset/LFB Mobilisation ...
[ "isildirik@gmail.com" ]
isildirik@gmail.com
03668cd8657241fcab646595058f80c9f4125756
c3aad901e32f735625f938b4c26cdfa307254a6b
/biothings_explorer/api_preprocess/reasoner.py
b89e427492a7a016d9355ed1ccfbe18fd59cd9d8
[ "Apache-2.0" ]
permissive
andrewgcodes/biothings_explorer
73c598fae2171e8b61687325fa1c1ee1a625fbe1
b54aa195bbed19ff5be09ed24dee869b24bb3c16
refs/heads/master
2022-12-23T18:06:34.061346
2022-08-18T20:23:17
2022-08-18T20:23:17
279,000,723
0
0
Apache-2.0
2020-07-12T05:49:16
2020-07-12T05:49:15
null
UTF-8
Python
false
false
939
py
from itertools import groupby def restructure_reasoner_response(json_doc): """Restructure the API output from reasoner API. :param: json_doc: json output from reasoner API """ edges = json_doc['knowledge_graph']['edges'] if not edges: return {} res = {} edges = sorted(edges, key=la...
[ "kevinxin@scripps.edu" ]
kevinxin@scripps.edu
47c78acbdccd77b171655ae99a43265f89f41011
30898ff2de7b05412caf60a23c1f5b53ff35ffd9
/Script.py
b5f7417f84d0251ff6028eb21361ea507a4a02fb
[]
no_license
niravshah2705/DynamoDB_to_Athena
f106b773dd92008e5e5288cdb49fe16cec97ed1a
902d3d92b3a3c0c30b2c1630d024f98424977d4b
refs/heads/master
2020-04-08T19:26:12.273525
2018-12-02T03:59:12
2018-12-02T03:59:12
159,655,315
1
0
null
null
null
null
UTF-8
Python
false
false
4,925
py
import sys import ast from awsglue.transforms import * from awsglue.utils import getResolvedOptions from pyspark.context import SparkContext from awsglue.context import GlueContext from awsglue.job import Job ## @params: [JOB_NAME] args = getResolvedOptions(sys.argv, ['JOB_NAME','sourcedb','destinationdb','sourcetable...
[ "noreply@github.com" ]
niravshah2705.noreply@github.com
6c350abf42358535fd248b6ad5fdb1c201305ee1
1dcde4f75d6b5abb115924a8f3b5989b6fbe2dee
/app/game.py
5b47ab94c64ce1b84557b462d71012b6190ae918
[ "MIT" ]
permissive
skrolikowski/PyBox
0561a0f9bdae70d7f110a92f5b928dbd14a8f779
d79c5229df69f21767a4db15ebe05b91bba3dc8d
refs/heads/master
2020-03-19T09:17:15.810828
2018-09-08T18:07:47
2018-09-08T18:07:47
136,274,877
0
0
null
null
null
null
UTF-8
Python
false
false
2,979
py
from .registry import Registry from .window import GameWindow class Game: registry = Registry() @classmethod def load(cls, func): cls.registry.add_command("load", func) return func @classmethod def update(cls, func): cls.registry.add_command("update", func) return...
[ "skrolikowski@gmail.com" ]
skrolikowski@gmail.com
09b2477e4532e1781c1726117b833d2dd74a2098
c91a9f70e19c25bb8839172ba0733ae90a64c504
/apps/core/urls.py
e8b4cf1ad85f022d8cdb6681eb2fbc03154d7733
[]
no_license
barbarakap19/gestao_rh
464ffb0fb031e91ffef9a40df448ff44998a5fb2
e2ed295cba055759bd0a9325adf6da9106c58c06
refs/heads/master
2020-06-14T20:47:46.471310
2019-07-23T03:32:42
2019-07-23T03:32:42
195,121,768
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
from django.urls import path from .views import home urlpatterns = [ path('', home, name='home'), ]
[ "barbara.andrade1901@gmail.com" ]
barbara.andrade1901@gmail.com
046ae5d3523c40583815218388fe2c2f3b49b05b
df0903d95faa22bd37ea661ba706776d384ab0bd
/scripts/propagate/merger.py
4892333b046c16ea3904661db9531c0ea8556cce
[]
no_license
tschmorleiz/simman
50ce0cbf7f6695a09fa45a6dcd8c655ba9febb63
c589b1a9fc429ee33e46e730253a42bd10fa95b3
refs/heads/master
2016-09-06T12:05:59.870641
2015-02-16T11:48:38
2015-02-16T11:48:38
30,798,863
0
0
null
null
null
null
UTF-8
Python
false
false
19,625
py
#!/usr/bin/python -O ################################################################################ ################################################################################ # # State-Based Text Merging Algorithm # For 6.033 Design Project 2 # TA: Katherine Fang # 9 May 2012 # # Stephan Boyer # Ami Patel # ...
[ "tschmorleiz@googlemail.com" ]
tschmorleiz@googlemail.com
b3df07ddba1420150bae25cb281f8f6d17c8c060
49b66aad7e8888b8da532d66dac65c5a4e75ceb8
/pickel/newssort_loader.py
369b3997ccd4d712af714b4e2fe05bf84a5d977a
[]
no_license
praneetmehta/news_segregator
7e606057b687dc97a69031e804c5704816b1c4bc
3be70c007b85559af8c371b815d3122bc2f26ba9
refs/heads/master
2021-01-19T23:49:30.571651
2017-07-25T23:44:06
2017-07-25T23:44:06
83,790,066
2
0
null
null
null
null
UTF-8
Python
false
false
497
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Mar 3 20:07:49 2017 @author: praneet """ import pickle import re def correct(s): s = re.sub('\s\W',' ',s) s = re.sub('\W\s',' ',s) s = re.sub("[^a-zA-Z']",' ', s) s = re.sub('\s+',' ',s) return s vect...
[ "praneet.mehta@gmail.com" ]
praneet.mehta@gmail.com
4c0ca93db88c706bef26591396d38085e7953adf
5e95f3cb251b0a4ed750ef37955f05854e1498eb
/test/python/index.py
c6de635a94fe7d39d9a1b1ac751279a719de0584
[]
no_license
davidenq/prime
48214b2fc0509c81a3ca026311652c17c95dac16
d65e7048216fceb4221bcf07b062929ce3e91a72
refs/heads/master
2022-12-10T01:43:44.769602
2020-07-19T01:37:30
2020-07-19T01:37:30
280,770,805
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
from cffi import FFI ffi = FFI() lib = ffi.dlopn('../../build/libprime.so')
[ "david.nunez.dev@gmail.com" ]
david.nunez.dev@gmail.com
bd98415fac9fcd5c2df10970fb49b10c06aabbdf
125cd1609acc13b0f5d953b7ff0faed7c177eb81
/core/middlewares.py
e44439059857b530dc2179ef7e71ce36ebb1e121
[]
no_license
anibalvf/DjangoWeb
6e0a7d356b691fec4a9200f2e645e66cbb57371a
0aa3c6528e5d2bbc305b76faf0c2fca4b88801aa
refs/heads/main
2023-02-06T19:25:39.520929
2020-12-30T05:16:50
2020-12-30T05:16:50
325,130,522
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
from django.core.exceptions import PermissionDenied def simple_middleware(get_response): # One-time configuration and initialization. def middleware(request): # Code to be executed for each request before # the view (and later middleware) are called if not request.user.is_superuser: ...
[ "33007157+anibalvf@users.noreply.github.com" ]
33007157+anibalvf@users.noreply.github.com
6f267f19b412e85da602cd830f9cae1e0f449d29
c0990bc7a4fbc2875e2de8998d274b2e70b91ab3
/lingvo/jax/layers/stochastics_test.py
70ffe9917042bf183f1fc0e5792422d75cca1692
[ "Apache-2.0" ]
permissive
Assimilationstheorie/lingvo
fa5159dd4201b4469398ff2ef004334773ed3642
dd175517894f7ef541262603e1225341ec3fbb51
refs/heads/master
2023-08-27T18:41:31.691814
2021-10-24T21:47:29
2021-10-24T21:48:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,847
py
# Lint as: python3 # Copyright 2021 The TensorFlow Authors. 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 ...
[ "shafey@google.com" ]
shafey@google.com
0ca3fb72d679efdb72ddfcd757f6f86a4bc25998
3a4975bc5256d0c92e04b943d1eeb81b9ce89640
/allPossibleCombination.py
6bc8ffc2db7441bf1e57d244ff71f0f06abe4732
[]
no_license
Priyankajoshipj/DataStructuresAndAlgorithms
edf6c09f4a994341dda2973aef3761c042df36cc
513a78b95546b89c74acbcc6691e84c4f0bc4f20
refs/heads/master
2020-06-27T14:04:23.144829
2019-09-18T04:39:11
2019-09-18T04:39:11
199,972,227
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
def allPossibleCombination(s): n = len(s) if n <2: return n out = set() def rec_comb_helper(s, i, out): if i == len(s) - 1: return ["", s[i]] one = rec_comb_helper(s, i+1, out) for com in one: if s[i] not in com: com1 = s[i] + com out.add(com1) out.add(com) return list(out) allp = re...
[ "33767244+Priyankajoshipj@users.noreply.github.com" ]
33767244+Priyankajoshipj@users.noreply.github.com
57839fbdaf39ce151f280eecf2ac06516ded4c83
0123229ac84c057b188f6b17c1131ec630ecaf25
/stochastic_gradient_descent/test_sire_offset/offset_fix_phiandpsi/extract_frcmod.py
4598f60b3d2efdd919bfb1c52e5dd461d50b8d9e
[]
no_license
michellab/paramfit-tests
689851ab95406aad7160403c4a70d3ec6be91981
39598e93936beff48aefff1604483fd265a5f46a
refs/heads/master
2021-01-13T05:47:23.287857
2017-04-24T10:58:21
2017-04-24T10:58:21
76,249,680
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
from parmed.amber import * import parmed import os base = AmberParm("orig.prmtop", "fit.rst7") parmed.tools.writeFrcmod(base,"test.frcmod").execute() frcmod_file = open("test.frcmod","r").readlines() for fr in frcmod_file: if "C -N -CT-C " in fr: # this is phi print("value of Phi") print(fr) ...
[ "stefanobosisio1@gmail.com" ]
stefanobosisio1@gmail.com
a56f746654c8cc821dca0132fe96988a4192a627
83cf20e7d181eac59dd0c3b1d5b7e095807fb6e0
/maintain/move/some_test.py
8d8776898e0137851dba8f01d1e3de0bbd871b52
[]
no_license
ys3721/release_update_tools
b96fb272103e245fdf4273763c5f9b29e75e1529
4fd76ce05e793c3163a208830eee18b5f986ac73
refs/heads/master
2022-06-27T05:12:07.158151
2021-11-30T08:36:53
2021-11-30T08:36:53
178,325,294
2
2
null
2021-04-26T20:35:39
2019-03-29T03:24:35
Python
UTF-8
Python
false
false
328
py
#! /usr/bin/python # -*-coding=utf8-*- # @Auther: Yao Shuai import os import subprocess sql_name = os.system("sshpass -p 321 ssh root@10.10.6.14 ls /data0/src/s1145_*") print "os.system.result=" + str(sql_name) result = os.popen("sshpass -p 321 ssh root@10.10.6.14 ls /data0/src/s1145_*").readline() print ...
[ "ys3721@hotmail.com" ]
ys3721@hotmail.com
f42908edf55755571fd62a4c3989c96f7da5a3b2
0def7d63d694908d4fa5422631d86b61a31b3e8b
/module/HaiGuan/Python_PJ/YDMPython3.py
30a42ed3662dc6a1fa9512916af7ed9a4046d096
[]
no_license
921016124/Spiders
45fffb5a48ecce2c2754187d2f9b6c9caf1f3eaf
e2a3f3f59657974940801de8bc2bbb1a416af55b
refs/heads/master
2022-12-13T10:59:42.375979
2020-09-14T09:02:13
2020-09-14T09:02:13
191,732,013
0
1
null
null
null
null
GB18030
Python
false
false
819
py
# -*- coding: cp936 -*- import os import sys from ctypes import * class PJ: def Po_Jie(self): print('>>>正在初始化...') YDMApi = windll.LoadLibrary('yundamaAPI-x64') appId = 7931 appKey = b'07e97c69ff9cd82a854d636ae1c1cb5e' print('软件ID:%d\r\n软件密钥:%s' % (appId, appKey)) username = b'machengguang' password =...
[ "921016124@qq.com" ]
921016124@qq.com
a7a23ce0dca0223e330d4f53312a3a2dcdd5b5e2
00540adf5d4e1be80b3edca5f60f298497eddef0
/expression_analysis.py
f767375bce05d8fe1368a3bff3ea33932a27efc0
[]
no_license
smetroid/expression_analysis
4fe274302f29a12689d97872dbc659d734c236f1
445a73b7fb2be0e153f6e25666f4be14cf1ae3a4
refs/heads/master
2020-03-27T11:02:57.525089
2018-11-09T04:19:53
2018-11-09T04:21:04
146,461,705
0
0
null
null
null
null
UTF-8
Python
false
false
9,747
py
#!/usr/bin/python import sqlite3, csv, re import sys def createDBs(conn): interproscan7_table = "create table interproscan7(trinity, random1, random2, sites, code1, description1, start, stop, evalue, random3, date, code2, description2, goterms, reactome)" expression_counts_table = "create table expression...
[ "enriquegc1982@gmail.com" ]
enriquegc1982@gmail.com
48096466ced3cec7b5b5429e2b83fb56cd6edfd4
a5b9ca98802358af0ad2698696cd0a145379c4dc
/python_俄罗斯方块/game/src/gameState.py
b4ba0d9cdda27a4e1c960b3834c2c69d3f73e197
[]
no_license
young-yang/InitialTemptation
dea09f89007f50317b611568a784e0d524e3cfe2
79a6fad172076e412dde6a36527f1adf2132cffb
refs/heads/master
2021-01-22T21:53:46.879485
2018-07-24T16:36:37
2018-07-24T16:36:37
85,488,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
# -*- coding: UTF-8 -*- import random from settings import * from piece import Piece from gameWall import GameWall import pygame class GameState(): def __init__(self,screen): self.screen = screen self.wall = GameWall(screen) self.piece = None self.timer_interval = TIMER_INTERVAL ...
[ "314235034@qq.com" ]
314235034@qq.com
298e2aa7b8a6a78750a2be2b758d445d10b343ae
b4826ec1ca1f71401cad7dcfe4c7f7573223ffc5
/assignment6/submission/solution.py
dda3cb4842026a8976b5fcc2a86a6f95531cd331
[]
no_license
deepmodh1996/Artificial-Intelligence-Lab
01d5240127198e85ddcd853379343c44ad0d481e
cf945095cf599e291116b61784b109f868418ae3
refs/heads/master
2021-01-11T18:25:53.871827
2017-06-17T05:22:10
2017-06-17T05:22:10
79,544,323
0
0
null
null
null
null
UTF-8
Python
false
false
1,302
py
import sys filename = sys.argv[1] # print filename f = open(filename,'r') MDP = f.read().replace('\n','\t').split('\t') MDP = [x for x in MDP if x] # print MDP S = int(MDP[0]) A = int(MDP[1]) # print S # print A r = 2 R = [[[0 for x in range(S)] for y in range(A)] for z in range(S)] for i in range(0, S): for j in r...
[ "deepmodh1996@gmail.com" ]
deepmodh1996@gmail.com
35a457296554b87038a7ebfa03198c4b1c60e697
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/effects/VoodooAura2.py
852b91918310ef820ba576e0b80105d5ea24b395
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
4,226
py
# File: V (Python 2.4) from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particles from direct.particles import ForceGroup from otp.otpbase import OTPRender from PooledEffect import PooledEffect from EffectController ...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
8941c5b291ec2762adfe11384e1d783e5e747927
b5ff404bda572f32b8f3a28025c6e76ed381d504
/Ali/forms.py
79fbab94a165611df8f85ee32aac656c08c35a39
[]
no_license
Daechulbae/56chul
d5366e4ea7a43e329435da082f98503dd1a7c0f2
aef1028568057264c998a915240256065e776830
refs/heads/master
2018-10-29T18:30:47.901769
2018-08-23T07:12:25
2018-08-23T07:12:25
124,995,760
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from django import forms class actionForm(forms.Form): texbox = forms.CharField(max_length=10)
[ "eocjf17@gmail.com" ]
eocjf17@gmail.com
aafc7c42fc0bc0c36abc57d07eba7f7d396a0646
0db5a9cf6be1e08accb24151982fe297287af158
/test2/main.py
58a2620a0238e11ca745e00ea22d128bb975a8b8
[]
no_license
Robinsondssantos/fastapi-test
a30a14bfaa93bbd6aef4c3758f1be5c426927d39
7bab2cdbef6344d4c9c817a33fe6e63fd0861d1e
refs/heads/master
2022-12-16T12:20:11.359535
2020-09-29T19:20:39
2020-09-29T19:20:39
296,133,546
0
1
null
null
null
null
UTF-8
Python
false
false
1,274
py
# from sqlalchemy import create_engine # from sqlalchemy.ext.declarative import declarative_base # from sqlalchemy.orm import sessionmaker import json import psycopg2 from typing import Optional from fastapi import FastAPI # SQLALCHEMY_DATABASE_URL = 'postgresql://postgres:password@localhost:5432/books' # engine =...
[ "robinsonsantos@localhost.localdomain" ]
robinsonsantos@localhost.localdomain
947031afacd28cc7dd21f3fba36625e6915693d7
15fa13fad9a05a51843c3ed6cf1f8afbb33aae66
/examples/reference/arc/arc.pde
b443a2ddb54118463bb6c09c57edbe0b4a5eb328
[]
no_license
kazimuth/python-mode-processing
4ad39f18c9637206fa7c691ac328baae0fc21b1a
e6274f89e0464b771870327a56ce01bff629e0fb
refs/heads/master
2021-01-22T05:27:44.912530
2014-04-22T17:20:15
2014-04-22T17:20:15
10,946,779
4
0
null
2013-12-31T01:23:52
2013-06-25T18:40:55
Java
UTF-8
Python
false
false
149
pde
arc(50, 55, 50, 50, 0, PI/2) noFill() arc(50, 55, 60, 60, PI/2, PI) arc(50, 55, 70, 70, PI, TWO_PI-PI/2) arc(50, 55, 80, 80, TWO_PI-PI/2, TWO_PI)
[ "martin_p@lineone.net" ]
martin_p@lineone.net
19f57d01e4d553b3bab39e996318902932a5bef7
19631688a8be0e390f25a915f634a76c9a3d4fa3
/ABC108/B_rined_square.py
1adcdf28210c801eb65f6cbd8748a2b5afd49091
[]
no_license
tsurusekazuki/AtCoder-practice
7141fd74f6a876c9f3e65a1dca400ef4c153bca8
e9538157b6a63f43300c6693e9c5deadaa4d5d2a
refs/heads/master
2020-05-02T02:57:14.180926
2019-04-28T10:00:49
2019-04-28T10:00:49
177,715,718
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
a, b, c, d = map(int, input().split()) x = c - a y = d - b print(c-y, d+x, a-y, b+x)
[ "b1714935@planet.kanazawa-it.ac.jp" ]
b1714935@planet.kanazawa-it.ac.jp
f67e1e6de3d56e55471bc879166edec1c32ba813
8da79aedfb20c9798de0f4db4c5d85929a32f82b
/boo/columns.py
200ff1a19478b1dd373b0d3bbfd9b11bfc79fc79
[ "MIT" ]
permissive
nasingfaund/boo
a94e941ca8d3251fbb320c2e2f63e439f7ef4d59
96d08857abd790bc44f48256e7be7da130543a84
refs/heads/master
2023-07-01T00:33:33.085311
2021-08-03T21:23:03
2021-08-03T21:23:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,429
py
"""Преобразование сырых названий столбцов в названия переменных. Описания полей отчетности можно посмотреть например в: http://info.avtovaz.ru/files/avtovaz_ras_fs_2012_rus_secured.pdf Более подробно о публикуемой форме отчетности: http://www.consultant.ru/document/cons_doc_LAW_103394/b990bf4a13bd23fda86e0bba50c462a1...
[ "e.pogrebnyak@gmail.com" ]
e.pogrebnyak@gmail.com
14c5cd9b73325b3972cb62a0961b995040c5e757
c36d980ba59de3a562a878f185bad628078ea279
/Mundo_2_Python/estrutura_for/desafio_53.py
f00fb7eac2b231297a400abccb2d112bd91e8d87
[ "MIT" ]
permissive
tamyrds/Exercicios-Python
d79f295acec4204293a076842598832f7d42e6c6
73bd8ea49e74db88b39c4f20dfe058a4805c0567
refs/heads/main
2023-04-11T21:40:15.446784
2021-05-11T02:12:34
2021-05-11T02:12:34
363,760,074
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
frase = str(input('Digite uma frase: ')) palavra = frase.split() junto = ''.join(palavra) inverso = '' for letra in range(len(junto) - 1,-1,-1): inverso += junto[letra] print(junto,inverso) if inverso == junto: print('Temos um palindromo') else: print('A frase digitada não é um palindromo')
[ "78001437+tamyrds@users.noreply.github.com" ]
78001437+tamyrds@users.noreply.github.com
b27851062a7ab359e902306b8840e240f1c7031a
2473096eef0a4c19d73494616562612e5fe8d85f
/chapters/04_machine_learning_basics/linear_regression_graph.py
ebf439242c9279c49239c3b3ccc6476a85c33556
[]
no_license
barmi/tensorflowbook
85e38fa6575efc0df08f4f62af5c6eff68d9860a
b2d8bd6c612786c89f7b94aefd545bfbe4943c8d
refs/heads/master
2021-01-22T12:38:36.253253
2017-10-12T11:51:33
2017-10-12T11:51:33
102,354,484
0
0
null
2017-09-04T11:31:35
2017-09-04T11:31:35
null
UTF-8
Python
false
false
2,124
py
# Linear regression example in TF. import tensorflow as tf import numpy as np def inference(X): return tf.add(tf.matmul(X, W, name='W_mul_X'), b, name='inference') def evaluate(sess): print(sess.run(inference([[80., 25.]]))) # ~ 303 print(sess.run(inference([[65., 25.]]))) # ~ 256 # weight_age x_data...
[ "skshin@nbreds.com" ]
skshin@nbreds.com
f771322752f5feab04cb77f3b2f35d3026f3513f
8aa3069cd4840fd216b917187a9c96bd7d3e2367
/Exercícios/binomiofatorial.py
424d1e4b8b3bb4389d4000032efe0357afec0102
[]
no_license
rafaelsaidbc/USP
b10a28f958a1af5670fe48061f7b0c8b9db5d5d0
8c077f392fccd814380ea0e1b5ec228a54d4f779
refs/heads/master
2020-03-24T00:41:12.718523
2018-07-25T18:31:47
2018-07-25T18:31:47
142,302,564
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
def fatorial(n): fat = 1 #variavel fat recebe o valor 1, porque 1 eh um valor nulo em uma multiplicacao while(n > 1): #enquanto n for maior que 1, o laço (while) continua executando fat = fat * n #multiplica fat por n n = n - 1 #atualiza o n subtraindo 1 return fat #finalzia o while e atuali...
[ "rafaelsaidbc@yahoo.com.br" ]
rafaelsaidbc@yahoo.com.br
1f0baac7e207e96a1df522f360dbc91a273ce68e
d4bad471feefc230441ff2bbb2c312b50c96d554
/chapter_code/chapter32_Spark_AI/HorovodEstimator.py
36243e6c0f91c166e37312e6b7640cb19d773c1b
[]
no_license
limiaoiao/code-of-spark-big-data-business-trilogy
6d69b1c6cf4b91ec12c65b9e4c64b0034f679d79
6bb7aa6c0209c8e20c5c1d7a191162635ecd658b
refs/heads/master
2022-12-29T05:47:53.133212
2020-08-16T12:38:34
2020-08-16T12:38:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,356
py
# Databricks notebook source import numpy as np import tensorflow as tf import horovod.tensorflow as hvd from pyspark.sql.types import * from pyspark.sql.functions import rand, when from sparkdl.estimators.horovod_estimator.estimator import HorovodEstimator # COMMAND ---------- # Load MNIST dataset, with images rep...
[ "noreply@github.com" ]
limiaoiao.noreply@github.com
bda639d9da4402bab567f7414ee6b727da5e4aa0
2b7b5628f199bca51ff916b81140794ee2f79edd
/Array/array_reverse.py
0bb4dd7f925eb88352441b11a1509c9346815905
[]
no_license
Koilada-Rao-au16/DSA_Solver
9d01cdc72bf8602926a1824ba8dc739924b62406
6db2d9b855b0bf7ee6dfb5e5bcf50f4969534fc6
refs/heads/main
2023-04-06T03:26:47.902446
2021-04-12T10:07:56
2021-04-12T10:07:56
348,692,423
1
0
null
null
null
null
UTF-8
Python
false
false
432
py
# Iterative python program to reverse an array def reverseList(self): print(self[::-1]) self = [1,2,3,4,5] print(self) print("reverse list is ") reverseList(self) # method 2 def reverseList(A,start,end): if start >= end: return A[start],A[end] = A[end],A[start] reverseList(A, start+1 , end...
[ "bhaskar9.koilada@gmail.com" ]
bhaskar9.koilada@gmail.com
5a4e2fd6d664cb94196906be84cc66e9eb31eac7
95807bb74dd42332d094d4de5564f3b4f460adbb
/Python 101/indexing_and_slicing.py
0b01b489434ada6e2e55ee779ab27e723d07c172
[ "MIT" ]
permissive
projetosparalelos/The-Complete-Python-Course-including-Django-Web-Framework
92442cfa16609016f714bbc4af91782859c7a646
402b35d4739ed91e50d6c3380cab6f085a46c52b
refs/heads/main
2023-05-12T01:20:41.299572
2021-06-03T07:56:56
2021-06-03T07:56:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
lst = ['one', 'two', 'three', 'four', 'five'] # 0 1 2 3 4 print(lst[-2::]) # b = True # print(b[0]) course = "Python 101" print(course[5])
[ "noreply@github.com" ]
projetosparalelos.noreply@github.com
d3bba560b1a63f14196f8ac1f02e0fc94bd6ac84
c5873c616d60d51ddc0a2388dce3c69ee0332d96
/poker_project/settings/base.py
1ab88949cbc4e7687010c5a66291d865059adfc6
[]
no_license
dmongey101/texas-hold-em
4e915acc6326cd07463e7b5160e870556a69a689
9e3481d8fed77b0f80c8740f5946505e9ead4a6e
refs/heads/master
2022-12-12T23:04:30.665901
2022-10-24T17:56:32
2022-10-24T17:56:32
158,427,569
3
1
null
2022-12-08T01:28:49
2018-11-20T17:30:48
HTML
UTF-8
Python
false
false
3,459
py
""" Django settings for ecommerce_project project. Generated by 'django-admin startproject' using Django 2.0.8. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ im...
[ "donalmongey@gmail.com" ]
donalmongey@gmail.com
efa8b8921a7754cc8ad6ddb8d8d7f7bae7ff52b6
4c9ea189dac171be81ef2d72c2bbc7541e93e0a4
/credit_risk.py
b0cfd2a010acf81e76f5f09a18948982a7ac03d6
[]
no_license
Ayush19443/Credit-risk
dc44a388afe2f378c8fe71df86aa216c42985149
cbb2aed96e93217a11d9b379318f678e524fb809
refs/heads/master
2022-12-02T19:51:26.785161
2020-08-15T11:49:10
2020-08-15T11:49:10
287,735,727
0
0
null
null
null
null
UTF-8
Python
false
false
3,582
py
#%% from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score import pandas as pd import numpy as np import warnings import time import sys import os DeprecationWarning('ignore') warnings.filterwarnings('ignore',message="don't have warning") #%% from sklearn.tree ...
[ "noreply@github.com" ]
Ayush19443.noreply@github.com
bd8fcf8cfabbf0d617f23ee7dd8b9d937d3551d1
7be178ac527253028a5d3009bac33d2e7e9533cd
/alphabet.py
ed7eda8cf9f8a6508fa0fb5a336a328d5f56c609
[]
no_license
mrajeshraj/guvi
27f745ea7a24ba8ecb465d2cbc1373dedef7a776
275cf24f1f1fe11571cec88c12b64bb80ad4c93a
refs/heads/master
2020-05-25T23:02:11.526682
2019-06-17T17:05:33
2019-06-17T17:05:33
188,025,966
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
ch=input() if(ch=='a' or ch=='b' or ch=='c' or ch=='d'): print("Alphabet") else: print("Not an Alphabet")
[ "noreply@github.com" ]
mrajeshraj.noreply@github.com
0b20a4b796a7b98a278b4bcbbc680c4308972641
35438635c64c8ec1066285f9849bb3634ee46644
/weibo乃万/analyze.py
11fbf4a9ad459c2d9824f995016c70746c68a6bb
[]
no_license
fancccc/code2021
8bbd6e68e1c2587e520daa18a147c48f431a5269
8e85a69bd30092e7337cbfade5c34ec62b7c2ad3
refs/heads/main
2023-04-26T06:27:06.812121
2021-05-13T15:10:22
2021-05-13T15:10:22
367,084,415
0
0
null
null
null
null
UTF-8
Python
false
false
4,339
py
# -*- coding: utf-8 -*- """ Created on Mon May 10 23:27:01 2021 @author: Mario """ import pandas as pd from snownlp import SnowNLP from snownlp import sentiment import random import jieba import imageio from wordcloud import WordCloud,ImageColorGenerator import matplotlib.pyplot as plt from PIL import Image import nu...
[ "workfc@163.com" ]
workfc@163.com
cb840373802f4a2f053aa9b6db014d5a830284dd
404cb0431675327a751f7a6f422f53288a92b85b
/chirp/library/order_test.py
33fccabf573816f97b45246bff10199393e598bb
[ "Apache-2.0" ]
permissive
chirpradio/chirpradio-machine
ade94d7ac9ded65f91e1b3845be408723c0501da
6fea6a87f2eb3cfac2a47831892c9ce02163b03b
refs/heads/master
2023-09-01T02:57:07.749370
2023-08-28T23:57:46
2023-08-28T23:57:46
2,330,078
9
10
Apache-2.0
2018-03-16T01:26:29
2011-09-05T19:10:48
Python
UTF-8
Python
false
false
3,525
py
#!/usr/bin/env python import unittest import mutagen.id3 from chirp.library import order class OrderTest(unittest.TestCase): def test_decode(self): test_cases = (("1", 1, None), (" 6", 6, None), ("006", 6, None), ("1/2", 1, 2), ...
[ "kumar.mcmillan@gmail.com" ]
kumar.mcmillan@gmail.com
775d4e974bbace6a037417248f6885324aebea6a
85764904e918310f9e4a209f64570dcdcf099818
/loutilities/user/roles.py
3df49ee5b5f5d63b1edda6261c2976dbd2e6b5e1
[ "Apache-2.0" ]
permissive
louking/loutilities
05bb20994ae06d2e68989cd6a779c350a9a430ad
aaf7410849d0167001cd5f06ab0dae6563e58ec7
refs/heads/master
2023-07-24T18:32:36.128102
2023-07-15T10:02:43
2023-07-15T10:02:43
5,824,315
2
2
null
2023-05-10T09:59:37
2012-09-15T21:29:29
Python
UTF-8
Python
false
false
3,136
py
########################################################################################### # roles - common location for xtility role declaration # # Date Author Reason # ---- ------ ------ # 03/11/20 Lou King Create # # Copyright 2020 Lou King....
[ "lking@pobox.com" ]
lking@pobox.com
6db98282426351cd2e6b5f2fb0f62ec064600def
a0215172ddf6663916b15cea3879e5b0ebdfddd9
/scripts/yum_pkglist_from_ks.py
797dbaad45ebdaaae277b2bcf954298c6fd09579
[ "Apache-2.0" ]
permissive
perfsonar/toolkit-building
fa502a9ec04ba951a75a82c5b02ae3db69651bca
aca87d58649d3bc95c5b6768bf307702331f2535
refs/heads/master
2022-06-14T03:36:20.681776
2020-10-30T20:05:29
2020-10-30T20:05:29
32,428,947
2
3
null
2016-07-22T12:59:48
2015-03-18T00:43:47
Shell
UTF-8
Python
false
false
4,393
py
######################################################################################### # Name: yum_pkglist_from_ks.py # Usage: python yum_pkglist_from_ks.py [options] kickstart outfile # Description: # This script takes a kickstart file, extracts the package list, and finds all the # dependencies in the dependenc...
[ "andy@es.net" ]
andy@es.net
6137faebb9a642e09f39a277fe0b98ca4709d399
8398421e297b61c345f81005940f01aa79e2bf53
/subwindows/delete_orphans/delete_orphans_creator.py
f1e9c501371625d623e3f3f2f90533ab408fc85d
[]
no_license
fcunhaneto-test/mscollection_qt
e206a90eb8f3a80885d1067648c718f32a6d2057
3ccc26087d503aa833d0725e93f927a86800d7c0
refs/heads/master
2022-11-09T20:16:41.730677
2019-06-15T10:48:58
2019-06-15T10:48:58
166,302,027
0
0
null
null
null
null
UTF-8
Python
false
false
6,376
py
import os from PyQt5.QtCore import Qt from PyQt5.QtGui import QColor, QFont from PyQt5.QtWidgets import QMdiSubWindow, QTableWidget, QWidget, \ QTableWidgetItem, QVBoxLayout, QHBoxLayout, QCheckBox import texts from db.db_model import Creator, SeriesCreator from db.db_settings import Database as DB from lib.funct...
[ "fcunhaneto@gmail.com" ]
fcunhaneto@gmail.com
c4fb0116985e3ace94fc0fe7bbfb80ab7f53d331
7edb6f64afb9a9d5fd2b712faae9841d45c3a3b3
/monkeyAndPerformance/allCode/performanceTest/traffic/traffic.py
9edb99221fc8f0b920e0abebe9a4f074378baddb
[]
no_license
Hanlen520/AppSpecialTest
413babbbecbeaa8e25dd1fd70dd349a1de07eb5e
06f69f116245162220985ad2632fbff3af72450c
refs/heads/master
2023-04-22T19:59:35.523780
2019-08-08T09:48:28
2019-08-08T09:48:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,398
py
import csv,os,time from config.config import * from monkeyAndPerformance.allCode.util.gettimestr import GetTimeStr gettimestr = GetTimeStr() #实例化GetTimeStr #控制类 class Controller(object): def __init__(self): self.counter = RunTrafficCount # 定义测试的次数 #定义收集数据的数组 self.alldata = [("device...
[ "410287958@qq.com" ]
410287958@qq.com
dd3f9af7d6f306b028114ba50b54b6d9a3c66546
eff6be2d99ba83a1080cdacb2094fa6aaec1477c
/.venv/bin/jupyter-troubleshoot
3bbf5b79a436aed52757e87445950d074d852a92
[]
no_license
CFtriksX/Embeded_AI_A1
1b1b5559faf6e7569ba225b71ca60406ccf49a39
d2fc13305293677d2f529ed86ce06f4f7c0afc0d
refs/heads/main
2023-04-13T21:19:43.129144
2021-04-20T17:17:09
2021-04-20T17:17:09
359,892,756
0
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/paulgelas/assignment/assignment1/.venv/bin/python # -*- coding: utf-8 -*- import re import sys from jupyter_core.troubleshoot import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "paulgelas@desktop-c57a2a9.home" ]
paulgelas@desktop-c57a2a9.home
25e372cb14bdc5d7011802d05410d01a864a361a
7f8d2288dc8d81275269bdb8e8f196339a52d30d
/code/1010_solution.py
c14133019520efb5a27564644e2a7e131773bfda
[]
no_license
ishaansharma/leetcode-3
f9cab568c31322e2bf84768264f3c644182cd470
9081dd3ff86409d554b0298a8152ed40a6befa96
refs/heads/master
2023-03-25T15:36:04.235650
2021-03-30T20:15:45
2021-03-30T20:15:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
class Solution: def numPairsDivisibleBy60(self, time: List[int]) -> int: count = 0 seen = [0] * 60 for t in time: count += seen[-t % 60] seen[t % 60] += 1 return count
[ "noreply@github.com" ]
ishaansharma.noreply@github.com
8ff2e48f09e238f0d2399ee7edab5a7d44af8ee2
142122fb03679fe84d54ccae65493416b925fe25
/code/main_classification.py
1104890bc6c75b9d8b475ab8f2a841ee4d69ff00
[]
no_license
mshaikh2/IPMI2021
dce84bf37204a1518b776f1dc50e0b4078e3744f
cb4eb39f707995f5cfc2b54d54ed5d763f508e1e
refs/heads/master
2023-01-28T16:55:06.184132
2020-12-15T02:18:32
2020-12-15T02:18:32
316,624,372
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
from __future__ import print_function from misc.config import Config from dataset_classification import IUDataset, build_dataset from trainer_classification import JoImTeR as trainer import os # import os import sys import time import random import pprint import datetime import dateutil.tz import argparse import nump...
[ "mshaikh2@buffalo.edu" ]
mshaikh2@buffalo.edu
3e637f3de409c402ebe0b44c9d3ce320ed721c64
c7d39fd93d6c616cf6adc005bab9298947c305f6
/library/sns_command.py
c8b876f261a3be3ad63b4cb3089ece8fd7da7cae
[ "Apache-2.0" ]
permissive
mareckis/SNS-tests
810d80612ced7b0dabd7a907c8c5169ba24c0e72
e939c5830067671a217bbf6d878b8ba3481bcd32
refs/heads/master
2023-01-22T04:49:05.179410
2020-12-02T19:55:22
2020-12-02T19:55:22
259,371,654
0
0
null
null
null
null
UTF-8
Python
false
false
9,053
py
#!/usr/bin/python # Copyright: (c) 2018, Stormshield https://www.stormshield.com # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
[ "remi.pauchet@stormshield.eu" ]
remi.pauchet@stormshield.eu
ed52f2978ed7fd109f6361a4a2a3228b37559c87
09f09b393b8c909a22bbb84a21a50e007e35556e
/control.py
d576303e30aa86b271f597b6d2cd13a0a71b4a5d
[]
no_license
Henry-Hwang/audio-tools
abd61a0cf865ebeba3c42c40493efc7d22e35ffe
b19aac94b94577ca1ef0951cbbd4f83ab08ab3d3
refs/heads/master
2020-03-22T21:58:54.831972
2018-08-19T15:48:47
2018-08-19T15:48:47
140,726,006
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
import os import sys import commands import time import argparse import tparser import tinycmd from decimal import Decimal class Codec(object): name = "" def __init__(self): pass def get_codecs(self): cmdstr = "adb shell cat /d/asoc/codecs" print cmdstr result = os.popen(cmdstr) ret = result.read() co...
[ "henry.huang@cirrus.com" ]
henry.huang@cirrus.com
17d4ac7a0625e913523b131d25040cd6fe5c1260
8b64dba83a0f1bedf713faa0dcd96a218c80af08
/app/requirement/migrations/0001_initial.py
d8bd78c43fe4041130960411584382bf4142437c
[]
no_license
chrxr/studyplan-test
818a669dd85e74dd92393c5d006e2446c16f83b1
791b9400302d61f65cc37e9f3912cbcc9d4c041f
refs/heads/main
2023-02-27T02:45:55.565870
2021-01-29T13:35:21
2021-01-29T13:35:21
329,410,529
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
# Generated by Django 3.1.5 on 2021-01-13 19:33 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Requirement', fields=[ ('id', models.AutoFi...
[ "chrxr@outlook.com" ]
chrxr@outlook.com
6cf223258093e6753c9230a394a1b18bb4ec23de
6f7474a0e586e5aba19fef5ad1d02ba35f596cc7
/exam_16_26/p_know_19.py
0edd5f5feb8290f12cac42036535c777ba7c2003
[]
no_license
dainioska/python-opencv
690b71bf843d9e486a3a7152fe733e97720e86ff
12c2baa67a9b462448233a1569b9d43fef60e139
refs/heads/main
2023-04-01T16:23:27.588108
2021-04-15T15:54:03
2021-04-15T15:54:03
343,664,442
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
#matplotlib filtering import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('samples/smarties.png') img = cv2.cvtColor(img,cv2.COLOR_BGR2RGB) titles = ['image'] images = [img] for i in range(1): plt.subplot(1, 1, i+1), plt.imshow(images[i], 'gray') plt.title(titles[i]) plt...
[ "dainioshka@gmail.com" ]
dainioshka@gmail.com
b8d7b70e9e7650a1684d15ecd33a819b51bcfc93
9a425f153816cd206451876b8da570a9446d76c4
/reservations/admin.py
0a1968bae83ee5649193989b193a5268f3beb9cb
[]
no_license
salhi100/airbnb-clone-2
cea837f8dd24ab4e634ff7e2f0ce474581313642
685477bedc6fed18e40fb53febf22e4393796f4f
refs/heads/master
2023-01-31T11:31:37.190244
2020-01-09T04:53:35
2020-01-09T04:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
500
py
from django.contrib import admin from . import models @admin.register(models.Reservation) class ReservationAdmin(admin.ModelAdmin): """ Reservation Admin Definition """ list_display = ( "room", "status", "check_in", "check_out", "guest", "in_progress", ...
[ "53186618+hanulbom@users.noreply.github.com" ]
53186618+hanulbom@users.noreply.github.com
cc27af1c9bbe4c95be19d7ed9110de8cba144d7d
ad21a8962f2e375cffbfb5cd3e228357c145d95e
/isbn_calculator/test_isbn_calculator.py
1593f0195b8330a811f9753947b3a4ec74792b33
[]
no_license
sabrown89/python-practice-problems
2301c93486ec1c04ded562c635090eb1f4705c94
678dcc04f8b1e481b8d4d8a5d4633a9a6d434ead
refs/heads/master
2022-11-22T02:55:58.808825
2021-08-11T16:12:34
2021-08-11T16:12:34
117,746,775
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
import hiker def test_remove_hyphens_and_spaces(): douglas = hiker.Hiker('978-0-13- 149505- 0') assert douglas.isbn == '9780131495050' def test_isbn_is_thirteen_digits(): douglas = hiker.Hiker('978-0-13- 149505- 0') assert douglas._isbn_is_correct_number_of_digits() is True def test_isbn_is_correct...
[ "scottabrown89@gmial.com" ]
scottabrown89@gmial.com
4f188c997813865f09a503591890d02c54d164c7
3db0c85f582dafd3b6c16543275953a2e22f1276
/graph.py
b186c22bf45d1d61126a1859b4493c139b526f10
[ "MIT" ]
permissive
BartMassey/nb-misc
005ee943f962a05a6c340f8109792dd00b1de077
ec8f6fdba200fcb4816e170c1517899f1c03db04
refs/heads/master
2021-01-01T16:40:34.234512
2014-09-02T18:46:19
2014-09-02T18:46:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
487
py
# Copyright © 2014 Bart Massey # Markable graph node class. class Node(object): def __init__(self, label): self.label = label self.marked = False def clear_mark(self): self.marked = False def set_mark(self): self.marked = True def is_marked(self): return self....
[ "bart@cs.pdx.edu" ]
bart@cs.pdx.edu
55d9f6399b04b0ce86ed81f5a3b8c384235039dd
02be54b8a9ab6813274ae18feb428d0d1405b0b0
/products/widgets.py
85945a02257c7670ba7e55d443f81a90674423f4
[]
no_license
paulloy/msp4-brazen-mma
8ee98e2f2b12a4a24b14d30c1456233b02457dcd
33a430d6c81bb44525469bcee1beaee7c92b3f58
refs/heads/master
2023-03-27T13:29:12.825997
2021-03-31T03:30:46
2021-03-31T03:30:46
341,317,874
1
1
null
null
null
null
UTF-8
Python
false
false
362
py
from django.forms.widgets import ClearableFileInput from django.utils.translation import gettext_lazy as _ class CustomClearableFileInput(ClearableFileInput): clear_checkbox_label = ('Remove') initial_text = ('Current Image') input_text = _('') template_name = 'products/custom_widget_templates' + \ ...
[ "paulloy020896@gmail.com" ]
paulloy020896@gmail.com
3862e819cf78b3797b247c2104e6c3624d5586fa
d1c4ea86a7148ceb4068c27ba6b51cedd3abd46f
/Natural_Language_Process/Lab1/src/utils/pre-treat.py
f7a50c81777b0241b55c07249f9ac23ecc78e9cc
[]
no_license
zirui-HIT/HIT_Lab
dfbf756e7951e4bf65ad96b561f6fb0c5d88dc59
e74550450d7b7362bd873a613f28208401a26c45
refs/heads/main
2023-06-05T14:00:09.423997
2021-07-02T06:34:38
2021-07-02T06:34:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,247
py
from copy import deepcopy def simplify_data(data_path: str, save_path: str): target = open(save_path, 'w') with open(data_path) as f: for line in f: words = line.split() for i in range(len(words)): target.write((words[i].split('/'))[0].strip('[').strip(']') + ...
[ "WDZRMPCBIT@163.com" ]
WDZRMPCBIT@163.com
d510b163bd7b37d3020df5d1bb6e1dca90b0d1ce
a879480e8ecff79be624df9d6f67d49c90448672
/src/webjob/log_history_manager.py
9f707cf56282b0a3f5e56c856d3672d1066cd71b
[]
no_license
fortesinformatica/SIGA
49299696e5de14a1e4fa8e31ef5d8529e2711ded
2b2473c7880becf4f47ea36925f09660379e5eb8
refs/heads/master
2022-07-27T16:56:10.499679
2019-06-17T13:22:18
2019-06-17T13:22:18
192,342,983
1
1
null
2021-03-25T22:41:08
2019-06-17T12:30:18
Python
UTF-8
Python
false
false
815
py
""" LogHistoryManager ===== Prover 1. Gerenciamento da quantidade de log mantidos no historico 2. Remoção dos log mais antigos Como usar Adicione este script como um WebJob Triggered no Azure App Service "siga-api" com a seguinte expressão CRON: 0 0 0 * * * """ import os import sys sys.path.appen...
[ "ronaldox2@gmail.com" ]
ronaldox2@gmail.com
88919fdc89c292d3a1afd47cf1b67122a3121bdf
4957dd5d3583552f1ebc06f8125c10753383e81c
/protocols/Plate_Cells_Trough/Plate_Cells_Trough_2017-10-25.ot1.py
70480af1f758312124889a18e41a44ccae577152
[]
no_license
glebkuznetsov/Protocols
4072eb4bb1bf18e9324fa3bada953b0655db2f4d
0e3e9b03f1616c695f9e8e843dc5f9e3a59d1619
refs/heads/master
2020-03-27T05:43:11.285730
2018-05-23T21:33:58
2018-05-23T21:33:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
from opentrons import containers, instruments trough = containers.load('trough-12row', 'A1') trash = containers.load('trash-box', 'B1') tiprack = containers.load('tiprack-200ul', 'C1') plate1 = containers.load('96-deep-well', 'D1') plate2 = containers.load('96-deep-well', 'E1') plate3 = containers.load('96-deep-wel...
[ "laura@opentrons.com" ]
laura@opentrons.com
f576f6b14129bdf18f73c27796621f6de5c53ec6
9613fbaea6fab62623b3c8f11d205a28a959c2c3
/25-刘杰-北京/第七周/ransac_manual.py
c57ea23fe2f2d42e96a83457a4947a7ca551a7d6
[]
no_license
strongerfly/badou-Turing
4eeae21a5ebf1fdd4df1ffe1156958f3fa939473
3262f01ccc64e4cbf66be2fd43ec437eb80c8663
refs/heads/main
2023-07-25T21:09:38.696925
2021-09-06T14:09:53
2021-09-06T14:09:53
378,666,594
1
0
null
2021-06-20T14:34:54
2021-06-20T14:34:54
null
UTF-8
Python
false
false
2,572
py
#!/usr/bin/python # -*- coding: utf-8 -*- ''' @Project :badou-Turing @File :ransac_manual.py @Author :luigi @Date :2021/8/2 下午4:02 ''' import numpy as np import matplotlib.pyplot as plt class liner(): """定义线性类""" # 通过最小二乘法拟合线性关系 def fit(self, data): x = data[0] y = data[1] ...
[ "86213076+luigide2020@users.noreply.github.com" ]
86213076+luigide2020@users.noreply.github.com
6346b5baf6d9b590f6b07edcd2f1fef680b4fe6f
32263e1e50b90ce7049661f85f515ae8b3f11120
/answer4.py
1ee21b24c5a4b68915a24f9f4b3a7c5b16233a2a
[]
no_license
harshitahluwalia7895/Thread_and_Processes
7e926f211c75d5d700be28b29da77fb5e1b48182
3e7ad17b7ea2056b124e5bfd082f2ab39ce09552
refs/heads/master
2020-03-19T06:44:48.014423
2018-06-04T16:18:27
2018-06-04T16:18:27
136,051,164
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from threading import * import time import math class abc(Thread): def run(self): m = int(input('Enter the Number to be Factorial:')) print('The factorial of {} is '.format(m),math.factorial(m)) t=abc() t.start()
[ "harshit.ahluwalia7895889924@gmail.com" ]
harshit.ahluwalia7895889924@gmail.com
c383a0ab8b68f0818c9f72c933f6d128dad4b8a6
3de707e3e7f3fcbf46700e1bf8d6c394a71410a2
/augpathlib/remotes.py
bc67fd0ba4611b6910d60347b5944246e289d464
[ "MIT" ]
permissive
tmsincomb/augpathlib
984f1c8418e7e8eaa5675a3c209cbd745cdee3e7
ed9c0edff540741fca866780a3d043a3b7644f08
refs/heads/master
2022-11-17T12:03:13.852433
2020-06-29T10:10:23
2020-06-29T10:10:23
276,260,552
0
0
MIT
2020-07-01T02:47:31
2020-07-01T02:47:30
null
UTF-8
Python
false
false
33,457
py
import os import sys import atexit import pathlib import warnings import subprocess from augpathlib import exceptions as exc from augpathlib.meta import PathMeta from augpathlib import caches, LocalPath from augpathlib.utils import _bind_sysid_, StatResult, cypher_command_lookup, log if os.name != 'nt': # pexpect o...
[ "tgbugs@gmail.com" ]
tgbugs@gmail.com
09c0fefdd010970f39b250148bf0b0160b5f65a1
a00fdfc743262d3d9253bab1f2e8b10f99f013ee
/Bambu/bambuToNero.py
88f058034181c1d5bdb4ff97c5bcf43358b2fc8b
[]
no_license
pdoming/NeroProducer
2a97101002c626d7f23f3c80e1abfaacc5c81968
8082361fa0a05c83cc6c6aacb1bdd5de24f65115
refs/heads/master
2021-01-15T17:35:58.814592
2015-07-25T16:50:39
2015-07-25T16:50:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,400
py
from MitAna.TreeMod.bambu import mithep, analysis import os mitdata = os.environ['MIT_DATA'] from MitPhysics.Mods.GoodPVFilterMod import goodPVFilterMod from MitPhysics.Mods.JetCorrectionMod import jetCorrectionMod from MitPhysics.Mods.JetIdMod import jetIdMod from MitPhysics.Mods.MetCorrectionMod import metCorrectio...
[ "yiiyama@mit.edu" ]
yiiyama@mit.edu
ecc82156cf415769d849cd147b8a00a30b5f94b0
28cb13c23d37ea87d57eae173d85692df8cf4a87
/lab9_i_10/backend/todos/migrations/0001_initial.py
a8df615cf957eda7058e18ec8573d20d050894da
[]
no_license
jeremi420/aplikacje-internetowe-21686-185ic
e25ad1912a53242be5e7e7d46d6192bc59de9578
a08c937fadcbe9986b4bb2c5f0a3a768ee6d7e96
refs/heads/main
2023-03-07T10:18:24.601142
2021-02-16T23:44:40
2021-02-16T23:44:40
311,286,151
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
# Generated by Django 3.1.5 on 2021-01-17 19:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Todo', fields=[ ('id', models.AutoField(aut...
[ "jerwier420@gmail.com" ]
jerwier420@gmail.com
7d32ccc1b8c31ca35bf202a233e4f3f95ec0f4cc
23239bbcca2fe6dc2b14688063b7f75abdc0e29d
/QuoteEngine/TextIngestor.py
46fbd256e017acec8e388625f83aafe6be85321f
[]
no_license
luke-fs/udacity_meme_generator
1d110aedbfbb203f9a071bc28daa51b576a64fc6
30c9cc5c9ea8fa5cb76a78dc66a651e2ef231712
refs/heads/main
2023-03-30T04:27:14.174334
2021-04-04T14:41:10
2021-04-04T14:41:10
353,123,922
0
0
null
2021-04-04T14:41:10
2021-03-30T19:51:19
HTML
UTF-8
Python
false
false
872
py
from typing import List import subprocess import os from .IngestorInterface import IngestorInterface from .QuoteModel import QuoteModel class TextIngestor(IngestorInterface): """The TXT Ingestor Class, to ingestor TXT quotes Args: IngestorInterface: This class inherits from Interface """ al...
[ "luke.strauer1@googlemail.com" ]
luke.strauer1@googlemail.com
e8b3288c3110b8995c15af8e6e5b8b9a674bc56d
3d4d6dc268e605f81c280d94cdf16d7633313a15
/app/app.py
998ea2648ab00a7a7fb927656282f36feeed4e18
[]
no_license
mcadhoc/Flask-AppBuilder-Skeleton
6e0e4d78b0aee11c7632442e7f9dfd0a45d371f2
e840fd3db6e065cf87e7c1333aea26292080f3fc
refs/heads/master
2020-06-20T07:21:56.102240
2019-07-16T19:17:42
2019-07-16T19:17:42
197,040,763
0
0
null
2019-07-16T19:17:43
2019-07-15T17:09:54
Python
UTF-8
Python
false
false
1,493
py
from flask import Flask, render_template, redirect, url_for,request from flask import make_response app = Flask(__name__) @app.route("/") def home(): return "hi" @app.route("/index") def index(): return render_template('login.html', message='') url = 'https://www.foxnews.com/politics/aoc-squad-news-conferenc...
[ "yottzumm@gmail.com" ]
yottzumm@gmail.com
3dc58c5a41c2665912c4b9f79f021b245d79b4cb
c76585f0e1a8cc35018bb11c6c01733fa2226df3
/predictor-service/settings.py
b65c225a235d823d45160bfc596d9bff87c25056
[ "MIT", "Apache-2.0" ]
permissive
akvelon/Bitcoin-Transaction-Optimization
9e8099b3ae64612bbaf95603e470763b22da9c5e
d5a9eb4322370b81721023daf8dd0eef0d3189a8
refs/heads/master
2023-06-08T18:28:03.464518
2023-05-29T16:10:41
2023-05-29T16:10:41
173,724,819
8
1
Apache-2.0
2022-11-21T22:18:54
2019-03-04T10:35:27
Jupyter Notebook
UTF-8
Python
false
false
949
py
""" Copyright 2019 Akvelon Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
[ "sergey.kubasov@akvelon.com" ]
sergey.kubasov@akvelon.com
6e61a410a9a7f1971524fc55c3bfdf11aa95a064
ceba110faf303886894c256739c759842d0f36e7
/mymoney/core/tests/test_validators.py
b31f4512e412d79bf186b3732ec103b5037e1679
[ "BSD-3-Clause" ]
permissive
dss2194/mymoney-server
2ded0eec3a6fe31df0a25161d09002778ec76e47
40dc9fdd08b3561287a9153342b25c58de8ad8ce
refs/heads/master
2022-03-06T13:21:06.482583
2018-09-06T12:23:56
2018-09-09T10:33:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
from django.test import TestCase from rest_framework import serializers from ..validators import MinMaxValidator class MinMaxValidatorTestCase(TestCase): def test_no_min(self): validator = MinMaxValidator(field_min='min', field_max='max') validator(data={'max': 10}) def test_no_max(self): ...
[ "yannick.chabbert@gmail.com" ]
yannick.chabbert@gmail.com
29faaabb15279e3864e8a6f022d909da552617c5
edab5b4487eb5619d717acd64a988930ba069b4a
/src/pool/colors.py
8304ae2b4540b5142d4580d8f6ef6aa2acb40fe2
[]
no_license
18-500-b9/pool-simulator
e7a9313a567834797dfe5e0796796c202bc86650
e2efd5a9b8d70cebf8cb670fc8a587851a909e14
refs/heads/master
2020-04-21T03:04:41.149379
2019-03-21T13:55:38
2019-03-21T13:55:38
169,274,104
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" RGB color values for PyGame """ AQUA = (0, 255, 255) BLACK = (0, 0, 0) BLUE = (0, 0, 255) FUCHSIA = (255, 0, 255) GRAY = (128, 128, 128) GREEN = (0, 128, 0) LIME = (0, 255, 0) MAROON = (128, 0, 0) NAVY_BLUE = (0, 0, 128) OLIVE = (128, 128, 0) PURPLE = (128, 0, 128) RED = (255, 0, 0) SILVER = (192, 192, 192) TEAL =...
[ "samuelkim523@gmail.com" ]
samuelkim523@gmail.com
c8ad214213403b0a248e5896f4ef5208e2cff18b
bb0ba7523f3ea5adf18acb5fe82bdfdc7423c9c9
/Final_App/basic_calculation.py
c96bae878c1babe3fdb118535ca1a27c3ef8899b
[]
no_license
MairisLV/Final_Project
a899ea363301198088da7b8c90d9cca3c12b03aa
d94c6753650665764e518cd5196404206e90ee18
refs/heads/main
2023-04-28T07:21:12.423801
2021-05-11T20:09:12
2021-05-11T20:09:12
366,501,594
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
class Calculate_Loan(): def __init__(self, loan_amount, term, interest_rate): self.loan_amount = loan_amount self.term = term self.interest_rate = interest_rate def interest(self): # S=K(1+i)^n for period in range(int(self.term)): total = fl...
[ "mairis.baumanis@gmail.com" ]
mairis.baumanis@gmail.com