blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
4c5e296aa7cd413d37554e01f65388753100d7e0
6a78933bab79ddb45092010246c34810c2c9acfc
/trunk/modules/python/dataset/hdf5.py
4bb3a57528882c73e6528e346536d56257deb5aa
[ "MIT" ]
permissive
yamadaNano/playbox
5ac98ca90c0beb35e9845ba323c97fe7a734d858
31ba5a11301e2dd345fd3b64e559ca9901890b3a
refs/heads/master
2020-12-24T10:55:16.504019
2016-11-04T18:14:51
2016-11-04T18:14:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,225
py
import h5py def createHDF5Unlabeled (outputFile, trainDataShape, trainDataDtype, trainMaxShape=None, log=None) : '''Utility to create the HDF5 file and return the handles. This allows users to fill out the buffers in a memory conscious manner. outputFile : Name of the...
[ "micah.bojrab@mdaus.com" ]
micah.bojrab@mdaus.com
72caec1e57d85a6bf4b606a5228254cf3c680874
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_179/ch25_2020_03_23_14_36_52_247565.py
b77b247db72eeb75a6603e8b3a253feeebcab017
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
import math g = 9.8 def calcula_distancia (velocidade, angulo): angulo_radianos = math.degrees(angulo) distancia = (velocidade**2 * math.sin(2*angulo_radianos))/g return distancia if distancia < 98: print ('Muito perto') elif distancia > 102: print ('Muito longe') else: print ('Acertou!')
[ "you@example.com" ]
you@example.com
553f3a3d1f1ae0c200e965ab8b316854da0f69b9
91191339a1f9731bb7d1bd646a363db5e9812fab
/Task6.py
a765df91993fa43732d3a6e731c395513ca0add9
[]
no_license
Hedin555/Python
3432ecd3a0aa0d22bbd47054eec29c7765622489
856dde8ce2d0292c83737cb0a2d8395d85fef670
refs/heads/main
2023-01-24T16:52:20.271802
2020-11-22T16:45:24
2020-11-22T16:45:24
315,083,881
0
0
null
2020-11-22T17:33:43
2020-11-22T16:40:08
Python
UTF-8
Python
false
false
375
py
a = int(input('Введите начальную дистанцию, пробегаемую спортсменом в день: ')) b = int(input('Введите требуемое расстояние: ')) day = 1 while a < b: a = a * 1.1 day = day + 1 print(f'Спортсмен добъется необходимого результата на {day} день')
[ "qmkonstantin@gmail.com" ]
qmkonstantin@gmail.com
03004024534da0e57bfd5e600e5e287e7ef641d6
0c21b60518e4e96ff1a68cf551eeb59d42be8b8a
/rango/migrations/0001_initial.py
dcf5def48ada10100b093e3a575d30849b304681
[]
no_license
mzeeshanid/pythonlearning-userauth
522bd56f7163757c38bb49ce1c6ccaebc8101544
2ecba2599c4f319d9607e5384b8aef7185bdfc90
refs/heads/master
2021-01-01T03:40:08.521769
2016-06-03T13:02:48
2016-06-03T13:02:48
58,745,008
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-13 04:51 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migration...
[ "mzeeshanid@yahoo.com" ]
mzeeshanid@yahoo.com
deb6dc985d28ad6b65b35a345c03761e49dc5c24
3709dfa23b42dc4a9a89199490b8533963f8c534
/splat/advanced_splat.py
d377a4f51e02f4cbc908523069f979e8b643def0
[ "Apache-2.0" ]
permissive
boltanalytics/splat
8e4723fcc67d62c216c286c32e899a817b578290
a44434ce336e6ffc6340ff55407413c0886e7d1f
refs/heads/main
2023-01-30T11:11:24.949655
2020-12-07T14:30:03
2020-12-07T14:30:03
315,811,952
0
0
null
null
null
null
UTF-8
Python
false
false
11,789
py
from math import isnan from os import stat from splunklib.client import connect import click import json import numpy as np import os import pandas as pd import re import shlex import splunklib.client as client import splunklib.results as results import time import warnings # command_line_args = {} # logging.basicCo...
[ "tejas.kale@cumulus-systems.com" ]
tejas.kale@cumulus-systems.com
6a20c6b46f1956d64bcd5fc20261bb7af697a8eb
6679ab23bf4f0100eb07cf13be21a8c1b1ae4c1f
/Python_Team_Notes/구현/input_alpha_to_num.py
817176213e5896f5d99570aae3099f7501ab5271
[]
no_license
gimquokka/problem-solving
1c77e0ad1828fa93ebba360dcf774e38e157d7b6
f3c661241d3e41adee330d19db3a66e20d23cf50
refs/heads/master
2023-06-28T10:19:07.230366
2021-07-29T11:29:26
2021-07-29T11:29:26
365,461,737
4
0
null
null
null
null
UTF-8
Python
false
false
131
py
# a ~ z를 입력으로 받아 숫자로 전환 char = input() # ord 함수 이용 num = int(ord(char)) - int(ord('a')) print(num)
[ "gimquokka@gmail.com" ]
gimquokka@gmail.com
8c5ed0a6b6e6053c544a2a177a5da87e2fbad4ef
da0f3a46bd09ab32ce16ea46912ccb24900a887c
/LUIS-mendoza/ej_fibonacci.py
00182aa800577e69a05b346f35fe2bdf9adf2140
[]
no_license
1109israel/AprendiendoGit
ea275a145390c169f987280b5d934eb14d9026f8
f366a4555153376876a337e9b246110fdaa87795
refs/heads/master
2020-03-21T04:13:00.584488
2018-07-25T22:43:21
2018-07-25T22:43:21
138,097,310
2
2
null
null
null
null
UTF-8
Python
false
false
1,252
py
ar = open("fibonacci.txt","a") def fibonacci_or(lim): a= 0 b = 1 c = 0 cont = 2 print(a,b,end = ' ') ar.write('%s'%a+"\t") ar.write('%s'%b+"\t") while cont < lim: c = a + b a = b b = c print(c, end = ' ') cont += 1 ar.write('%s'%c+"\t"...
[ "luisito250899@gmail.com" ]
luisito250899@gmail.com
751255d530780137e0285d8df5447aef573973a3
85469c44c38853752fe4d68abf57f6163dc1bd14
/application/admin/admin_routes.py
c060569b272856032adf00c00ead1bf88ebe657a
[]
no_license
betfund/betfund-webapp
a1cab76b1ce510ab16722c0a08c017ed551729a9
3d4784fb7696867d55383a5ea3ee869fdcff8776
refs/heads/master
2021-05-18T05:39:49.530796
2020-03-29T21:58:42
2020-03-29T21:58:42
251,140,323
0
0
null
2020-04-10T06:17:49
2020-03-29T21:39:59
Python
UTF-8
Python
false
false
761
py
from flask import Blueprint, jsonify from application.models import User from flask_login import login_required admin_bp = Blueprint('admin_bp', __name__, template_folder='templates') @admin_bp.route('/admin', methods=['GET', 'POST']) @login_required def admin(): """ Admin end point. TODO :: This DEFIN...
[ "mitchbregs@gmail.com" ]
mitchbregs@gmail.com
84fd947eeb59b2e53824d13d01685f9a5049699f
d9cf44ed3e734ce27d7d6d8ca0d95654a27d76d6
/src/annotation/GenericReadTest.py
142cf2f6f3025f5b48116f0c223c5964347254c5
[]
no_license
skill-lang/pythonTest
87d273fc018302fc18e207b4744a559d98ace2f0
2891d6bee891d9885701c9ce1afbb62767b8b455
refs/heads/master
2020-07-02T07:47:47.377793
2019-08-09T12:20:55
2019-08-09T12:20:55
201,461,971
0
0
null
null
null
null
UTF-8
Python
false
false
5,307
py
import unittest from tempfile import TemporaryFile from python.src.annotation.api import * from python.src.common.CommonTest import CommonTest class GenericReadTest(unittest.TestCase, CommonTest): """ Tests the file reading capabilities. """ def read(self, s): return SkillFile.open("../../../...
[ "feldentm@informatik.uni-stuttgart.de" ]
feldentm@informatik.uni-stuttgart.de
1e47736427d5b29ddbed8c696b895ae76e78410d
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-vm-migration/samples/generated_samples/vmmigration_v1_generated_vm_migration_finalize_migration_async.py
9725b31782e691f5713fa20467e00eb66fe54fa1
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,993
py
# -*- coding: utf-8 -*- # Copyright 2023 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" ]
googleapis.noreply@github.com
73821d45b2e81c6381e427248500318d56b21d72
5f4e13201d4c5b7edc8dbbda289380682a187bec
/dltc/coffeehouse_dltc/__init__.py
e05637a846b663221e3778d66f0804fd27c8bfc0
[]
no_license
intellivoid/CoffeeHousePy
92f4fb344de757837c3d3da05cb5513e90408039
57c453625239f28da88b88ddd0ae5f1ecdd4de3c
refs/heads/master
2023-02-23T14:32:01.606630
2021-01-28T02:57:10
2021-01-28T02:57:10
324,419,067
0
2
null
null
null
null
UTF-8
Python
false
false
317
py
from . import main from .main import * from . import config from .config import * from . import utils from .utils import * from . import base from .base import * from . import chmodel from .chmodel import * from . import nn from .nn import * __all__ = ['main', 'base', 'chmodel', 'nn', 'DLTC']
[ "netkas@intellivoid.net" ]
netkas@intellivoid.net
166b11993b083285167131c9da62538a39942a29
ad53026bc745c328a3dc49a13b3f9b8d64d4dbdb
/Moniter.py
eb7b06b332ab6420a923cb79b78f787ce08f2109
[]
no_license
ykozxy/EngradeHelper
2af473b2b7ec17e264f33e1dd9b030920a713edb
5178b5801a298fcbbd3f858ad2cac54662faf6a6
refs/heads/master
2020-04-17T03:52:43.479741
2019-04-16T12:15:08
2019-04-16T12:15:08
166,204,214
3
0
null
null
null
null
UTF-8
Python
false
false
14,975
py
import errno import json import logging import os import pickle import platform import random import subprocess import sys import time import traceback from datetime import datetime, timedelta from subprocess import PIPE from typing import List, Dict, Union import selenium from selenium import webdriver from selenium....
[ "32444891+ykozxy@users.noreply.github.com" ]
32444891+ykozxy@users.noreply.github.com
c98ac5620ffbd99f16e637d08b518f76f5ff669f
edaa42987b34a97b91de60f4cec98cf3f552e91c
/train_graph_classifier.py
70c8ca7a015b3f40c0c7df059a5544dfcb9a9c7a
[]
no_license
PriyankaChakraborti/Benchmarking-movie-posters-with-transfer-and-bandit-learning
2ec55a64c3c0cf8a387e02a12f5bcefbd92ce2d8
578dcf2ed29a10284d680a469fc2049301d59b90
refs/heads/master
2021-08-04T02:35:32.070264
2020-12-21T22:49:05
2020-12-21T22:49:05
229,343,216
0
0
null
2020-12-21T22:49:06
2019-12-20T22:07:38
Python
UTF-8
Python
false
false
13,641
py
# Import Modules from keras.models import load_model, Model from keras import optimizers import numpy as np import tensorflow as tf from tensorflow.keras import backend as K import pickle import pandas as pd from sklearn.model_selection import GridSearchCV from sklearn.metrics import make_scorer from sklearn.ensemble ...
[ "priyanka.chakraborti@huskers.unl.edu" ]
priyanka.chakraborti@huskers.unl.edu
d1b7d022400ba00ee4fce89919dee52215244a92
e064a58ff63212ead8df1683aaa9e44f44be3058
/integration-tests/tests/entity_last_read_date_tests.py
142f617056ba8c127ac3e9e64b94a5a39460fea2
[ "Apache-2.0" ]
permissive
kkasravi/atk
09cc7cba05abbcf0bd4c3eaae7dbccef7d02c7e8
65c3180ee33b752567c72c333f0cc8a8efc27816
refs/heads/master
2020-12-28T23:23:06.922418
2015-10-22T22:48:14
2015-10-22T22:48:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,632
py
# # Copyright (c) 2015 Intel 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 applicable law or agreed to...
[ "briton.barker@intel.com" ]
briton.barker@intel.com
7fd7a01d4607f5455302f773014b401914bae6c2
a85ddbac6ce4e7738ccd4b37b2c6279559a14e0c
/verification_types/migrations/0003_auto_20210117_2358.py
4da53b9ad4b5629e3551d236f0a1524c56de816b
[]
no_license
Fire2Bear/url_monitor
644781b74653402672dc2b38219ecb6034f0c400
546fc49be6f7943b29ef4d1ca2fe6893c31bb7b0
refs/heads/master
2023-02-26T18:39:41.635307
2021-02-03T14:52:29
2021-02-03T14:52:29
330,383,462
1
0
null
null
null
null
UTF-8
Python
false
false
505
py
# Generated by Django 3.1.3 on 2021-01-17 22:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('verification_types', '0002_verificationtype_code'), ] operations = [ migrations.AlterField( model_name='verificationtype', ...
[ "nicolas.jousset@etudiant.univ-rennes1.fr" ]
nicolas.jousset@etudiant.univ-rennes1.fr
dfa2627f80936e2cfdd5cdba073341bfc8db39ee
65bad08af9e76c1adbdfd9d5447621c713d4e483
/studay_sele/__init__.py
84c8ae7085de930eafff8406caf0cb2f69b69e8a
[]
no_license
jinsm01/changlumanman
c74bbd7f1d80bdca40076722265213a94f2dc691
0afe5f01d4ed31e9dba1611eed8dae3a24884635
refs/heads/master
2022-07-21T23:58:15.525735
2020-05-18T03:07:07
2020-05-18T03:07:07
262,966,453
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/5/13 17:22 # @Author :labixiaoxin # @File : __init__.py.py
[ "61052379+jinsm01@users.noreply.github.com" ]
61052379+jinsm01@users.noreply.github.com
ec316d01099ea1bc5877dcde7de1cce9a20f69a5
5cafda777e72d0d637597567c6ea773be071475c
/misc/echo_server.py
8d1c972c643c0bba71e71fd711a1326645857580
[]
no_license
skyris/web_tech_stepik
8a73c6231d689981531cb3c970ae348ac7ceebb2
7906fd8891a1b48a0aa716c7e514677f2cac1480
refs/heads/master
2020-07-23T10:35:48.793013
2016-11-20T23:20:24
2016-11-20T23:20:24
73,810,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,659
py
#! /usr/bin/env python import socket def receive(sock, msglen): msg = "" while len(msg) < msglen: chunk = sock.recv(msglen - len(msg)) print(repr(chunk)) if chunk == "": print("chao") raise RuntimeError("broken") if chunk in ["close", "close\n", "close\r...
[ "4klimov@gmail.com" ]
4klimov@gmail.com
e0a7b3ae1374ca144770517141e8db9a5a0dd8f4
7c990eb27315940b28bd4cb5bca5dcab038987ef
/cmake-build-debug/catkin_generated/generate_cached_setup.py
6b9c78be84ddf0c8b1f45c400131fbf7d4aa7132
[]
no_license
zhangtygs/ros-yolov5
70e4fb0f8a0066a23ddc6538629a9f801ba9bea5
a108806682dcefb51cddceb30c49c8e15d04a5c3
refs/heads/master
2023-03-28T05:47:25.918738
2021-03-27T07:37:38
2021-03-27T07:37:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
# -*- coding: utf-8 -*- from __future__ import print_function 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/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "706545330@qq.com" ]
706545330@qq.com
f1852c7da40eb5c08990351bb1c5c7ea3197c233
7bfcb91f95d20f1199d54f91c9a095df08b44d83
/Backup/Django_Youtube/WebBanHang/user/models.py
b2d82ecc75ed2668b3c7dbb54babf9acbad04250
[]
no_license
llduyll10/backup
bcb09eb632dd0858d515aacb7132d913da4dc24c
8849d812566977f9a379d38ee1daa2ef42c02c7f
refs/heads/master
2023-02-28T11:22:23.831040
2021-02-01T17:09:55
2021-02-01T17:09:55
335,006,700
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from django.db import models from django.contrib.auth.models import AbstractUser # Create your models here. class CustomerUser(AbstractUser): phone_number = models.CharField(default='', max_length=15) address = models.CharField(default='', max_length=255)
[ "llduyll10@gmail.com" ]
llduyll10@gmail.com
12397dba9aa20dfa6ddc202d2645785817557c92
a3038ca9afae4ab5a6c3426e91374a37a9c0a581
/.venv/lib/python3.6/fnmatch.py
52114f17c96460f02d6dd447121e52fb804f9a87
[]
no_license
kgmour/webservice-pycon
f88e79e2cf338a35e0ba6a49801170c5c2249313
004027f08443c26cef32b31a90b6a71cd843f026
refs/heads/master
2020-03-16T19:21:28.998960
2018-05-10T14:36:06
2018-05-10T14:36:06
132,912,086
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
/Users/kevinmouritsen/.pyenv/versions/3.6.1/lib/python3.6/fnmatch.py
[ "kgmour@gmail.com" ]
kgmour@gmail.com
7eb3e34af4c94f5c6476f267de752ba66437517a
1b4baa4f2ceee7f9e22be2c9ecdd5ed7470317cb
/marks.py
ea51f41abd5754a7cb44aa8a76c0cac3c9547cd1
[]
no_license
bnprk/pybegin
5cac1dd098e8202e2574d4030560185d8517933b
38ca59a31257e2000db284ed6b4dd828e5c29b61
refs/heads/master
2020-12-24T08:49:14.437329
2016-08-19T21:11:05
2016-08-19T21:11:05
25,602,208
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python3 n = int(input("Enter the number of students:")) data = {} # here we will store the data languages = ('Physics', 'Maths', 'History') #all languages for i in range(0, n): #for the n number of students name = input('Enter the name of the student %d: ' % (i + 1)) #Get the name of the student ...
[ "bnprk27@gmail.com" ]
bnprk27@gmail.com
fefe183ee81e64abb008a8dfded629c1fe7cc6c7
e3714fb9ce66e45ab2b3a64bc4918fb44ab9dce5
/compress_image.py
e1d80a4209fdbaafea936b3d553d6053401923ff
[]
no_license
nitr-himanshu/python-modules
14b985b50cf6e7e75580615ae8250ee5fd1c7f12
24c1e1a576fa7969f999e74ea7955ca3464bd753
refs/heads/master
2020-09-19T09:36:15.464758
2020-02-12T04:39:18
2020-02-12T04:39:18
224,218,622
0
0
null
null
null
null
UTF-8
Python
false
false
560
py
from PIL import Image def compress(img_path, new_height, inplace=True, new_img_path=""): ''' :param img_path new_height inplace(optional) new_img_path (required when inplace=false) :return new file path ''' img = Image.open(img_path) hpercent = (new_heig...
[ "thehimanshukeshri@gmail.com" ]
thehimanshukeshri@gmail.com
f089183b785e1121300cfb0257d7c0b43a4df73c
8b3551600c4e12a12d604fd08408814e80b0db9e
/src/accounts/forms.py
702f9e2a97931f69399b8f142d595dc31973d631
[]
no_license
GaLaxY1101/CrashCourse
abe73879e4d6623321ce4d800ba452455a718605
a528fe4ebb3ed5d59602a3d226dd9e04f503dc20
refs/heads/main
2023-04-16T22:30:50.380524
2021-05-04T10:28:38
2021-05-04T10:28:38
361,800,054
0
0
null
2021-05-04T10:09:33
2021-04-26T15:27:56
Python
UTF-8
Python
false
false
1,047
py
from django.forms import ModelForm from .models import Order, Customer #For user register from django.contrib.auth.forms import UserCreationForm from django import forms #For login from django.contrib.auth import authenticate class AccountAuthenticationForm(ModelForm): password = forms.CharField(label='Password') ...
[ "korniykhik3@gmail.com" ]
korniykhik3@gmail.com
8b2d298b6d6dd1f9af96d7ca7332a979fe1e6fb2
a6b7dbdf66de11f6e04bac5b9da5cb2d71b8e111
/summary/main.py
20667469ee285696734faf0e0f74dc2f014641f8
[]
no_license
gabrielwong159/tf
9b9e144682daab3901c5cde703d39d5ee1a68b72
bd506341034ecb47ea50a0b38040c1765003deb3
refs/heads/master
2021-07-03T23:50:22.391246
2019-03-15T10:29:25
2019-03-15T10:29:25
143,256,201
2
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
import tensorflow as tf import tensorflow.contrib.slim as slim from tensorflow.examples.tutorials.mnist import input_data from model import MNIST from os.path import join from tqdm import trange summaries_dir = 'summaries' learning_rate = 1e-4 batch_size = 50 num_iterations = 5_000 mnist = input_data.read_data_sets('...
[ "gabrielwong159@gmail.com" ]
gabrielwong159@gmail.com
53f752fc2df0837ee2781e7c187d13028052fdca
b2fceb7e11d2d0c8bdfecc5e3d50685855b9f4fd
/example/pythonSnippet.py
17c246231e4dad4bbf2283522d842632de40be1c
[ "MIT" ]
permissive
DIPSAS/DockerBuildSystem
a6f9858e1e7b4895f17c8434482ab700d1c72570
0ddfb0a4cebf707a36d2708c12c0c2641172299b
refs/heads/master
2021-09-28T22:37:51.484815
2021-09-22T23:49:51
2021-09-22T23:49:51
133,937,355
10
2
MIT
2020-01-09T14:53:02
2018-05-18T10:02:22
Python
UTF-8
Python
false
false
148
py
def GetInfoMsg(): infoMsg = "This python snippet is just an example.\r\n" return infoMsg if __name__ == "__main__": print(GetInfoMsg())
[ "hans.erik.heggem@gmail.com" ]
hans.erik.heggem@gmail.com
ca0d1b7730390c96c8aa0842a2430a0e01ad1a18
2e80e43fbbaadca6bba401214a2b02f48a06f4a3
/multiappproject/multiappproject/settings.py
6ebc21e084302b74cf515862e5e9df03df352a11
[]
no_license
anilkumarreddyn/DjangoProjects
751a95718079d42e5a03857f20cd812aadc01ba3
c10c34308762a2bfd05b56f6e0838055e06a601a
refs/heads/master
2021-06-24T05:21:10.670792
2019-06-25T05:53:19
2019-06-25T05:53:19
193,641,376
0
0
null
null
null
null
UTF-8
Python
false
false
3,226
py
""" Django settings for multiappproject project. Generated by 'django-admin startproject' using Django 1.9.5. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ impo...
[ "anilkumarreddyn@outlook.com" ]
anilkumarreddyn@outlook.com
adcaed4b3126aaf255a3fd151f53b4cd40aa336d
8006cd33697ad21689f54891233c111082d5b3df
/components/unusable_model/inference.py
f4357cfbebef3672b4d6fccd4bcf6c9afbdf5e04
[]
no_license
mytnitskaya/only_unusable_model
b25d41673b6ce52baec2e5c8df53dbfa9f15dbf5
656cc3de4b469525bda895dd9f27fb74d66e0480
refs/heads/master
2023-05-07T21:16:49.300771
2021-05-28T16:43:06
2021-05-28T16:43:06
371,759,672
2
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
import tensorflow as tf def main(): physical_devices = tf.config.experimental.list_physical_devices('GPU') assert len(physical_devices) > 0, "Not enough GPU hardware devices available" tf.config.experimental.set_memory_growth(physical_devices[0], True) import os, sys import argparse ROOT_DIR ...
[ "mariya.mytnitskaya@rubius.com" ]
mariya.mytnitskaya@rubius.com
989c322db653f0c43afcb8cb9d00fbe13c961e15
65156c80527fb8543d5b17ac6e548f8d0d6d391c
/github_wh/urls.py
b4b2d0aa31da3f40072ceb6a7a112bea3cf29b4f
[]
no_license
ArtemAAA/github-wh
3abee596f5b932ed39008d19e041b0fe6880b973
dd2690792384bd44c04b5f9acc9cda09f36c1242
refs/heads/master
2022-11-07T04:36:15.803505
2019-07-12T11:28:01
2019-07-12T11:28:01
196,535,953
0
0
null
2022-11-04T19:39:50
2019-07-12T08:00:47
Python
UTF-8
Python
false
false
217
py
from django.contrib import admin from django.urls import include, path urlpatterns = [ path('admin/', admin.site.urls), path('api/', include('apps.api.urls')), path('', include('apps.webhooks.urls')), ]
[ "artemkozlovets@gmail.com" ]
artemkozlovets@gmail.com
e3132af7574a4af4aa2f40ac4284b1a802d240a9
f7b7412991b101d0d7ea0d2321047dceee5b8370
/options/option_data_tool.py
66024cd86c99fe074ba70337da6f0de71bd995b6
[]
no_license
spelee/Options
5d9860b1878d3d1b79daf266c60d1a147926f950
3449bc295edb14c1bccae44e7693628eaa7dacbf
refs/heads/master
2021-04-12T04:30:15.961163
2018-05-02T20:57:15
2018-05-02T20:57:15
125,902,930
0
0
null
null
null
null
UTF-8
Python
false
false
2,968
py
import blpapi class BLPRefSession(): """XXX need to later decide how to create access to bbrg data Do we want single session that is on? Possible multiple session instantiations? redo for use as context manager? """ def __init__(self): # Fill SessionOptions sessionOptions = blpapi...
[ "spelee@gmail.com" ]
spelee@gmail.com
d91092559747ba009e3bd6de574cea1337cf31a8
f3502ff306980f9f9fe3807795881ce740bf98a9
/venv/bin/easy_install-2.7
e32914450a347e58ba2c8124daf0a8dc562ce695
[]
no_license
umroh/FirstWeb
df66207e7e10e3be9f67d294253de6e71d43a8a5
087e35c8f1517faf14afeeb1e1228a2bebc05300
refs/heads/master
2021-01-10T02:02:29.307254
2016-03-18T11:14:25
2016-03-18T11:14:25
52,944,883
0
0
null
null
null
null
UTF-8
Python
false
false
376
7
#!/home/umroh/PycharmProjects/prototypeAsisten/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'distribute==0.6.24','console_scripts','easy_install-2.7' __requires__ = 'distribute==0.6.24' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('distribute==...
[ "umroh.machfudza@ui.ac.id" ]
umroh.machfudza@ui.ac.id
c3ffeec57531320981263bd35fe7e2b6d51878f0
877f2c8a24c42703b26db38bcebd22400fe0b948
/test1/excelUtil.py
b13b8d7f1b5f39a568d7c2e2153b7974c7c37087
[]
no_license
zsjkulong/spider
c17932247a2ea4bbab03980293329f4dd14b54c2
13b78350fed355f6743fd911ef885dae600de19b
refs/heads/master
2020-03-20T05:22:47.942043
2018-08-06T08:33:46
2018-08-06T08:33:46
137,212,581
0
0
null
null
null
null
UTF-8
Python
false
false
16,836
py
import openpyxl import datetime import operator from openpyxl.styles import colors from openpyxl.styles import Font, Color, Fill,PatternFill from openpyxl.cell import Cell from test1.tushareUtil import AnalysisIndexData import configparser from test1.Item.indexItem import indexItem class excelUtil: sheetName= ['每日指...
[ "zhousijian@travelsky.com" ]
zhousijian@travelsky.com
e2df814ae7681abe960261c59ca05a1857aa0349
c98a98486663b2fd4654e9d0b80b57776f6b4db8
/python/src/main/python/Q069.py
7976fb172cd24039cfdc926afdd1d9fb92414a00
[]
no_license
renkeji/leetcode
6ae31d63cd4819ebd2a69be0665d04907fc8cc3c
1d40d357ff20a0560656727a07bf3e1c00dc4cb8
refs/heads/master
2020-05-22T04:24:48.263249
2017-05-21T22:26:05
2017-05-21T22:26:05
41,816,676
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
from src.main.python.Solution import Solution # Implement int sqrt(int x). # # Compute and return the square root of x. class Q069(Solution): def mySqrt(self, x): """ :type x: int :rtype: int """ if x < 2: return x epsilon = 0.000001 left, right...
[ "kren@apple.com" ]
kren@apple.com
f294ff625480eee76eba21c36fc1128186724cee
3c5fc55c8a19f13448fe83061131b761e586e650
/wishImage/wish_image.py
4daa23a2acd455b282fe045cc62db0bf4b183ddf
[]
no_license
psstores/E-business
bc2c8e0fd97444688532634b5570965a9e7f7937
c5890c4b10fd19b73abcc1f2a4747b1c594e5b4a
refs/heads/master
2021-01-10T04:45:56.105340
2016-03-05T08:53:45
2016-03-05T08:53:45
47,673,252
0
1
null
null
null
null
UTF-8
Python
false
false
1,205
py
#encoding=utf-8 import re import os from os import getcwd import urllib from bs4 import BeautifulSoup import time # url='https://www.wish.com/search/scooter#cid=55ff8599e768aa10f8c45af7' f=open('temp.html','r') html=f.read() soup=BeautifulSoup(html,'html.parser',from_encoding='utf-8') g_data=soup.find_all('div',{'class...
[ "2669578421@qq.com" ]
2669578421@qq.com
775271a58abd0433fdefa7dccf9f7d67305d1eac
5a8222a754ba01ce9a9c317bf98970a4db033d67
/slackings/wsgi.py
12b40e31063e835b00ae8118fe1b3e5927020e5d
[]
no_license
dLook/slackings
35e342be401b91b170adc35594d35aa0a73b902b
63943c66626e39e40a89d0fb82aeec3239edc7e3
refs/heads/master
2020-03-09T03:54:56.727371
2018-04-07T23:16:03
2018-04-07T23:16:03
128,575,575
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
""" WSGI config for slackings project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "dlook@Dinos-MacBook-Pro.local" ]
dlook@Dinos-MacBook-Pro.local
733336c7a0df9dd8e420d8a5d326083e093bc156
4e39dbcd39c746dc661478d601d5e9ae0893b084
/TensorFlow2/Segmentation/UNet_Medical/utils/cmd_util.py
6866333185e2c63257c7fcffb178d2aa62a2b951
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
gpauloski/DeepLearningExamples
2ff368cf0414ad8451a85465f023a94d1a5753f9
81178d2aa6e6eaa88c40727276601b52739ba408
refs/heads/master
2023-02-03T13:33:41.822429
2020-12-14T16:52:31
2020-12-14T16:52:31
254,721,527
2
0
null
2020-04-10T19:42:36
2020-04-10T19:42:35
null
UTF-8
Python
false
false
4,634
py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "pstrzelczyk@nvidia.com" ]
pstrzelczyk@nvidia.com
1bce8567d8f1d14ff4bc68b9b00f0fa42b87eeaa
8fcc4f687e7e451157d7f54689b0d176a1431e40
/freightforwarding/python/api_query.py
7b2abeed12e642b30344d0812ef14cb079c077eb
[]
no_license
shipamax/samples
b650b56f1d5582082260874eee1af69e6a16fa26
c924503ec3c4dc08f1cec19cea0580c994e21a3c
refs/heads/master
2022-07-13T05:29:43.563066
2022-06-23T08:01:15
2022-06-23T08:01:15
132,764,935
2
1
null
2022-06-23T08:01:05
2018-05-09T13:58:40
C#
UTF-8
Python
false
false
1,252
py
import requests import json import argparse import uuid from util import login, logout DEFAULT_HOST = 'https://developer.shipamax-api.com' def query(_host, custom_id, _token): """ Query parsing result """ url = '{}{}'.format(_host, '/api/v1/DocumentContainers/query') custom_id_json = '["{}"]'.format(cus...
[ "fabianblaicher@gmail.com" ]
fabianblaicher@gmail.com
06648aa873d47bf1a3429114bfc2a4d5585aa1c1
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20914.py
3c20fbf20829f9b981a226ccaa46c39051a43f32
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
# py.test Tracebacks: Highlight my code, fold frames of framework --tb=short
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
467db476e9ed6f07be6d963d9636a39636293a3c
172c7d494865f85ff598c0a7cff4628fcb6477e9
/milk2.py
2d695b892024e725b68a3f070c200f68ba1f9dee
[ "Apache-2.0" ]
permissive
dazer-chen/usaco
f9ba5265c959a5b6d0a826249fd80fd8a198223d
82673a2a235e7393b1f8f610925c1063149176dd
refs/heads/master
2020-08-06T00:23:09.121745
2019-10-04T07:21:14
2019-10-04T07:21:14
212,769,605
1
0
Apache-2.0
2019-10-04T08:30:26
2019-10-04T08:30:24
null
UTF-8
Python
false
false
1,269
py
""" ID: tony_hu1 PROG: milk2 LANG: PYTHON3 """ a = [] m=[] total = [] with open('milk2.in') as filename: for line in filename: a.append(line.rstrip()) num_cows = int(a[0]) for i in range(num_cows): b = a[i+1].split(' ') m.append(int(b[0])) m.append(int(b[1])) total.append(m) m = [] tim...
[ "tony@tonys-MacBook-Air.local" ]
tony@tonys-MacBook-Air.local
489eb03b22c1ffffde1be70112c97a985e0f64e9
ca4b4cb4ce7da93c3a35dab3a877e4a6546edcb4
/encode.py
4654e878bd8627bdb271cb1e4192adb443a3a1c5
[]
no_license
arjun-14/hidden-api
ecb68a193a9e1e8dacc8334b4f5fa429db5e8c6e
80492197f6160028c383d0fbbf7af0d257367999
refs/heads/main
2023-07-13T15:21:29.582878
2021-08-24T17:47:45
2021-08-24T17:47:45
399,554,449
0
0
null
2021-08-24T17:41:26
2021-08-24T17:41:25
null
UTF-8
Python
false
false
5,115
py
from PIL import Image import re from io import BytesIO from fastapi import HTTPException class encode: def __init__(self, image, message, content_type): self.image = image self.message = message self.content_type = content_type def initial_validation(self): if(not(self.content...
[ "impmmmm@gmail.com" ]
impmmmm@gmail.com
11d50c1286a304fed91b138875020fb4bd18920c
c81b633c452616636120daba9ef3fa9a2b2640b3
/Class10/example_5_tdd.py
7b14d71ab2eb2ffcea775fc59ec4134f947d258d
[]
no_license
formigaVie/SNWD_Works_201711
ba3dca2ef4cf74166b8a5c7c804ea01ccc866876
16ec6c169a5828cadc515b7612dbfd8638ba7224
refs/heads/master
2021-09-07T03:41:36.674833
2018-02-16T18:58:47
2018-02-16T18:58:47
110,582,326
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- #Funktion schreiben, die zu jeder Zahl die Quadratzahl zurückgibt def square_number(x): return x**2 def check_square_number(): assert square_number(9) == 81 assert square_number(-3) == 9 if __name__ == '__main__': check_square_number() print "Passed ...
[ "manfredg30@gmail.com" ]
manfredg30@gmail.com
cf804c286316be21436f2bc8bac54f7846881266
d8148d71f69190e2fb82aac0b241485751a803d1
/metadata/find_nest.py
c772447d667cdbf9f03dc2710a0712de0ebe13b0
[]
no_license
MTG/acousticbrainz-labs
df23a3af030260da9817c15b03e3d75910b509e7
dc0a48ac855c3fa50c3b1496e2cd14eb27a81eed
refs/heads/master
2022-09-08T10:08:30.304372
2021-09-02T10:37:24
2021-09-02T10:37:24
26,653,441
27
8
null
2022-08-23T17:32:55
2014-11-14T19:14:11
Jupyter Notebook
UTF-8
Python
false
false
240
py
import threader class EchoNest(threader.ComputationThread): """ This thread tries to get data from the echnonest """ def _calculate(self): self.data = '' if __name__ == '__main__': threader.main(EchoNest)
[ "alastair@porter.net.nz" ]
alastair@porter.net.nz
96764c52211e9e183c77e8463ac38389e6aaee5c
70ca6ff825eec1cbc818a406a167173d9db9e5a5
/jdSpider/jd/pipelines.py
c3c132e2a35684a5f95ea651e6df64605288f247
[]
no_license
guyueyuqi/JDSpider
2c89e5d4c69e4a427046c330e9994a85ac74616c
13e933acda61d5519dcb7d4b2de26abb0ef34a74
refs/heads/master
2023-06-25T02:45:20.769657
2018-03-23T12:05:31
2018-03-23T12:05:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import random import os from .items import JdcommentItem class JdspiderPipeline(object): def __init__(self): sel...
[ "369943318@qq.com" ]
369943318@qq.com
e9698f717dafb868d4d636d00100df973ead155f
23c8bbd92b7d95055d86b024ff5b00379a7eacea
/core/__init__.py
deb3a1e972a1be849572c12a2eaa172469d3599c
[ "MIT" ]
permissive
bhok/kundouzhishou
b2f867ed545748ad2ab16f53cfeeb3b3684777b4
0c9d41e89e51e2217fdbee30cc3494f4ab643010
refs/heads/master
2020-12-07T15:20:40.374020
2016-07-30T11:29:42
2016-07-30T11:29:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
import conf import core from yunbi_wrapper import yunbi_wrapper from poloniex_wrapper import poloniex_wrapper from bittrex_wrapper import bittrex_wrapper from exchange_pair import exchange_pair from exchange.yunbi import yunbi from exchange.poloniex import poloniex from exchange.bittrex import bittrex
[ "kundouzhishou@gmail.com" ]
kundouzhishou@gmail.com
fbfc207ef43a7797ae51a3f77a2080848f479024
d94be223f733daa58ce03f6f2dd701c55355f044
/docs/data/new_east_st_louis-3.py
7270fd573042b368984fc13a16e5220c497a576b
[]
no_license
emirdemirel/JAAH
7bb4f9c2a434e1df34d99596dd294b7c96836bfe
8c065c3b043ad7ac95241c242bb468fe4c731ec7
refs/heads/master
2023-02-10T14:10:52.755206
2021-01-07T23:11:02
2021-01-07T23:11:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
import siteUtils siteUtils.show5HexagramsForFileList(['../../../annotations/new_east_st_louis.json'])
[ "seva@ringrows.ru" ]
seva@ringrows.ru
3bd95a3b443aa1ebb62757343cb66710a7f88821
fac77900129f3e11b2b72cd65a4f9e088aaa8bbc
/PythonExercicios/ex112/utilidadesCeV/moeda/__init__.py
49b54b5b8ecd3111fc70113cce1a95716c8da5d3
[ "MIT" ]
permissive
Lucas-ns/Python-3-Curso-Em-Video
ff01cc35b383b7c548e4aa1e92e6ed60bad25079
f6d338fffd7a4606d34fab09634eea0fe4b3dfb3
refs/heads/main
2023-03-18T09:02:49.685841
2021-03-16T20:45:14
2021-03-16T20:45:14
348,480,428
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
def aumentar(preço=0, taxa=0, formato=False): """ -> Calcula o aumento de um determinado preço, retornando o resultado com ou sem formatação. :param preço: o preço que se quer reajustar. :param taxa: qual é a porcentagem do aumento. :param formato: quer a saída formatada ou não? :return: o v...
[ "nascimentolucas786@gmail.com" ]
nascimentolucas786@gmail.com
8fbeae9a4326bddee26e1a4de2ade8d305654222
f87f51ec4d9353bc3836e22ac4a944951f9c45c0
/.history/HW06_20210715223105.py
d97dd858d1598f85d9ebd66b49358181614c0345
[]
no_license
sanjayMamidipaka/cs1301
deaffee3847519eb85030d1bd82ae11e734bc1b7
9ddb66596497382d807673eba96853a17884d67b
refs/heads/main
2023-06-25T04:52:28.153535
2021-07-26T16:42:44
2021-07-26T16:42:44
389,703,530
0
0
null
null
null
null
UTF-8
Python
false
false
5,070
py
""" Georgia Institute of Technology - CS1301 HW06 - Text Files & CSV Collaboration Statement: """ ######################################### """ Function Name: findCuisine() Parameters: filename (str), cuisine (str) Returns: list of restaurants (list) """ ######################################### ########## WRITE FUN...
[ "sanjay.mamidipaka@gmail.com" ]
sanjay.mamidipaka@gmail.com
0b708efca3d4ee6d405876434f35114d143c360c
37b7c4e552e72951d83ab4bce60edd6a12e3039d
/scraper.py
9900c568f0ced099c6d71206a95d8871d9638bae
[]
no_license
mjrice04/mass_audobon_scraper
5f8222ef2ed1601cf9f1cb1da4fb3ce2ee2a945b
3b0daa68cd0c74f068848d26176af46106bb634e
refs/heads/master
2020-09-16T18:50:50.454309
2020-01-06T04:44:46
2020-01-06T04:44:46
223,857,965
0
0
null
null
null
null
UTF-8
Python
false
false
4,186
py
""" Requirements Take 1 Takes in list of mass audobon locations Able to scrape the events coming up in the month Able to tune parameters of search Able to email this list to my email What I want to get from this project Practice Web Scraping Learning to set up a tool to send emails to me (could be a good reusable...
[ "xricexx77@gmail.com" ]
xricexx77@gmail.com
4bdb1d41c5ecb5a22515bf4eef03d89fc2731ce1
40f89ee8843b10928d1d2147c7368d498fe931aa
/List Exercise 5.py
d6a9e3b8c5f3e7a120c11e1a693163e28b5ab40b
[]
no_license
the-llama-codes16/the-llama-codes-Python
56e78b084f7d01f3c60fe94570453ad6d87c0cc6
a0a48d108adae76fd58509d245214a10973794cf
refs/heads/main
2023-05-30T08:56:10.807303
2021-06-02T14:33:22
2021-06-02T14:33:22
367,573,521
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
fname=input('Enter file name:') fhand=open(fname) count=0 for line in fhand: line=line.rstrip() if line.startswith('From '): count=count+1 wordlista=line.split() print(wordlista[1]) else: continue print('There were',count,'lines in the file with From as the first w...
[ "noreply@github.com" ]
the-llama-codes16.noreply@github.com
52bd5b80c303f7ec03c6a84634f9654784e1fe1c
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/modelName_def.py
ca5790b97b3bf22a70902abdc87628726645d7a4
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
1,990
py
import pyeccodes.accessors as _ def load(h): def wrapped(h): originatingCentre = h.get_l('originatingCentre') if originatingCentre == 242: return 'cosmo-romania' if originatingCentre == 220: return 'cosmo-poland' if originatingCentre == 96: ...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
303bdc24b9ea78a05b85cec43ce43fdde458378f
3eb4d64a8bb0bc240a2ef189724f4d51b5275eac
/heltour/tournament/migrations/0056_auto_20160810_0204.py
e08071bf6059ce3ea2af6bcb2b399bc27522b344
[ "MIT" ]
permissive
brucemubayiwa/heltour
c01cc88be7f86dce8246f619d7aa2da37e0e0ac2
fa4e9b06343acaf6a8a99337860e1ad433e68f6b
refs/heads/master
2021-01-23T19:59:04.099215
2017-09-06T03:34:31
2017-09-06T03:34:31
102,840,526
1
0
null
2017-09-08T08:53:30
2017-09-08T08:53:30
null
UTF-8
Python
false
false
850
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-10 02:04 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tournament', '0055_auto_20160809_2228'), ] operations = [ migrations.AddFiel...
[ "lakin@structuredabstraction.com" ]
lakin@structuredabstraction.com
01aaab4806daf83624fce5a5d71e77ac84e3cb95
714983fc24c6befe80d426dd94134d09ad2cbdfb
/env/lib/python3.6/site-packages/RestAuth/Services/migrations/0004_delete_old_m2m.py
31494a3ab34e3a19585de405f5ad81cb7bb1f511
[]
no_license
sachinlokesh05/login-registration-forgotpassword-and-resetpassword-using-django-rest-framework-
486354ffb3a397c79afc6cbb290ab1cd637f50ac
60769f6b4965836b2220878cfa2e1bc403d8f8a3
refs/heads/master
2023-01-28T22:19:13.483527
2020-01-28T14:07:53
2020-01-28T14:07:53
233,223,694
3
0
null
2023-01-07T22:10:06
2020-01-11T11:49:44
Python
UTF-8
Python
false
false
4,682
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Removing M2M table for field hosts on 'Service' db.delete_table('Services_service_hosts') def backwa...
[ "sachin.beee.15@acharya.ac.in" ]
sachin.beee.15@acharya.ac.in
4a259a11584bf85810a4da9b13274f6414e5308f
28483b16e58f04219b9e25640ffbc36360641a0a
/charissa_johnson/belt_reviewer/apps/belt_reviewer/migrations/0002_auto_20170725_1614.py
0f20ff5c85fe5fbc24b75a96cfb513e70f23956b
[]
no_license
charissayj/python_july_2017
c69755a4d068440c2799b2b4a37ad15a4fb94a80
3939f823646b90b51f5c2d6f64699357728c3ab4
refs/heads/master
2020-12-02T06:18:14.106345
2017-07-27T20:20:47
2017-07-27T20:20:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-07-25 16:14 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('belt_reviewer', '0001_initial'), ] operations = [ migrations.RenameField( ...
[ "charissa.y.johnson@gmail.com" ]
charissa.y.johnson@gmail.com
16653c4264c3452d13d64d7f5be4eaac7e1c0f95
ebda7a1756f8d9ca89ef6aa9e257d747cbb9186d
/pipelines/templates/pickatlas.py
22e8943f6e50982f16f40aa91041b986181553e8
[ "MIT" ]
permissive
villeneuvelab/vlpp
d521ed5f991262575ec2c2cfe41c6e896935568c
88d3cc43742e594237153c9cdd98efc345836287
refs/heads/master
2021-05-14T14:48:47.084329
2019-06-11T14:00:38
2019-06-11T14:00:38
82,604,427
7
3
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from vlpp.operation import maskFromAtlas def main(): output = "${participant}_roi-${refName}${suffix.mask}" maskFromAtlas("${atlas}", ${indices}, output) if __name__ == '__main__': main()
[ "christophe.bedetti@gmail.com" ]
christophe.bedetti@gmail.com
4023b90f8758b34748d937ccd2ac854ae94b604a
a83a08f7192f09876b893392faf7f15fb529cd25
/app/models.py
ba8d9d75e78a663ddae91e2afacf9e1688b2b344
[]
no_license
jsnyder10/45
80d92988f4f6c53b2e2d9ce1cf52223d5d13cf47
e488ad07c492170311bfac79e740510e17b217ca
refs/heads/master
2022-09-03T20:02:27.281725
2017-07-14T02:56:55
2017-07-14T02:56:55
96,055,733
0
0
null
null
null
null
UTF-8
Python
false
false
8,173
py
from hashlib import md5 import re from app import db from app import app from passlib.apps import custom_app_context as pwd_context import datetime from dateutil.parser import parse followers = db.Table( 'followers', db.Column('follower_id', db.Integer, db.ForeignKey('user.id')), db.Column('followed_id', ...
[ "jsnyder10@gmail.com" ]
jsnyder10@gmail.com
3a08573df3e117f7abeacc2d96fc32821ca167f3
8ac92ae9f84ef349ac66c8e83bcd7952c45bfdf2
/trainsite/wsgi.py
0a3c8d71299ad4f087ed105f2c349b69b0b4f0f2
[]
no_license
zzy19960618/trainsite
6bc78b706119ea78624f4a0d20df484e73681958
0dc8b87c801a756b3433ff6a51b4af363fb97977
refs/heads/master
2020-05-23T23:19:03.913892
2019-05-16T09:08:05
2019-05-16T09:08:05
186,992,412
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for trainsite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefaul...
[ "zouziyi_9618@163.com" ]
zouziyi_9618@163.com
469eebafcf857f87276c308ad37773ed5d6351dd
95ec78292e150591dc0587988cf3a4b9b5ad08c2
/code/srmcollider/Residues.py
988d50d1542f6b880b4d90b333ad0cef6cd72721
[]
no_license
hroest/srmcollider
40b034f4f1713d94a6f36ed78b3ed67857b47eb7
67c0a04fb21a4f089e3aab15d5ee8884b389ec44
refs/heads/master
2021-01-18T23:10:14.927217
2018-01-15T15:04:25
2018-01-15T15:04:25
10,242,093
0
2
null
2017-12-05T22:02:04
2013-05-23T11:18:25
Python
UTF-8
Python
false
false
18,191
py
""" * * Program : SRMCollider * Author : Hannes Roest <roest@imsb.biol.ethz.ch> * Date : 05.02.2011 * * * Copyright (C) 2011 - 2012 Hannes Roest * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
[ "you@example.com" ]
you@example.com
118bf383996fd25bef8f492def819d9cbe119194
a5cdeb1246fbc105fb5d5233a8569dd27093870a
/Lab10/EntryApplicationUnitTests.py
ce07df9dae12abe5fa7eb5c8182ccfa56543e9c5
[]
no_license
gongyiwen/ECE364
58bc571cf1711bf0dc2387a81b8cb2611866f3d0
24afe1b144ef02e8463dc23fccc5fa63cdb40cbb
refs/heads/master
2021-05-04T08:38:04.400833
2015-11-18T02:27:23
2015-11-18T02:27:23
45,637,756
0
0
null
null
null
null
UTF-8
Python
false
false
7,914
py
import os import unittest from PySide.QtTest import * from PySide.QtCore import * from EntryApplication import * singletonApplication = None singletonForm = None class EntryApplicationTestSuite(unittest.TestCase): def setUp(self): """ Creates the QApplication singleton instance, if n...
[ "gong32@purdue.edu" ]
gong32@purdue.edu
343463fe4db8357c595ca5d678bb025251c44331
144e2be8fea60da984aee8c75f90af3a67c9d732
/esempio_controllo_IP/controlla_server.py
df60bd2780b136d355f62d8b0f0f6721d8a246ca
[]
no_license
lukes1582/scripts_python
fff913ac357c67b44e1505a3c05534016cadafa2
d9dd6a2dae7f9afb6e9d006ac7feb1dd372fd1db
refs/heads/master
2021-08-22T01:51:36.016718
2021-07-14T09:59:10
2021-07-14T09:59:10
246,614,442
1
0
null
null
null
null
UTF-8
Python
false
false
2,855
py
''' Created on 12/02/2021 @author: lukes158@gmail.com l0m1s ''' import os import re import threading from datetime import datetime # dichirazione variabili personalizzabili # indirizzo email a cui inviare i dati mail = "lukes1582@gmail.com" # timer PING in minuti timePING = 5 # timer per l'invio MAIL...
[ "noreply@github.com" ]
lukes1582.noreply@github.com
28bea0e23fcc6f2869cb586ae611db56fe7a8c7f
1154de9658be97b0c6625a6ae03b8bf4c1875a35
/src/MyNetworks/beta/testST.py
8955222a39d3a2b3eba6a9b027770fcb6a2af376
[]
no_license
ghostotof/stage_s6
720bd5be7f357bdf6e326f76f11908ab695c6a6b
30f8948ccaafc85795aaadd12f206aed528ddcf2
refs/heads/master
2021-01-19T17:56:45.206288
2014-12-11T14:55:53
2014-12-11T14:55:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,996
py
#!/usr/bin/python2 # coding:utf-8 from brian import * from time import time import pickle ############## # PARAMETERS # ############## min_period = 1 * msecond basePeriod = 125 * min_period t_pres = basePeriod * 4 # min_weight = -10.0 * volt # # min_weight = 0 * volt # max_weight = 1.0 * volt * 10.0 # inc_weight ...
[ "christophe.piton22@gmail.com" ]
christophe.piton22@gmail.com
bb5ebaf33900bfcc44fdc19ac42207993daeaa5f
551d993b15f7e54635cc11d7ed3ee45a2e9aacc6
/AAE/Tensorflow_implementation/unsupervised/regularized_z/model.py
df4e3fcf6ad90ce669025df91eb33dfbcfbcb10a
[ "MIT" ]
permissive
hendrikTpl/GAN_models
6185a3c112a8b45205bdd4c556164b6153fbec19
8234c7f04be39d20fe09f81511b591deab9152a9
refs/heads/master
2021-10-25T16:52:13.239290
2019-04-05T15:28:06
2019-04-05T15:28:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,844
py
from component_without_bn import * class Object: pass def build_graph(is_test=False): # Inputs images = tf.placeholder(dtype=tf.float32, shape=[None, config.ndim_x]) z_sampler = tf.placeholder(dtype=tf.float32, shape=[None, config.ndim_z]) learning_rate = tf.placeholder(dtype=tf.float32, shape=[...
[ "1019636836@qq.com" ]
1019636836@qq.com
701efcd2c2b505fc3ac4e0416b386c15dcc95220
ee268bca0d0114a543db8f5c979019ea07a8de86
/djantube/asgi.py
ac2c150f7df8e7f6e3b64e2dba95d285971e2189
[]
no_license
mehdi-benhariz/DjangTube
63be28686f3e4330198a0f9158d0d456c0710667
646bb32edf2d9da33b71ec78eb3f67e67f22e77f
refs/heads/master
2022-12-01T11:53:23.419049
2020-08-05T10:56:06
2020-08-05T10:56:06
285,043,284
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" ASGI config for djantube 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETT...
[ "benharizmehdi20@gmail.com" ]
benharizmehdi20@gmail.com
99d6070d539a5b867b13698bdd27be4a9352e2b6
66e68aae8714d9c74dd99f8a39f9f8c21f3a2041
/if_while_for.py
f76534ff5b89c23635b6ccec7f3e50a4608befff
[]
no_license
turtlecoder207/Python-Practice
d102d6e0b746824a62d2e51f0f167f5ffa3d205a
646c20fd9983ebdcc03ce3a9dd1d6a7cb1cc6685
refs/heads/master
2021-01-22T03:53:42.094225
2017-05-25T14:15:03
2017-05-25T14:15:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,978
py
#돈이 3000원 이상 있으면 택시를 타고 그렇지 않으면 걸어 가라 """ money =1 if money >= 3000: print("택시를 타라") else: print("걸어 가라") #돈이 3000원 이상 있거나 카드가 있다면 택시를 타고 그렇지 않으면 걸어 가라 money=2000 card=1 if money>=3000 or card: print('택시를 타라') else: print('걸어 가라') #만약 주머니에 돈이 있으면 택시를 타고, 없으면 걸어 가라 pocket = ['paper','cellphone','money...
[ "chohj377@gmail.com" ]
chohj377@gmail.com
4a1913a5680d68adee209c5aa25118387d6527a1
35a43fd34bccacf87b6b3c1d56cc4573e75ec744
/notification/message.py
0e5a93a8072b3a923d450869130dde04c0503bff
[ "Apache-2.0" ]
permissive
silence99/cigarette
31782b7de18fa7dc9fc038051a60945dd1e21ff4
468ada4f40aeaedf0efa5bbed9eb75f23a825737
refs/heads/master
2023-03-17T22:05:25.935560
2021-03-08T13:47:29
2021-03-08T13:47:29
345,304,349
0
0
null
null
null
null
UTF-8
Python
false
false
3,102
py
from .status import Status CR = '\r' CL = '\n' NewLine = CR + CL MessageFlags = 'CITI' Version = '1.0' MessageType = 'CONFIG' ContentLength = 'content length' ContentType = 'content type' DefaultEncoding = 'utf-8' Encoding = "encoding" class Message(object): def __init__(self): pass @classmet...
[ "liuff_yantai@126.com" ]
liuff_yantai@126.com
b18c5a2b2afb8aa641c036874755e5247c1d83d0
be78d77bea1a5eea2a7f0d4090e1fc138623b79a
/cybox/test/objects/link_test.py
bac34e34bbbca2617a14995b938c2e2f2505741b
[ "BSD-3-Clause" ]
permissive
CybOXProject/python-cybox
399f73feb6a54778dca9260b1c0340a3895c6369
25e6e8b3a6f429f079d3fbd9ace3db9eb3d5ab71
refs/heads/master
2020-05-21T19:05:56.725689
2020-05-01T13:33:48
2020-05-01T13:33:48
7,631,169
43
31
BSD-3-Clause
2020-05-01T12:41:03
2013-01-15T19:04:47
Python
UTF-8
Python
false
false
980
py
# Copyright (c) 2017, The MITRE Corporation. All rights reserved. # See LICENSE.txt for complete terms. import unittest from mixbox.vendor.six import u from cybox.core import Observables from cybox.objects.link_object import Link from cybox.objects.uri_object import URI from cybox.test.objects import ObjectTestCase ...
[ "gback@mitre.org" ]
gback@mitre.org
6b668b8f038dc5cb395934f517fcc7da8dada50f
d71ab4eeb925ff1246781ed162de573b46be6ee7
/Python/lesson_2/exersize_8.py
8eb36100f7b8e40fb88dc5536980b39ad21d0cc6
[]
no_license
Tixon74/test
d2cfbd0bd0519dce091bcde368e2f08fb6f5b03c
f85620d0ada0169ee4b67be3bcc8a272f624f13b
refs/heads/master
2021-04-02T16:52:26.318401
2020-04-23T17:58:16
2020-04-23T17:58:16
248,296,917
1
0
null
null
null
null
UTF-8
Python
false
false
149
py
int_num = int(input()) while int_num > 0: if int_num % 10 == 5: print('yes') break int_num = int_num // 10 else: print('no')
[ "tixondamage@gmail.com" ]
tixondamage@gmail.com
4e84c64706c5b3dcde4f84dc13e6085aa18fa72b
61296b98e4d481893db4bc51d75652c7109ae626
/0000_examples/cobotta_g.py
116d8d398c21d519f84520776dd6e95bfdd43b4d
[ "MIT" ]
permissive
Shogo-Hayakawa/wrs
23d4560b1062cf103ed32db4b2ef1fc2261dd765
405f15be1a3f7740f3eb7d234d96998f6d057a54
refs/heads/main
2023-08-19T19:29:15.409949
2021-11-02T01:22:29
2021-11-02T01:22:29
423,663,614
0
0
MIT
2021-11-02T00:59:17
2021-11-02T00:59:17
null
UTF-8
Python
false
false
1,418
py
import visualization.panda.world as wd import grasping.planning.antipodal as gp import robot_sim.end_effectors.grippers.cobotta_gripper.cobotta_gripper as cg import modeling.collision_model as cm import modeling.geometric_model as gm import numpy as np import math base = wd.World(cam_pos=np.array([.5, .5, .5]), lookat...
[ "wanweiwei07@gmail.com" ]
wanweiwei07@gmail.com
8d91b25ef38c6a82575e0ce7a3d3056269efe663
399f602db61ce825299abfa9331b9dca2c23ef87
/AIProject.py
f584a8f7b464c2bea469ef9865317c586d6fe263
[]
no_license
FuzzyCoder20/Virtual-Drag-and-Drop-
bff71b9f29808e9be894cf1e7afb82effcc2db65
790db30d91a4ce0517fddb25adddc51f08898bcb
refs/heads/main
2023-08-23T06:23:15.625179
2021-10-08T07:59:08
2021-10-08T07:59:08
414,892,989
0
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
#pip install mediapipe==0.8.7 import cv2 from cvzone.HandTrackingModule import HandDetector import cvzone #Version: 1.4.1 import numpy as np import time cap = cv2.VideoCapture(0) cap.set(3,1280) cap.set(4,720) detector = HandDetector(detectionCon=0.8) colorR=(255,0,255) cx, cy, w, h = 100, 100, 200, 200 pTime=0 c...
[ "noreply@github.com" ]
FuzzyCoder20.noreply@github.com
b79625e562b14a8677b18af115c52c86d1d2319a
9ce8cdcc0df179a9b898dac768231ed0ac41249b
/turtle_sort/turtle_sort.py
f844828add18dc00a185f030b59ded9452dcf87b
[]
no_license
maradude/aps-code
50ce3b7fc3344f049a0497a34bdd0d2e8091669d
afc95535d638967849de48289d064bfd5d0588a9
refs/heads/master
2022-10-07T12:35:02.626710
2019-03-03T19:52:09
2019-03-03T19:52:09
171,647,220
0
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
def count_turtle_sort_steps(not_sorted, is_sorted, turtle_count): # find how many turtles don't need to be moved, return the difference expected_turtle = actual_turtle = turtle_count - 1 need_to_move = 0 while actual_turtle >= 0: if is_sorted[expected_turtle] == not_sorted[actual_turtle]: ...
[ "martti@aukia.com" ]
martti@aukia.com
960fa88e71e4cbe57c6854a3e565830fbc731386
de9444984bb341ca72337de329f170fe7a1d0e63
/bin/sqlformat
cb339fe340cf02d691bf9ec3cbbdffa9a569a0dc
[]
no_license
CRcr0/Oauth2Test
bc33fe491a9ee28df275d5e8b18b25f5eafff946
6d9116e0dc331a978b6810a55a1a458efcf2331f
refs/heads/main
2023-09-01T14:43:11.797155
2021-10-31T23:16:04
2021-10-31T23:16:04
423,279,737
0
0
null
null
null
null
UTF-8
Python
false
false
271
#!/Users/xinjianzhanghu/PycharmProjects/TestOauth2/django-vue/bin/python3 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "“1156898468@qq.comssh-keygen -t rsa -C “1156898468@qq.com" ]
“1156898468@qq.comssh-keygen -t rsa -C “1156898468@qq.com
23bdac21856e5f762bf57fd760d7ca15c75acd9f
c09f78b725502d7a1aeed9d1b0de3ba47796d211
/mmd_tools/import_pmx.py
5a40423541c21fc1b20992f542305892381dac04
[ "MIT" ]
permissive
usodaraki/blender_mmd_tools
1d880871c395eb67ad00bf4a6092c30f9004be4c
a12e5b615526248c669170b86e02d0a7b6118ffd
refs/heads/master
2021-01-17T12:47:34.592505
2013-06-29T19:01:23
2013-06-29T19:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,067
py
# -*- coding: utf-8 -*- from . import pmx from . import utils from . import bpyutils import math import bpy import os import mathutils import collections import logging import time class PMXImporter: TO_BLE_MATRIX = mathutils.Matrix([ [1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [0.0, 1.0,...
[ "melanitta_nigra@yahoo.co.jp" ]
melanitta_nigra@yahoo.co.jp
bad288ecbd12c0613a3e83bc87a35fb058b0f264
521b19d65cd2a12b522e166ea3fff0d90b1171ec
/Notebooks/LPTHW/ex13_dul.py
3299138be6e6149993678e975c6d108e95b1bb44
[]
no_license
sescoto/intro_ds_sat_feb_2018
e121aae624bccfbc5c17061f52657e0e5d425813
32d4e43bf6a653aa3b54c2f32ff4ef589701a1c8
refs/heads/master
2021-08-22T03:17:53.389013
2020-04-25T06:53:51
2020-04-25T06:53:51
171,802,043
0
0
null
2019-02-21T04:48:34
2019-02-21T04:48:33
null
UTF-8
Python
false
false
228
py
script, first, second, third = "ex13_dul.py", "hola","bola","super" print("The script is called:", script) print("Your first variable is:", first) print("Your second variable is:", second) print("Your third variable is:", third)
[ "jpdebotton@gmail.com" ]
jpdebotton@gmail.com
560bbdf2d856311a383f2556ff042c6b24798d81
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/SAF-ENTERPRISE.py
25f13b95d7e50531041d277cb4e2ad47bc261ce1
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "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
2,343
py
# # PySNMP MIB module SAF-ENTERPRISE (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SAF-ENTERPRISE # Produced by pysmi-0.3.4 at Wed May 1 14:59:53 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
5bdbf01baa6ade72cd727e466d72bc4ba506dd63
18a9b3a0edf6544c70ec729aa18e74b7f7e9befa
/models/backbone.py
bccdb347e2befcc6d0cb0ccc7d0e0b9ee235bb3d
[ "MIT" ]
permissive
AustinTapp/Spine-Transformers
9bb1796a1dfd28b0b288c0ced399c502cbfe495d
b653d6186ac703edf8a871d46e7ad2fa051a28a4
refs/heads/main
2023-06-11T22:19:17.732693
2021-07-04T14:26:05
2021-07-04T14:26:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,637
py
""" Backbone modules. """ import torch import torch.nn.functional as F from torch import nn from typing import Dict, List from models.resnet_no_pool import generate_model from util.misc import NestedTensor from .position_encoding import build_position_encoding class Backbone(nn.Module): def __init__(self, num_cha...
[ "noreply@github.com" ]
AustinTapp.noreply@github.com
f46b7a5482737a9f8febe9dbd264cf281c128fac
3f06f0c74219805beaca5146934c6b079aeba729
/1-dive-in-python/hw1/root.py
27d01911c5baff2234c895dcf9021c187fecd550
[]
no_license
bolshagin/python-spec
133b90aad48ca09e2256ea02172e932d8dadfc93
be573b1164ca2222948369c9041c894d1eb080bd
refs/heads/master
2022-10-20T11:31:09.511367
2020-06-15T17:08:52
2020-06-15T17:08:52
265,213,509
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
import sys #a, b, c = 13, 236, -396 #a, b, c = 1, -3, -4 a = int(sys.argv[1]) b = int(sys.argv[2]) c = int(sys.argv[3]) x1 = (-b + (b ** 2 - 4 * a * c) ** 0.5) / (2 * a) x2 = (-b - (b ** 2 - 4 * a * c) ** 0.5) / (2 * a) print(int(x1), int(x2), sep='\n')
[ "bolshagin.nikita@yandex.ru" ]
bolshagin.nikita@yandex.ru
1a7371535df33ccdd563e4b656e57c1ddf539554
3019928adaf37fe4acf4444587ee6fd83e634600
/src/getTotallyNew.py
7b9600c5b51f2693732348747687ff95eeadd2f0
[]
no_license
lucian-whu/Project3
013c9aace191fdd4c4cdef731e4889f1d80f3e15
c5735962c7b022c0ef8f290e8dfc9b2ae5eb0839
refs/heads/master
2021-05-15T10:11:47.835001
2017-10-25T08:27:33
2017-10-25T08:27:33
108,241,468
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# coding=utf-8 import csv with open('D://python_projects//project3//data//acute_myocardial_infarction_MESH_NEW_2006_2010.csv','r') as f: lines = f.readlines() for line in lines: print(line[0]) # with open('','rb') as f1: # csvReader1 = csv.reader(f1) # for csvLine1 in cs...
[ "lucianwhu@163.com" ]
lucianwhu@163.com
5834e0a57800b02d71d53f916eb638ef10d37250
1dbbe2ecdcfb39850be6b561c7e6495e9125d638
/HW2/grammar.py
66fff60f8dec6efeb26c234c9fda1b60f748339f
[]
no_license
itsmenick212/NLP
bf5ec860c2eae3c09426021545d2650651f3f88a
47a6c3de4f8b28ec42c44d9ee2c3e1c5b31d5105
refs/heads/master
2020-12-12T15:52:50.680005
2020-07-26T02:39:28
2020-07-26T02:39:28
234,165,744
0
0
null
null
null
null
UTF-8
Python
false
false
3,169
py
""" COMS W4705 - Natural Language Processing - Summer 19 Homework 2 - Parsing with Context Free Grammars Daniel Bauer Student: Nick Gupta, UNI: ng2528 """ import sys from collections import defaultdict from math import fsum class Pcfg(object): """ Represent a probabilistic context free grammar. """ ...
[ "noreply@github.com" ]
itsmenick212.noreply@github.com
38bbcf1c7fd0aaa56a14c15e19764477da9b8d5b
8bf0b8107521b03a1ebd4789f19cbb2f47380a88
/BSmodel_modified/root_finding_algorithms.py
537e386e647c91de3f9b2f48c0988aace2bf06ef
[]
no_license
dp540788912/OptionGreeks
d49cc59eec70cfb94918952db869a3db730678a3
1d004a6f04ac0b8090d188907f4b4128d273123f
refs/heads/master
2020-07-28T20:57:05.980493
2019-11-29T13:12:10
2019-11-29T13:12:10
209,535,629
0
0
null
null
null
null
UTF-8
Python
false
false
5,584
py
import numpy as np import pandas as pd from datetime import datetime from datetime import timedelta import warnings def bound_adjustment(target_function, lower_bound, upper_bound): initial_search_range = upper_bound - lower_bound max_iter = 100 _iter = 0 while target_function(lower_bound) * target_fun...
[ "deng.pan@ricequant.com" ]
deng.pan@ricequant.com
d7a7bfbba34482fc68919c726646fe8255199e3e
2681edbd35d0ced02cbb995292929b3f73c8df66
/Keys and Locks.py
99925433b091e73417f6ac4f4ec96153092685e3
[]
no_license
vit-aborigen/CIO_woplugin
46a658b93e939e406f88f4d317ef15d804e3115e
f252730fd8e2efa25735c8a90732608f58fa765b
refs/heads/master
2020-12-30T12:55:27.688801
2019-02-17T18:03:10
2019-02-17T18:03:10
91,370,583
1
1
null
null
null
null
UTF-8
Python
false
false
1,470
py
def cut(plan): if '#' not in plan: return 0 top, bottom, left, right = 1000, -1, 1000, -1 for idx, line in enumerate(plan[1:].splitlines()): if '#' in line: top = min(top, idx) bottom = max(bottom, idx) left = min(left, line.find('#')) right = max(rig...
[ "vit.aborigen@gmail.com" ]
vit.aborigen@gmail.com
6695e43b08ccf097696b09c23a6d6000166142d9
214e13b750665cffb2fad32e2020b1e003780655
/4/4.4/foods.py
197ee0522f9890e4c53dea6dadc7d6debe53e55c
[ "Apache-2.0" ]
permissive
liqiwa/python_work
ea4a1139b6dced941377d0baf5363a3cf6d683b8
3d1198d5616b28a37fee7dfba5bbef0e1d489c2d
refs/heads/master
2021-07-08T06:28:03.085223
2020-07-18T07:57:13
2020-07-18T07:57:13
138,620,066
0
0
Apache-2.0
2020-07-18T07:57:37
2018-06-25T16:17:02
Python
UTF-8
Python
false
false
298
py
my_foods = ["pizza","orange","falafel","carrot cake"] friend_foods = my_foods[:] print(friend_foods) my_foods.append("my_foods + 1") friend_foods.append("friedd_foods + 2") print(my_foods) print(friend_foods) my_foods = friend_foods my_foods.append('cannoli') print(my_foods) print(friend_foods)
[ "menghe163@gmail.com" ]
menghe163@gmail.com
f4190d398a0299cf47843f1003efe2f9682f091e
2464a7d05940a2f39231354397cb06f7b2861e0e
/country_errors.py
3a09672e9ca5469ff078604e404d5a45dfadf1af
[]
no_license
imbiginjapan/python_crash_course
c1226aeafe296d6b78d111f2f6d934579c4676af
422d3bb32e47af21c5f69ba517fe1da9be2d063d
refs/heads/master
2021-05-14T03:09:19.772417
2018-01-08T01:28:00
2018-01-08T01:28:00
116,611,317
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
import json import pygal from pygal.style import LightColorizedStyle, RotateStyle from country_codes import get_country_code # load the data into a list. filename = '/media/jeremy/ExtraDrive1/python_cc/pcc/chapter_16/population_data.json' with open(filename) as f: pop_data = json.load(f) # Build a dictionary of popu...
[ "32070505+imbiginjapan@users.noreply.github.com" ]
32070505+imbiginjapan@users.noreply.github.com
a0593e35dc2c449e0f9aa7678f6ceccdf3b5f2db
e8a45018a6a906a88418d7aaf2a28507125c673a
/test_filter.py
c3cb804e80d2e907e6189387cb7ed277c9d87193
[]
no_license
shtormnick/test_saucedemo
e0ed742f2fe0b596e91384581306e7f2d7600ed8
911e3ded07d14b483a5e416e4156d4b6433f4e7c
refs/heads/master
2023-06-26T20:47:57.614274
2021-08-02T10:37:12
2021-08-02T10:37:12
389,844,774
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
import pytest from pages.product_page import ProductPage @pytest.mark.main_test class TestLoginFormProductPage(): @pytest.mark.checker def test_guest_can_see_title(self, browser, setup): link = "https://www.saucedemo.com/inventory.html" self.page = ProductPage(browser, link) self.page....
[ "foxred324@gmail.com" ]
foxred324@gmail.com
1e8fed92b77867c5a707bc1e8cdaed3ff6f5566b
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/20ed819acd6f85b1facda3b799d3c24b3ada7ad6-<run>-bug.py
9d67f4caf81ac18c3daab8feb6cc8736cb5c336a
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,420
py
def run(self, terms, variables, **kwargs): if (not CREDSTASH_INSTALLED): raise AnsibleError('The credstash lookup plugin requires credstash to be installed.') ret = [] for term in terms: try: version = kwargs.pop('version', '') region = kwargs.pop('region', None) ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f0f0fcb3fdee07b36435350efebe87d77cde8406
8a9f1128a3ad23b8f6bfda17335f5b5110dbcc4d
/resources/user.py
c275b4d3a13b2ea32129ad684ca38ddb2cc3c937
[]
no_license
cspineda/stores-rest-api
7dcc339d68c44f41c5e7596538f7a34f29eb76fc
aa290f2928a527c45f46cc415a6a429f936cec93
refs/heads/master
2023-03-25T03:20:41.697525
2021-03-06T11:07:11
2021-03-06T11:07:11
343,125,636
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
from flask_restful import Resource, reqparse from werkzeug.security import safe_str_cmp from flask_jwt_extended import ( create_access_token, create_refresh_token, get_jwt_identity, jwt_required, get_raw_jwt, ) from models.user import UserModel from blocklist import BLOCKLIST _user_parser = reqpar...
[ "cspineda559@gmail.com" ]
cspineda559@gmail.com
09d3b6f3dc518b71e5ac7013db8d512620bbe1a1
7bb64fb43c503e8f2ecf0f02619b539af3401d39
/test_files/Zr_Vasprun/test_Vasprun.py
adc1d5cc9df5295240f97a9d3801a1ca67e323a4
[ "MIT" ]
permissive
montoyjh/pymatgen
13c3179cd4cf5ff521e8380e480b23d35709c379
62ecae1c7382a41861e3a5d9b9c8dd1207472409
refs/heads/master
2023-06-09T15:02:15.309354
2019-04-03T14:39:33
2019-04-03T14:39:33
42,539,977
2
2
MIT
2019-06-21T17:15:55
2015-09-15T18:56:26
Propeller Spin
UTF-8
Python
false
false
99
py
#!/usr/bin/env python from pymatgen.io.vasp.outputs import Vasprun run = Vasprun("./vasprun.xml")
[ "shyuep@gmail.com" ]
shyuep@gmail.com
a1014d52d825b419662540a87f34f68956584d91
3b56942de9b298d048f73a813a54d496811213e9
/sdk/python/pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py
d1df52d5d2309fba31ef336a575778b53d8c39f3
[ "Apache-2.0" ]
permissive
timo955/pulumi-kubernetes
6b90a180b2ea3e1c48ecfe105bdaf79654edc670
155b56cd0718c05fe46e50d5fdbcc2f9a27d9f8f
refs/heads/master
2023-03-25T07:45:12.781830
2021-03-17T20:41:06
2021-03-17T20:41:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,634
py
# coding=utf-8 # *** WARNING: this file was generated by pulumigen. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from . import outpu...
[ "noreply@github.com" ]
timo955.noreply@github.com
c21de1b9fb27178980aa03e7d7e2310507622237
9b30a517b5b74b58e5ffd1e63378b79d77fb6e32
/Python/ER para AFD mínimo/python/state implementation/ER_AFD.py
db3025e77656020b48aef2505fa287004b7e7613
[]
no_license
Daniel-Aragao/Compiladores
067d044984473cfdfd84a942b0a8c6fbeaf8d353
5720bd0689a6144f81d44fbd2f8f300f70eab039
refs/heads/master
2020-03-10T01:41:42.721942
2018-04-07T16:57:21
2018-04-07T16:57:21
129,116,573
0
1
null
null
null
null
UTF-8
Python
false
false
306
py
from Lexical import LexicalAnalyzer as LxA from ER_AFNE import ERtoAFNE from AFNE_AFD import AFNEtoAFD # entry= 'e(e|d)*' falta implementar os () # entry = 'e|d' # entry = 'e*' entry = '78d2' tokens = LxA.analyzer(entry) root = ERtoAFNE().convert(tokens) matrix = AFNEtoAFD().convert(root) print(root)
[ "thiago.maia971@gmail.com" ]
thiago.maia971@gmail.com
b4936261a2e0ae4ad21557800d4eb153185b267b
94a35fa71116c33cbad52522415ffa394b2e98fb
/vanda_jobs/scripts/utils/extract.py
283b04a009d3e35b1c33b425f57a3e0609234176
[ "MIT" ]
permissive
TheScienceMuseum/heritage-connector
c6caafe1126737c0bd7e98ed1facf562bd69dc27
77c994d7ba7253bd81140a2202bf8b03b6082e43
refs/heads/master
2023-02-19T08:40:02.619873
2022-10-10T13:37:04
2022-10-10T13:37:04
248,162,073
16
3
MIT
2023-02-14T22:20:49
2020-03-18T07:08:40
Jupyter Notebook
UTF-8
Python
false
false
1,304
py
import bz2 import gzip import fnmatch import json import os def bz2Reader(folder_path): print(f"checking {folder_path}, {os.path.isdir(folder_path)}") for dirpath, dirnames, files in os.walk(folder_path): count = 0 for f in fnmatch.filter(files, "*.jsonl.bz2"): fileName = dirpath ...
[ "warriorwomenblog@gmail.com" ]
warriorwomenblog@gmail.com
52ae3a1a8d1d8f8f7503b9181f015b165f68bf00
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_scrubs.py
6efbee2e9b847a91a88e3d43d8c1023f95e3fd07
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from xai.brain.wordbase.nouns._scrub import _SCRUB #calss header class _SCRUBS(_SCRUB, ): def __init__(self,): _SCRUB.__init__(self) self.name = "SCRUBS" self.specie = 'nouns' self.basic = "scrub" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9c765fca0194129caa59e74b70cc204fc59bce14
cf1e19f7b6354302037bca563b42218df7d79400
/최단경로/[2307]도로검문.py
3540a2ab6f4b48e1f02290e4e11b12bf476f0669
[]
no_license
kim-kiwon/Baekjoon-Algorithm
680565ddeced2d44506ae6720cf32d8004db42f8
4699e6551d3e7451648b9256c54ea4318b71bd4d
refs/heads/master
2023-04-13T11:10:21.031969
2021-04-26T10:50:08
2021-04-26T10:50:08
325,209,266
0
0
null
null
null
null
UTF-8
Python
false
false
1,898
py
#다익스트라 + 경로추적 import heapq n, m = map(int, input().split()) INF = int(1e9) graph = [[] for _ in range(n+1)] previous = [1] * (n+1) #이전 노드 저장 for _ in range(m): a, b, dist = map(int, input().split()) graph[a].append((b, dist)) graph[b].append((a, dist)) def dijkstra(): distance = [INF] * (n+1) ...
[ "76721493+kim-kiwon@users.noreply.github.com" ]
76721493+kim-kiwon@users.noreply.github.com
71a4f664ac45fcad7b14d47b66424851e5d160ea
4a06d9c889b5db2b7f9cbce0c39dedfce27876c4
/Project3_fast.py
9f4c92e0e604bb16a02fc9f237ec2d1ca281de91
[]
no_license
Oleksandr-Olefirenko/AlgorithmicThinking
f75fe8a98877deb4ed724cdb680f893fe5830f4b
3c5986d6003ee1a00e05e736f81540001480469e
refs/heads/master
2021-05-29T22:03:01.457838
2015-08-04T19:08:25
2015-08-04T19:08:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,994
py
""" Student template code for Project 3 Student will implement five functions: slow_closest_pair(cluster_list) fast_closest_pair(cluster_list) closest_pair_strip(cluster_list, horiz_center, half_width) hierarchical_clustering(cluster_list, num_clusters) kmeans_clustering(cluster_list, num_clusters, num_iterations) wh...
[ "TogusaRusso@gmail.com" ]
TogusaRusso@gmail.com
e4ba71bf1ba724c0db53d8730a07c16ea26d3366
ef8f2a5dee38b6355ffa9c23dedde2fc112298ff
/examples/simpyx/simpyx1.py
6b5aff7839e7082eecd241e3f04c0f362d28fe3e
[]
no_license
ambrosiano/python-x
3c873f27f17c8bcc9f3dfd40ac9a10372055373c
09d032e7824472a58d9ee7f9908aeae43eb550f9
refs/heads/master
2021-01-16T23:05:52.179326
2019-09-19T04:00:59
2019-09-19T04:00:59
70,008,587
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
from simpy import * def car(env): while True: print('Start parking at %d' % env.now) parking_duration = 5 yield env.timeout(parking_duration) print('Start driving at %d' % env.now) trip_duration = 2 yield env.timeout(trip_duration) if __name__=='__main__': ...
[ "ambro@lanl.gov" ]
ambro@lanl.gov
07ef9b577bbbf09e05099ffba90fc0e592f3e466
c0e45bc202a50f4b0dcc645b5f805596d10958b8
/datasets/kitti_raw_monosf.py
606ea8a37d8df1728bc577c923ea30545dcbea4d
[ "Apache-2.0" ]
permissive
visinf/self-mono-sf
532d3a09ebdce9abb4177517ba521f5f2dc66687
eec356d95038da49e6705194e6dc0780b750f2b0
refs/heads/master
2022-05-17T07:47:37.688855
2022-04-18T07:45:27
2022-04-18T07:45:27
246,596,511
240
55
Apache-2.0
2022-04-18T07:45:28
2020-03-11T14:40:46
Python
UTF-8
Python
false
false
9,440
py
from __future__ import absolute_import, division, print_function import os.path import torch import torch.utils.data as data import numpy as np from torchvision import transforms as vision_transforms from .common import read_image_as_byte, read_calib_into_dict from .common import kitti_crop_image_list, kitti_adjust_i...
[ "hurjunhwa@gmail.com" ]
hurjunhwa@gmail.com
00884fcc431f3b0fc1c306f662977b63ebc1c16c
743da4642ac376e5c4e1a3b63c079533a5e56587
/build/lib.win-amd64-3.6/fairseq/modules/quantization/pq/modules/__init__.py
b6881e26bb167f75f55dacfac72238979dd74f80
[ "MIT" ]
permissive
tmtmaj/Exploiting-PrLM-for-NLG-tasks
cdae1b6e451b594b11d8ecef3c1cd4e12fe51c9b
e8752593d3ee881cf9c0fb5ed26d26fcb02e6dd5
refs/heads/main
2023-06-16T08:26:32.560746
2021-07-14T17:50:19
2021-07-14T17:50:19
371,899,601
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from .qconv import PQConv2d # NOQA from .qlinear import PQLinear # NOQA from .qemb import PQEmbedding # NOQA
[ "qkrwjdgur09@naver.com" ]
qkrwjdgur09@naver.com
ab91db034cc7f44e288520021e2620e5204b634a
4a180430fc0dc4dd8b5948728bc5b50ac77d1662
/ghcnFTP.py
090c0840467038a6730b36248c23156b11cf7176
[]
no_license
johnmchristensen/NOAA.Python
56a0faf01d1de1bd759a2d519b808a8f6ee0ba9c
855f5a339bef57c8b9ada6e00b9ea3e1063ac888
refs/heads/master
2023-03-19T02:05:09.939088
2021-03-14T22:01:31
2021-03-14T22:01:31
346,199,154
0
0
null
null
null
null
UTF-8
Python
false
false
2,019
py
from ftplib import FTP from stationInfo import StationInfo from stationData import Station from stationData import MonthData def getAllStationInfo(): class Indexes: LATITUDE_INDEX = 11 LONGITUDE_INDEX = 21 ELEVATION_INDEX = 31 STATE_INDEX = 38 NAME_INDEX = 41 GSN_FLA...
[ "john.m.christensen@icloud.com" ]
john.m.christensen@icloud.com
4d43820c4aea93ba07694e36222ea28055300864
d2939926801729eb91c4075bb6f2b443295af18d
/backend/tests/test_token_auth.py
a85085a059b7f12a26bcfadead307418e3d01d5c
[]
no_license
releaseChecker/release_checker
cfb2e7bb4ab45e025ba15dc90378bd85f16a5a62
02fbaf2d74c96586f651cf32eed301adc809c4ff
refs/heads/main
2023-01-14T07:00:23.576722
2020-11-26T03:50:59
2020-11-26T03:50:59
300,520,624
0
0
null
2020-11-26T03:51:01
2020-10-02T06:21:50
Python
UTF-8
Python
false
false
599
py
import pytest from rest_framework import status from rest_framework.reverse import reverse class TestAuth: @pytest.fixture def requiring_auth_url(self, live_server): return live_server.url + reverse("tag-list") def test_no_auth(self, client, requiring_auth_url): response = client.get(req...
[ "roqkfwkehlwk@naver.com" ]
roqkfwkehlwk@naver.com
b6ae88cb05a5a7feabddf34c2073a2f2ab4db368
489f363c571ee3121922feebc8bf8e92e2179f9d
/wagers/migrations/0001_initial.py
b34af4c88efdc5bbcce1b0376668eb593ea51f69
[]
no_license
ryanchoe1205/wagering
4485c6fca5c7050139781193ec90c93b0094ae3c
6372d5c7ba79b6f6b2aa60a864955f56863ad86d
refs/heads/master
2021-01-16T18:12:14.342153
2013-08-28T13:19:48
2013-08-28T13:19:48
12,314,621
1
0
null
null
null
null
UTF-8
Python
false
false
8,457
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'WagerSettingSingleton' db.create_table(u'wagers_wagersettingsingleton', ( (u'id'...
[ "jColeChanged@gmail.com" ]
jColeChanged@gmail.com
089468f8e1f36838097225d9dd164abf436d4917
25d6f09c8157dfc70becd19aa43361eb7b52de1b
/tests.py
2413f1ebdf7d52f4f8c6c594ba207be724d5ad1e
[]
no_license
eguzmanf/s17c126-microblog-git
b78d8f9c5a1964e934a4d2ac40765c91a47555da
420a6873f88c06bff6db636705c7558fb5a0430b
refs/heads/master
2022-12-28T04:59:41.477266
2018-08-08T21:12:29
2018-08-08T21:12:29
144,066,834
0
0
null
2022-12-08T02:21:19
2018-08-08T20:57:29
Python
UTF-8
Python
false
false
3,616
py
#!/usr/bin/env python from datetime import datetime, timedelta import unittest from app import create_app, db from app.models import User, Post from config import Config class TestConfig(Config): TESTING = True SQLALCHEMY_DATABASE_URI = 'sqlite://' class UserModelCase(unittest.TestCase): # setUp() => wh...
[ "guzman.exe@gmail.com" ]
guzman.exe@gmail.com
9473a6fe8f89b5541d5abb47dac6dc45376dbe01
bd8fd0c735daeb93ae10dbdd58a224204790e05d
/sale_order_line_margins/models/sale.py
8a00bcf4c3661b2a7dd392799f9b0411d8c4f153
[]
no_license
Liyben/vertical-instaladores
87f3906240d2802c90b24e4402d48f33f468311b
623a4ee3745c84cff383fa52f65edf7e8806435e
refs/heads/master
2023-08-30T14:55:39.681612
2021-05-28T18:39:43
2021-05-28T18:39:43
235,099,352
0
0
null
2021-05-28T18:39:45
2020-01-20T12:44:53
Python
UTF-8
Python
false
false
895
py
# © 2020 Liyben # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import api, fields, models, _ from odoo.addons import decimal_precision as dp class SaleOrderLine(models.Model): _inherit='sale.order.line' margin_benefit = fields.Float (string='Margen', digits=dp.get_precision('Produ...
[ "soporte@liyben.com" ]
soporte@liyben.com
40fcdbd078d6c61bc662a0c83e634ccf29e1c9d0
32a921f29eb9e2478e1482ba5df26877b6c004db
/myapp/views.py
b7294f518de61601507d7d94993073ebbacfd0ca
[]
no_license
GowriShanker98/P7
429f009c892bb07c5a1bd430691c3cce99198e7e
8705bfff8a59cb07400e9332083bdf5b0a0444bd
refs/heads/master
2022-11-22T02:31:48.645501
2020-07-27T15:38:15
2020-07-27T15:38:15
282,940,888
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
from django.shortcuts import render from django.http import HttpResponse from math import factorial # Create your views here. def index(request): return HttpResponse("<h1>welcome to views of an app</h1>") def home(request): return render(request,"myapp/home.html",{'name':"CHITI"}) def fact(request,n): n=...
[ "gowrishankarkoothappan@gmail.com" ]
gowrishankarkoothappan@gmail.com
0b5be72076ca98cc30b6d85fe652a33a31717b3d
cec83c5873317bf8f7e9f963115278c874430cb2
/c09/enter_text_count_words.py
66792654428d85e6ce3aa19f5c0da4b930073e67
[]
no_license
qualityland/Python_for_Everybody
9ab7bb5094158e9eed63b69cb1bc2bd7f34a603f
280265ddde40787190a503d880b30dad3ea5d141
refs/heads/master
2023-08-19T08:46:37.272285
2021-10-14T14:50:30
2021-10-14T14:50:30
409,518,101
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
text = input('Enter text: ') words = text.split() print(words) d = dict() for word in words : d[word] = d.get(word, 0) + 1 print(d)
[ "stefan.joachim.schmidt@gmail.com" ]
stefan.joachim.schmidt@gmail.com