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
c25023e9994785ae6cf50dba0ce6282030295e61
a1ec1552bc0096405069215fcfd338e573b6c520
/app4/views.py
8d90a60803822417b04e8d38e36c639c01e6cfab
[]
no_license
BittuSoni7759/login-page
5fbcd73f9390178994647a1bf5afe989547f8f19
351471d3345ae9583f284a7ba8418ef4fb734a40
refs/heads/master
2023-07-17T17:13:09.574972
2021-09-02T16:42:38
2021-09-02T16:42:38
402,494,074
0
0
null
null
null
null
UTF-8
Python
false
false
209
py
from django.contrib import auth from django.shortcuts import redirect, render from django.contrib import auth # Create your views here. def logout(request): auth.logout(request) return redirect('/')
[ "bittusoni302@gmail.com" ]
bittusoni302@gmail.com
255089f5cf3db143f9c2043f0f21b85c69954fa5
9d5b1c022c8b6ce0c648bc6875b6844464533dd9
/setup.py
e26c7a746adfaf6623f4628dbc8e80f0c3fc5362
[ "Apache-2.0" ]
permissive
cfranken/isofit
596db6d8351be50f38cbc8eb164a7276943efc72
a67a26fe59fe0eb3fd5fe3503736294e17172f82
refs/heads/master
2020-03-30T21:42:48.136041
2018-10-03T16:22:16
2018-10-03T16:22:16
151,639,225
0
1
Apache-2.0
2018-10-04T21:39:54
2018-10-04T21:39:54
null
UTF-8
Python
false
false
1,895
py
#! /usr/bin/env python3 # # Copyright 2018 California Institute of Technology # # 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 # # Unle...
[ "david.r.thompson@jpl.nasa.gov" ]
david.r.thompson@jpl.nasa.gov
1276594023e619789a3cbf1e47b43fb77928a023
8d820b07c3af6f47d481a27826c80612791bffec
/Efficiency.py
a1d7152bde2f80e37d92a26e8ac83380b803518d
[ "MIT" ]
permissive
tybtab/radwatch-analysis
b01506f9399013f8aa2a28a4d62f214a0d805e5e
f8b9bfecac1ca7b5a761bb943f0b36ed7fbedc15
refs/heads/master
2021-01-12T04:51:14.078487
2018-05-03T21:47:13
2018-05-03T21:47:13
77,803,846
0
0
null
2017-01-02T01:01:09
2017-01-02T01:01:09
null
UTF-8
Python
false
false
2,887
py
import numpy as np import matplotlib.pyplot as plt import csv class Efficiency(object): """ Object for undertaking the Efficiency Calibration of a detector. Currently only plots the Efficiency versus Energy data and the fitted curve. """ def __init__(self, path = 'Effici...
[ "noreply@github.com" ]
tybtab.noreply@github.com
1b02cbd81e6d0d70e6c61416944602b6e863075c
e15b2ebbb9bf30a50d1e720624e9853aa269fc05
/CoverSlasher/items.py
563945642bcb4b389d94c4ea6bdfbf3d8b5cf0e0
[]
no_license
Hodo7amShichiYA/WnacgCoverSlasher
e42ce1ec438558c2890d1bf34f9a192eb1ab4f81
5734d58caedb3defff622bb45de6cd073f8b656d
refs/heads/master
2020-04-27T16:03:02.225473
2019-03-08T09:05:06
2019-03-08T09:05:06
174,470,262
1
2
null
null
null
null
UTF-8
Python
false
false
326
py
# -*- coding: utf-8 -*- import scrapy class CoverslasherItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() image_urls = scrapy.Field() #保存图片地址 images = scrapy.Field() #保存图片的信息 image_names = scrapy.Field() #保存图片的信息
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
7f09a812196c0f573db33b0a5ed6d9b411928ff8
19f18997f10e66fb96738d50c8f83a62b252f05a
/tests/numerical/fit/test_fit.py
9683412f1e1206b30c28b4ca7251e57146c0975d
[ "MIT" ]
permissive
hauchenjiang/Copulas
97036e66a9266299d097d2dcba83b340c6ef844b
64b02ebd944f150bcc5706574a739d7b75d3751f
refs/heads/master
2021-03-01T09:41:08.624375
2020-03-06T14:08:38
2020-03-06T14:08:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
932
py
import glob import json import os import numpy as np import pandas as pd import pytest from copulas import get_instance BASE = os.path.dirname(__file__) TESTS = glob.glob(BASE + '/test_cases/*/*.json') @pytest.mark.parametrize("config_path", TESTS) def test_fit(config_path): with open(config_path, 'r') as conf...
[ "noreply@github.com" ]
hauchenjiang.noreply@github.com
7264625e70a356884089103665bb18b428c082f9
0b1dc117fa9775edad8af175a1bd58d863fc3e58
/HMM.py
4fe6472df76d3bc89a82cbaedb2839f451b889d9
[]
no_license
long-johnson/HMM_Python
e5b2e4bfea646466985d8ce49c0a510a46069733
6bf8d76c413680172d206993dc80864983c3e0c8
refs/heads/master
2020-04-15T14:29:07.932793
2018-04-06T16:55:31
2018-04-06T16:55:31
48,696,638
5
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
# -*- coding: utf-8 -*- """ Various functions that apply both to Disrete HMM amd Gaussian HMM """ import numpy as np import DiscreteHMM as dhmm import GaussianHMM as ghmm def calc_symmetric_distance(hmm1, hmm2, T, K=1, seed=None): """ Calculate symmetric distance between two hmms based on the logprobs. refe...
[ "razoru93@gmail.com" ]
razoru93@gmail.com
a03639d7fa672ef3cad188728c3cb687f9110537
882180e75d746c9c0f4833b4e77de4dfde02a590
/asr/common/credential.py
5df7afed594c197355aa0faf71a88a8ff457aa54
[]
no_license
taopin/Audio_to_Intent
fbbd0362cef3a3b6e3e768ca3589e46e9ff3a73c
76b56eac4421c822ffa6994a08e2b6d22d6f9f4e
refs/heads/main
2023-08-22T01:11:37.675002
2021-10-20T07:06:15
2021-10-20T07:06:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
# -*- coding: utf-8 -*- class Credential: def __init__(self, secret_id, secret_key): self.secret_id = secret_id self.secret_key = secret_key
[ "lihai19@mails.tsinghua.edu.cn" ]
lihai19@mails.tsinghua.edu.cn
30a48182d41cbecb7caba66c3aa0354a0b546438
be91bc1add0d1f8af572eb84e4e95d76e2a4a587
/Views/Affichage/see.py
efae27c2ac7f981f029020eb515583f29e978c38
[ "MIT" ]
permissive
Mleandra/automata-brains
d03ae64b9cd4acf23b4645a51afb027dde596d2e
6c2a7714d1fcb16763084a33a2f0f1364d4f8eb8
refs/heads/master
2020-12-26T18:22:22.981632
2020-02-01T09:52:39
2020-02-01T09:52:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,631
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'UI/see.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from Models.Automate import Automate from Views.Affichage.makeView import SeeEta...
[ "yvesjordan06@gmail.com" ]
yvesjordan06@gmail.com
e074aa8e9acc9aa8608f15b10dc2257a9cfb6cdf
55b44516aad78bf34606051238d2f549d8134591
/lecture_test/linked_list.py
9b80c0cbf3b0664013f7fee6cc538ad987cc50ca
[]
no_license
hmtbgc/cs61a
470e22eb1b2a30292a654300be6efbc84d2814ce
aaf89e6f13553069a06973f62330da42fbfd82a6
refs/heads/master
2020-06-17T17:39:07.773216
2019-09-24T11:20:26
2019-09-24T11:20:26
195,995,397
2
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
class link: empty = () def __init__(self, first, rest=empty): self.first = first self.rest = rest a = link(1, link(2, link(1))) b = link(3, link(2, link(1))) combined = link(a, link(b)) def sum(lnk): empty = () if lnk.rest == empty: return lnk.first else: return ln...
[ "hmtbgc@163.com" ]
hmtbgc@163.com
850f7be79f76e3958f35634f22f146e00d19e140
be7dd069d4803f8f2367b890ef6364e75a49ae70
/NG/station/Get_StnUniqueId.py
55c53b7f4df1f389071877ea4824ba26f844350c
[]
no_license
ShervanGharari/Application-Production-Support
3e4f6eedf37fdbacd79674d01015a6ba2963aa06
23f736354500c70e0e11907d4d1254a4f03d77a6
refs/heads/main
2023-01-11T10:00:19.339521
2020-10-21T14:46:02
2020-10-21T14:46:02
306,076,505
0
0
null
2020-11-23T21:09:06
2020-10-21T15:57:57
null
UTF-8
Python
false
false
632
py
############################################## ### import requests def getStationUniqueId(stn, token, server_pub): stnIdUrl = server_pub + "GetLocationData?LocationIdentifier=" + str(stn) + "&token=" + token exists = False try: r = requests.get(stnIdUrl) exists = True print "Statio...
[ "56357108+yanxuYX@users.noreply.github.com" ]
56357108+yanxuYX@users.noreply.github.com
91f92c326775e661700467fed42718d9b09d1adb
e53d8488ffea72db3f3618f5639f2ddfa929f11b
/perpustakaan/migrations/0002_delete_buku.py
63677b59c0a8886eaae0991e502bc4c513f0449e
[]
no_license
writerlab/perpus
60473fa2b51d67617525bfc25b75656141e9529b
9cf7676a543c3414ac2e7fca88c3d26ac403be3b
refs/heads/master
2023-07-15T05:27:23.859264
2021-08-29T02:02:34
2021-08-29T02:02:34
262,490,216
5
10
null
null
null
null
UTF-8
Python
false
false
288
py
# Generated by Django 2.2.12 on 2020-05-11 07:13 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('perpustakaan', '0001_initial'), ] operations = [ migrations.DeleteModel( name='Buku', ), ]
[ "netspytux@gmail.com" ]
netspytux@gmail.com
08666a6231cbdd222deec01b14ea64c45f9cabcf
684c550fb172b7406c2dd363bd9d6c16d128337b
/PFT_Exercises/exercise-pexpect/tests/test_paths.py
0da271afa1065cb072c7d89f370701cf390d3f64
[]
no_license
kristoffern/practical-python-for-testers
5a5b6185faf318e4642234e67059ab449e2b144a
bcb0a6e6098c9d4dda4d7f3951d9b440c2b5badf
refs/heads/main
2023-01-29T07:19:32.834336
2020-12-12T22:27:07
2020-12-12T22:27:07
310,860,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,404
py
class HappyPath: questions = ('Installation path \[\/opt\/esconfs\]:', 'Full or light installation \[Full\/Light\]:', 'Deploy web server \[Y\/N\]:', 'On which port \[80\]:', 'Admin user account \[admin\]:', 'Admin acount password ...
[ "kristoffer.nordstrom@northerntest.se" ]
kristoffer.nordstrom@northerntest.se
165c5d9b380d90a46b79d0e3afc8af7a6ba40b19
72401e9527c11e0fa025c9992e7c27c04197c575
/notebook/__init__.py
667761b9f9ea22aed67fca523176f0db605bb39f
[]
no_license
mirobeka/notebook
f7d39cc1f976810d45c029f0402a93144634b21a
6838de1c482cc084f95e6abf2534153fc1d07972
refs/heads/master
2021-01-10T06:42:52.736498
2016-03-11T10:58:10
2016-03-11T10:58:10
51,080,119
3
4
null
null
null
null
UTF-8
Python
false
false
564
py
from flask import Flask from notebook.api import notebook_api from notebook.frontend import client_application API_VERSION='v1' def create_app(cfgfile=None, cfgobj=None): app = Flask(__name__) app.secret_key = '\xfe\x060|\xfb\xf3\xe9F\x0c\x93\x95\xc4\xbfJ\x12gu\xf1\x0cP\xd8\n\xd5' # register flask bluepr...
[ "mirobeka@gmail.com" ]
mirobeka@gmail.com
006d147bfedac319f1d2109e4b368c3011fffe09
1de336061eb27dee989f459404c86dae1bf78d5e
/nsnitro/nsnitro.py
c9c48e9ef15e6adc685d59710fedda96d2cd10b8
[ "Apache-2.0" ]
permissive
zojoncj/cleanthehead
4b0cea4f5a484e084afd38b8ed2c0f97df68121c
6f008e1f32e168d41bc5fbe77156b78057ff735f
refs/heads/master
2016-09-06T00:26:57.650032
2013-08-13T23:01:54
2013-08-13T23:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,051
py
""" Citrix Netscaler Nitro API accessor """ import urllib, urllib2 from nsutil import * __version__ = "0.0.2" class NSNitro: """ Main class """ __ip = "1.2.3.4" __user = "api_user" __password = "api_user" __baseurl = "http://1.2.3.4/nitro/v1/config/" __se...
[ "Josh.Zojonc@Oregonstate.edu" ]
Josh.Zojonc@Oregonstate.edu
2a930f8fc17f6a4af9fdfaeb6ff31fb3020b1552
6be845bf70a8efaf390da28c811c52b35bf9e475
/windows/Resources/Python/Core/Lib/lib2to3/main.py
21120209a72ee4a781dc2b7ce9223426acd4d8bd
[]
no_license
kyeremalprime/ms
228194910bf2ed314d0492bc423cc687144bb459
47eea098ec735b2173ff0d4e5c493cb8f04e705d
refs/heads/master
2020-12-30T15:54:17.843982
2017-05-14T07:32:01
2017-05-14T07:32:01
91,180,709
2
2
null
null
null
null
UTF-8
Python
false
false
6,385
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: main.py """ Main program for 2to3. """ from __future__ import with_statement import sys import os import difflib import logging import shutil import ...
[ "kyeremalprime@gmail.com" ]
kyeremalprime@gmail.com
36818cd817e1f1d2b3e8c9cfb87439327c2222d9
beac72992bc0f5080e3bb8363dff09e1dbef7897
/selenium_base_site.py
cc0b77853b2c78129595ee6901cc69ccd609b924
[]
no_license
nanites2000/Selenium
27f45212af44d75fd53fe5f409248abfead7d83a
02b01824adde5509b4f8991bc6a6c6ac9181e7fc
refs/heads/main
2023-03-08T11:48:57.170860
2021-02-18T08:09:49
2021-02-18T08:09:49
339,977,438
0
0
null
null
null
null
UTF-8
Python
false
false
4,155
py
from seleniumbase import BaseCase import time class MyTestClass(BaseCase): def test_demo_site(self): self.open("https://seleniumbase.io/demo_page") # Assert the title of the current web page self.assert_title("Web Testing Page") # Assert that the element is visible on the page ...
[ "nanites2000@yahoo.com" ]
nanites2000@yahoo.com
a125ce982cc39eab106b53f576d0f13157a6e8b6
ce4c00268aeb86b9d2f59216359f5ee076d39830
/checkout/migrations/0001_initial.py
34da110e344676011a150b28a9329b22b610d90f
[]
no_license
Code-Institute-Submissions/MichaelOsarumwense-Treasure_Hair_Collections_MayResub
17b2bd6a13d1133e72c5e2cbf8d3812bc0801216
add5ad99e426a383cf6a0a61206c9cba439efd1c
refs/heads/master
2023-05-09T06:41:39.579440
2021-05-28T10:58:41
2021-05-28T10:58:41
372,469,561
0
0
null
null
null
null
UTF-8
Python
false
false
2,345
py
# Generated by Django 3.1.6 on 2021-03-05 22:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('products', '0002_auto_20210302_1126'), ] operations = [ migrations.CreateModel( ...
[ "sanmicad@gmail.com" ]
sanmicad@gmail.com
bffa3b52e28fc2e8b8fef91856bc09c4cace489a
0a01dd11c0a6aab857b49ce614208a93ff76d2f0
/textract_demo_compute_score.py
93ad3d1990341069b5406ff026a133c9885ca7c7
[]
no_license
OkkarMin/CloudInterestGroup_Textract_Demo
a8f6b9571309fd286338a6e909df10c881336a76
4ea96f343f7751487b4843c54aeb032da92b3b74
refs/heads/main
2023-03-07T00:03:27.574707
2021-02-20T01:34:21
2021-02-20T01:34:21
340,531,876
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
import pandas as pd ANSWER_KEY = ('B ', 'C ', 'B ') okkar_answers_csv = pd.read_csv('./okkar_answers.csv', header=None) surabhi_answers_csv = pd.read_csv('./surabhi_answers.csv', header=None) # print(okkar_answers_csv) # print(surabhi_answers_csv) okkar_answers = okkar_answers_csv.iloc[0][1], okkar_answers_csv.ilo...
[ "omin001@e.ntu.edu.sg" ]
omin001@e.ntu.edu.sg
a981cc944965a3bd08ddd26784a406d00a5bc05c
84465be859a221db02e7f897dfcb7fcbddef0087
/Packs/ServiceNow/Integrations/ServiceNowv2/ServiceNowv2.py
479f7b7aac05133d12c7fd3674d1d20289e1cc1f
[ "MIT" ]
permissive
JT-NL/content
ba9325da86aeb5b021846e2e05ed8d2182c2d367
98b6a5447f88c8a759dddce215e2e842fb4916d5
refs/heads/master
2023-06-22T03:38:32.339175
2023-06-13T09:26:09
2023-06-13T09:26:09
280,732,243
0
0
null
2020-07-18T20:16:57
2020-07-18T20:16:56
null
UTF-8
Python
false
false
124,395
py
import re import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 import shutil from typing import Callable, Dict, Iterable, List, Tuple import mimetypes # disable insecure warnings import urllib3 urllib3.disable_warnings() INCIDENT = 'incident' SIR_INCIDENT = 'sn_si_incident' CO...
[ "noreply@github.com" ]
JT-NL.noreply@github.com
a0861006392cf9759614b170ba1c9488db09f588
92a52850355048ecd7b63bae88c567d2db2ebd11
/polls/form.py
84c94eca320cc46e6b3363f9e77deb9f6490452a
[]
no_license
nicoladilillo/Polls-project
5854274b43f6aab63e84996ee8cc3798bef64de0
8caa3c1d02e0519e654ea82cd4f2bec8aa4a0d26
refs/heads/master
2020-05-21T13:32:16.362262
2016-10-05T16:50:29
2016-10-05T16:50:29
64,008,918
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
from django import forms from .models import Choice class ChoiceForm(forms.ModelForm): class Meta: model = Choice fields = ['choice_text'] def clean_choice(self): choice_text = self.cleaned_data.get('choice_text') return choice_text
[ "nicoladilillo98@gmail.com" ]
nicoladilillo98@gmail.com
984979cab35366e04976af46b617235c3f4d653f
caa31e24557d8badf6f2f80784a5b5ec2e68e9fc
/passportd/manage.py
10e2e02b10cc0dd925f3b249ca3f60fd09639d68
[]
no_license
memoia/peek-passportd
6ec9f937e30a64f808052e950dcbc29061ca3e86
1f80b3a9c59d632739ecc824a2340611e66f2296
refs/heads/master
2020-12-24T14:26:46.067503
2014-11-03T05:23:53
2014-11-03T05:23:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "passportd.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "melnick@gmail.com" ]
melnick@gmail.com
da8a1919f3968f26d8f1b0079484e3cd70f24251
4693f529c117d347566a428a4ada6887b28ad6b0
/landmark_based_retrieval.py
ef1b3b001d827c4f2e4422e6b66ffe308a9ff888
[]
no_license
cdolea331/XSEDEClothingRetrievalPrototype
6a1815b2395d44a421a7d78ef0ce4deb078cf08f
cefa4acf1b118975f00e44ea10ff4c5506536f0b
refs/heads/master
2020-05-15T06:34:57.831103
2019-04-19T04:37:11
2019-04-19T04:37:11
182,126,602
0
0
null
null
null
null
UTF-8
Python
false
false
3,793
py
from scipy.spatial.distance import cosine import csv import cv2 import numpy as np def execute(input_path = "testSpread.csv", output_path = "results.csv", database_path = 'Landmark_BRIEF_features.csv', image_base_path = 'Data/blouseData/', keypoint_size = 64.0, landmark_constant = 1.0, feature_c...
[ "noreply@github.com" ]
cdolea331.noreply@github.com
e27718431a89a408acd5f5b2dd57f5ace29e91f3
325bf15ed9ae7c7e871bc99fcd8c694cd5dfe35b
/AnyTextFileIntoPdf-Prgrmm Rslt/AnyTextTextIntoPdf.py
2e83a30fe9e40eb51d3e7018db9cadbd1ca960f0
[]
no_license
HaziqyWqjiq/MyProjectPython
e78b0c63a56777fd01c05182391f4d14ad70d4d4
1cb4094e0f0dd370a86a53a8d39a86538ff0e7b9
refs/heads/main
2023-08-24T01:09:30.089877
2021-10-11T05:02:52
2021-10-11T05:02:52
415,782,588
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
# text to pdf # pip install fpdf / sudo pip3 install fpdf from fpdf import FPDF pdf= FPDF() pdf.add_page() pdf.set_font("Arial",size=20) pdf.cell(50,100,txt="Hello EPELY ONE") pdf.output("pdftext.pdf") print("Done! You can check it now")
[ "noreply@github.com" ]
HaziqyWqjiq.noreply@github.com
8a1d66a24fa772635a9c8347ee08db7f9861fc2d
eefc46d29e5e9900607d0d89fec697d3fbd75ea1
/directories/__init__.py
c9bf3897ae277ed6fd255dabc04012a0d85b5b8f
[]
no_license
rogfrich/start
81ad17a5e9196ffa61b749edb4377086b9b2600b
82ab0862613d29ceb9ab723d768ec21fd1c24e2d
refs/heads/main
2023-08-20T09:01:10.375250
2021-10-24T18:13:20
2021-10-24T18:13:20
418,110,783
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
from pathlib import Path directories = { 'STANDARD_CODE_DIR': Path('/Users/rich/code'), 'TEMPLATE_DIRECTORY': Path('/Users/rich/start_template') }
[ "richard.a.cairns@gmail.com" ]
richard.a.cairns@gmail.com
f1aff488cc397a61c84e4bf306f6c1cf8961a77a
4557846c914c259bd520f6c8bd358e8c5fb8e820
/bin/__init__.py
b78fa2a4678d9ddf5c8ca9c763a457facdb431cf
[]
no_license
ninthDevilHAUNSTER/EasyEnglishTerminal
7c854475b6f472d296a1f8ee25c9f5c9b961a641
3f68209b5ff9b3e35e9660b60b91ebddd99ac33b
refs/heads/master
2020-12-11T23:13:57.678840
2020-01-15T02:59:37
2020-01-15T02:59:37
233,981,587
0
0
null
null
null
null
UTF-8
Python
false
false
41
py
from bin.base import EasyEnglishTerminal
[ "luotianhan@126.com" ]
luotianhan@126.com
f224b46e3b5fabe1b29f2a1d2b9bb2378445b6da
46bdc6843e31718653c0f7e27c890f31ad9ac10c
/ssh_by_napalm.py
4aeb188c3fe9543c0f6cd471069b36914548732a
[]
no_license
ovod88/python_automation_scripts
5a4696bb6b7b59f4fc963e7d0178e7c8e8e2e4a5
70c89c836c3d5156702c3d7a3f6df236cde3ff9c
refs/heads/master
2020-03-19T03:32:56.823892
2018-08-06T12:49:51
2018-08-06T12:49:51
135,737,908
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
#!/usr/bin/python3 import json from napalm import get_network_driver driver = get_network_driver('ios') iosl3 = driver('192.168.122.151', 'ovod88', 'taon88') iosl3.open() iosl3_output = iosl3.get_facts() print(iosl3_output['hostname']) output = json.dumps(iosl3_output, sort_keys=True, indent=4) print(output) # ios...
[ "ovod88@bigmir.net" ]
ovod88@bigmir.net
a6df67081dc937ae93372cc8c5755bee0ab8b591
43be8c11bf743e4c1f09bf86ba1a6c9c8e3b776f
/DeepTradeRiskEsti_TXF/datasetLoader/chart.py
c74c54b1836f121ff5b61bf13739d1c5534d355e
[ "Apache-2.0" ]
permissive
kangchihlun/DeepTradeRiskEsti_TXF
1f95cd1bf98823af8c454634982dafa9d5a24158
2d0297a2b50f8e66d718bdc2a8b0473b71f8053a
refs/heads/master
2021-07-11T17:42:17.251373
2017-10-14T04:22:53
2017-10-14T04:22:53
106,895,590
14
3
null
null
null
null
UTF-8
Python
false
false
18,366
py
# coding:UTF-8 import numpy import talib import math from sklearn.preprocessing import scale from sklearn.preprocessing import minmax_scale class ChartFeature(object): def __init__(self, selector): self.selector = selector self.supported = { "ROCP", "MACD", "RSI", "VROCP",...
[ "noreply@github.com" ]
kangchihlun.noreply@github.com
f92227c51ec1996e3e31c2e0073f8916609625b5
e4bab7fc4e8eacb62ad35b4b58b9a5093bae44c7
/spec/rift/data/models/tenant.py
a7a4d5803847af6a42bab44665e8cd139f2cfdba
[ "Apache-2.0" ]
permissive
mkam/Rift
972d5c571ead01480519509b783ec70b0636d10f
802892f7c119845e0f2ec5b0798463f210e7061f
refs/heads/master
2021-06-01T12:33:58.147207
2015-08-27T19:35:51
2015-08-27T19:35:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
import uuid from specter import Spec, expect from rift.data.models.tenant import Tenant class TenantModel(Spec): def can_convert_to_dictionary(self): tmp_uuid = str(uuid.uuid4()) tenant = Tenant(name=tmp_uuid, tenant_id=tmp_uuid) tenant_dict = tenant.as_dict() test_dict = Tenant....
[ "john.vrbanac@linux.com" ]
john.vrbanac@linux.com
c6181955ae958e8e09f7d70d6cabc46465b949a8
9930f08717594022e0f7fde2a96baaa7fcfce784
/assignment3_prime number or not.py
c6ba297b1ad4aab747f95704e77a94145abc75b2
[]
no_license
dinesh5555/python_assignments
72bd2d1cc35a92a01826536eeb4107953d8d73c7
33fbcbe1de8f92bd6ffe07fa66640ce1ab84a756
refs/heads/master
2022-11-11T18:42:41.621053
2020-07-03T09:12:49
2020-07-03T09:12:49
276,854,185
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
#!/usr/bin/env python # coding: utf-8 # In[19]: num=int(input("enter a number")) if num>1: for i in range(2,num): if (num%i)==0: print(num,"is not a prime number") break else: print(num,"is a prime number")
[ "noreply@github.com" ]
dinesh5555.noreply@github.com
72613cfdfc84957ce2f78b079aaeccfcf9368423
9345020ae1720c401cfa0c47fd71cc5dfb303a02
/test.py
444b7d84e3a0f1680807e7772e30ec0660b3d11a
[]
no_license
Syun1/travis-test
efd21e27ff1fb8c05c9d483f9871bf8e573bb166
9ee8965763fd93790c4550fec1a0012dc0c3af87
refs/heads/master
2021-01-17T17:36:38.434361
2016-06-11T16:15:46
2016-06-11T16:15:46
60,602,954
0
0
null
null
null
null
UTF-8
Python
false
false
120
py
#!/usr/bin/python import sys res = "NG" if sys.argv[1] == sys.argv[2]; res = "OK" print sys.argv[1], sys.argv[2], res
[ "a1607so@aiit.ac.jp" ]
a1607so@aiit.ac.jp
ff457fa453332ea9f015cb50a8cbf848dcb3297b
dec76e0a8db7e8f8f43965df75f43202cd83ba8f
/caffemodel/feature_extraction.py
1663a5a81cc6f7b39c3ccc31f40730f173e722fa
[]
no_license
yasutomo57jp/deeplearning_samples
ff88748ab04d10e19d71c4ca14dfaa2741fdd33c
d60b3dfb4d00ba0c4422f8faeaf81e9cd278a154
refs/heads/master
2021-01-19T10:48:47.147573
2017-12-21T05:54:21
2017-12-21T05:54:21
60,152,419
5
2
null
null
null
null
UTF-8
Python
false
false
2,592
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # 使い方: # 画像をあるフォルダに保存しておく(images) from __future__ import print_function import sys import os import os.path import pickle import cv2 import numpy as np from chainer import Variable from chainer.functions import caffe from chainer import cuda if len(sys.argv) < 3: ...
[ "kawanishi@nagoya-u.jp" ]
kawanishi@nagoya-u.jp
8cf41bf2c38bace65ba3431ba16d3ed20a36db90
d722194fb13eb1edfcdbfd6db36112949549bde2
/config/email_config.py
9502ceeb10867d2ef3d1d9a99ccd8a22b179af0b
[]
no_license
testervic/UiTesting
2547e9e381bfb8154eec38fe633602a6ace19453
ecaf0fff7e225092bd4ec9fb58284767ec299469
refs/heads/master
2020-08-31T16:08:18.041147
2019-10-31T09:58:16
2019-10-31T09:58:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
#coding:utf-8 email_config = { #发件人 "sender" : 'zw.vic@qq.com', #收件人,多个收件人按;隔开 "receiver" : 'zw.vic@qq.com', #邮件发送服务器 "smtpserver" : 'smtp.qq.com', #发件人账号 "username" : 'zw.vic@qq.com', #发件人密码 "password" : '', #邮件标题 "mail_title" : '自动化测试报告', #邮件内容 "mail_body" : '测...
[ "469858846@qq.com" ]
469858846@qq.com
c41afe920dbadeda0752df57557343c313996051
877a1368d26279afb6a9912e28dbe9e6a8ec06c3
/ejercicios-basicos/02-binary_search.py
bc043844b1e2af4773659ecb446c98656699f123
[]
no_license
alirioangel/python-excersices
17f66f54e9b53453cacaa674f94b4423fa51c1fc
71e10d7b30c7757ba05e05ecd0ab9ebe14cb40d7
refs/heads/master
2021-01-01T22:56:35.938398
2020-02-29T19:56:43
2020-02-29T19:56:43
239,377,371
0
0
null
2020-02-09T21:34:54
2020-02-09T21:30:44
Python
UTF-8
Python
false
false
739
py
def binary_search(numbers, number_to_find, low, high): if low > high: return False mid = (low + high) // 2 if numbers[mid] == number_to_find: return True elif numbers[mid] > number_to_find: return binary_search(numbers, number_to_find, low, mid - 1) else: return bi...
[ "alirioangelarenas@gmail.com" ]
alirioangelarenas@gmail.com
e9a734e265312168e05ed8b6875b10202afd3554
e49a224c4cca17839b29beaa16a9fcac8ac72df9
/datasaver.py
523240e24787d3cb89de03840dc7f067aabb7908
[]
no_license
adnansabbir/LocationTracker
63491895d40a91b60e9b98bc037f73a659e10035
96cb639fffd920b460428580c1339b645f59c260
refs/heads/master
2020-05-07T18:59:42.843413
2019-04-18T06:05:04
2019-04-18T06:05:04
180,791,836
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
def saveData(list): file = open('tracker_data', 'w+') for data in list: file.write("{}\n".format(data)) file.close() def getData(): try: file = open('tracker_data', 'r') data_list = file.read().split('\n') data = list(filter(None, data_list)) file.close() ex...
[ "adnansabbir2012@gmail.com" ]
adnansabbir2012@gmail.com
7f78820ec7b0fb9e06f0c1b1bdf198ef2b2cabe4
77900cdd9a815caf1cd04705321ca93f5072179f
/Project2/Project2/.history/blog/views_20211114212413.py
9aa8a5a017e67a14ca1de498d7a75944f750328a
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
486
py
from django.shortcuts import get_object_or_404, render from .models import Blog # Create your views here. def all_blogs(request): blogs = Blog.objects.filter(status=1).order_by('-created_on') return render(request, 'blog/all_blogs.html', {'blogs': blogs}) def detail(request, slug): blog = get_object_or...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
f5085859358ee2e26a21ac501859baaff4b6d32d
99ff45e2a5619c5a7db814ad860c9df03b30e53d
/h2_cars.py
bbbee34a754987133c7ccdced3e75eca414cc6b9
[]
no_license
michael2112/sql
55ea4029b01e01e3c93bcb9d6f643cb993b4dab0
813c65ecc96843e9ebac9783ce840b1be1a61c5a
refs/heads/master
2020-07-05T22:45:09.466474
2020-05-14T00:38:31
2020-05-14T00:38:31
152,000,935
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
import sqlite3 with sqlite3.connect("cars.db") as connection: c = connection.cursor() cars = [ ('Ford', 'F150', 600000), ('Ford', 'Escort', 2700000), ('Ford', 'Explorer', 2100000), ('Honda', 'Accord', 1500000), ('Honda', 'Pilot', 1500000) ...
[ "mike@senseoflifesolutions.com" ]
mike@senseoflifesolutions.com
5261a0e23701194a9ed6e03c317ebc9374941a35
d14175ef247fcb0357c8fd517e1413dbbca0fa57
/api/src/main.py
e8fed0aa0cfc7228696f8e76a849d25cd3eb0550
[ "MIT" ]
permissive
Makai-Stern/shoppingify-api
9ae729f860c6d92a28a897b46602ca44b0717ffa
51913fbc51fc051ce9f3b9833aa0f398492dae29
refs/heads/master
2023-08-24T03:47:43.291257
2021-10-21T12:13:57
2021-10-21T12:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
import uvicorn from database import Base, engine from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware from fastapi.staticfiles import StaticFiles from .config import initialize_routes # Create db Base.metadata.create_all(bind=engine) app = FastAPI() app.mount("/static", StaticFiles(director...
[ "makaistern@live.seminolestate.edu" ]
makaistern@live.seminolestate.edu
57b6bba8bd5f82d7a8c4fc860ac7c792709b1230
d46e2dac9a1a38413bcd9e4a517f575b18ccc96d
/store/migrations/0005_orders.py
12cba2f3fa1082257c9ebb747878f9e0bdebd049
[]
no_license
sabbir80/E_shop
cd1f9df89347df3d292edf22437c3bf36fcc3f59
098f866fdc50bcf3000386375d0b94ff9a0e64c5
refs/heads/main
2023-03-14T09:56:52.267221
2021-02-25T06:33:41
2021-02-25T06:33:41
342,146,218
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
# Generated by Django 3.1.5 on 2021-02-14 18:27 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('store', '0004_customer'), ] operations = [ migrations.CreateModel( name='Orders...
[ "sabbirahmed4003@gmail.com" ]
sabbirahmed4003@gmail.com
69f5eeb74738e2af87590e319e2a5c8ae41e1a01
da3f97ded7d1c310f61c0346c88f995a79f6859a
/Solutions/RobotSim/Source/SimNode.py
0e413efffb944e04fbc9e5aa702c34c9144bdb7f
[]
no_license
myxiaoxiao/kaixinba
a68a75ad6f12f6668b94e22f12f26c4329905a5c
691ced946671167650f90ebaabf720d51548d860
refs/heads/main
2023-05-31T03:56:53.938720
2021-07-03T08:36:18
2021-07-03T08:36:18
367,508,806
0
0
null
null
null
null
UTF-8
Python
false
false
3,465
py
from Service import Service import json import sys import requests import time class SimNode(Service): def __init__(self, name, thisPort, nodePort): Service.__init__(self, name, thisPort, nodePort) self.mySimMap = {} def Execute(self, parameters): if 'content' in parameters and '...
[ "guxiaofenghsl@126.com" ]
guxiaofenghsl@126.com
d5a5fd248b40c965635e9177916a802d3a8d852a
ce2ac32d1e4e83a27db7b2f6c30c1a36d29698d0
/A1/vae.py
600f59fdf0d0d9f8d01653ee8f33c31dd387c397
[]
no_license
ym1495/DeepLearningAssignments
42f75cae4b91399720b1811d66fd0824ea284f2c
86f93f5e94571f5aec08e7bdcc46ebe92c2b1c1c
refs/heads/master
2021-01-19T07:47:23.955569
2017-03-14T20:55:24
2017-03-14T20:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,958
py
from __future__ import print_function import pickle import numpy as np import argparse import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision import datasets, transforms from torch.autograd import Variable import pickle import torchvision import matplotlib.pyplot...
[ "zz1409@nyu.edu" ]
zz1409@nyu.edu
09506cc6d8d44d47a476bb388c88c914536aac64
56aba02e07581eb3de286fe361d3e590af5aee03
/black-box-attack/VGGVox/draw.py
c6e933f47ebe9669503e6ba1885aa16af6a3060a
[]
no_license
zhanglei1949/AttackSpeakerVerificationSystem
51daf281a7fe9b919fd6ef85703a3ef0a2e664c9
e698dec73132b420b16beb3ae544fe3eaffdddb8
refs/heads/master
2020-06-13T01:02:34.452105
2019-08-01T06:46:42
2019-08-01T06:46:42
194,480,818
5
0
null
null
null
null
UTF-8
Python
false
false
2,692
py
import matplotlib.pyplot as plt import numpy as np import seaborn as sns fig,ax = plt.subplots() #ori_distance = [ ## [0.83, 0.85, 0.78, 0.80, 1], # [0.86, 0.82, 0.78, 1, 0.80], # [0.82, 0.96, 1, 0.78, 0.78], # [0.91, 1, 0.95, 0.82, 0.85], # [1, ...
[ "zhanglei1949@sjtu.edu.cn" ]
zhanglei1949@sjtu.edu.cn
61fc1d8eec5d3b9b963a62790170ce775fa5ca8f
20e294239b399b25f2268d33bfa5d1688176003d
/pycrawler101/case_studies/tw104.py
533acf98c5c12c10bc5ba22577c02315450c1d38
[]
no_license
ppkliu/PyCrawler101-201510
569e6e8eea682259d70e442e2a7d00f925b0fde5
dd92f57e54190f9c805a5a51be1dae3c2ce5192c
refs/heads/master
2021-01-12T20:55:33.597995
2015-10-23T17:02:12
2015-10-23T17:02:12
46,966,547
1
0
null
2015-11-27T07:44:22
2015-11-27T07:44:21
null
UTF-8
Python
false
false
2,997
py
''' Created on Oct 15, 2015 @author: c3h3 ''' import requests from pyquery import PyQuery from datetime import datetime import pandas as pd def getData(search_kw): page = 1 url = "http://www.104.com.tw/jobbank/joblist/auto_joblist.cfm?auto=1&jobsource=n104bank1&ro=0&keyword={skw}&order=1&asc=0&page={page}&p...
[ "c3h3.tw@gmail.com" ]
c3h3.tw@gmail.com
fad5e4306896158984d3b46ba9134d7ba1da6344
8c3abe504a135f926848d386a237376fb8c29717
/hello_get.py
771db69869aeb89fe70c498aeb21c49aef126715
[]
no_license
hamyco/python_flask_test
8be347fc267bef12451435bab9a0bb5b0c285dd1
d6f8d0723065ddd8ee00ea68c856189a55eb6926
refs/heads/master
2023-06-06T18:19:19.267035
2021-07-07T08:36:01
2021-07-07T08:36:01
354,491,308
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
from flask import Flask, render_template, request app = Flask(__name__) @app.route('/hello') def hello(): name = request.args.get('name') return render_template('hello.html', title='flask test', name=name) ## おまじない if __name__ == "__main__": app.run(debug=True)
[ "haimin.hu@linecorp.com" ]
haimin.hu@linecorp.com
8706b1e17ec269573b2ea81317988e43cf44c58e
2b81ac592b57a3477ae70cda12b83cd41e8a9d7e
/yeanay/ideology/views.py
5a1fc67a334055c8d6ba2d13497cda44216e9f5e
[]
no_license
yeanay/yeanay.io
1b4b893fa3d6ca6c1b8c946725ec80e6e6a530e4
4e709f10c6698c587c694ef2b76bf1334bc4a87b
refs/heads/master
2021-01-20T11:29:41.851566
2013-05-24T20:13:40
2013-05-24T20:13:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
from django.http import HttpResponse from ideology.models import Ideology, Legislator, LegislatorSession from django.db.models import Avg import json def congress(request, congress_num, cham): full_congress = Ideology.objects.filter(congress=congress_num, chamber=cham) json_dict = [] p...
[ "chrbrown@sas.upenn.edu" ]
chrbrown@sas.upenn.edu
46a9d01adeb5180d9d78056ca7b5bbda3cd4b32e
c17ab2964a82403aad044e1674fd4389e64a4ab1
/Transversal2/main.py
d57080a3f82ecb24b3b5a7cdea056efe6f811e9b
[]
no_license
alfonsopajueloaguirre/PythonExercises
bacaec1366b9ac5aa6d5119e4888571c5048819b
98195035a56f3bfa30e6687bd0d7f9d9bcec8a17
refs/heads/master
2023-02-20T13:29:35.365089
2021-01-24T13:27:52
2021-01-24T13:27:52
332,299,903
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
RUTA_DATOS = "Transversal/datos.txt" RUTA_RESULTADOS = "Transversal/resultados.txt" class Pais(): def __init__(self, nombre, lista_jugador): self.nombre = nombre self.lista_jugador = lista_jugador class Jugador(): def __init__(self, nombre, apellido, edad, mano): self.nombre = nombre ...
[ "46894176+alfonsopajueloaguirre@users.noreply.github.com" ]
46894176+alfonsopajueloaguirre@users.noreply.github.com
084e537b07673218e37ad8d96b7609c358645a1a
b5d9762757279f30affc5c9e9be87860723b975c
/lib/speed_riak.py
eebfe14eca9480687dd503b4a8b897c56cd2227f
[]
no_license
cwoodruf/sfu-cmpt415-summer2014-cloud-db-test-framework
59c0ef69fde3e2c2e6a9732baf7368195cd20e56
effaa38a523e1b97877a545d44e0430669031ffc
refs/heads/master
2020-05-05T03:15:18.299849
2014-08-21T17:57:06
2014-08-21T17:57:06
32,189,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
import riak import nanotime import time testprops = { "basic": {'n_val': 3, 'r': 1, 'pr': 1, 'w': 1, 'dw': 1, 'pw': 1, 'allow_mult': True}, "lww_all": {'n_val': 3, 'r': 'all', 'pr': 'all', 'w': 'all', 'dw': 'all', 'pw': 'all', 'allow_mult': False}, "lww_quorum": {'n_val': 3, 'r': 'quorum', 'pr': 'quorum', 'w': 'quo...
[ "cwoodruf@sfu.ca" ]
cwoodruf@sfu.ca
73a769860358682887712313fed38e62177e3612
55815c281f6746bb64fc2ba46d074ca5af966441
/medium/299.py
4b6e196e858ad7ee70a73d1e40dbf8f868f06bf8
[]
no_license
brandoneng000/LeetCode
def5107b03187ad7b7b1c207d39c442b70f80fc2
c7a42753b2b16c7b9c66b8d7c2e67b683a15e27d
refs/heads/master
2023-08-30T23:38:04.845267
2023-08-30T08:42:57
2023-08-30T08:42:57
199,584,584
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
import collections class Solution: def getHint(self, secret: str, guess: str) -> str: cows = 0 bulls = 0 for i in range(len(secret)): if secret[i] == guess[i]: bulls += 1 secret_counter = collections.Counter(secret) guess_counter = colle...
[ "brandoneng000@gmail.com" ]
brandoneng000@gmail.com
b512390af438cdc73eb5ce37c35ba0cdb58628f9
1041bfa8fe0d145ad196c93eb08b58bf17581864
/extra/dynamic/bellmanford.py
e18b9b4e5a2bd29feee6dd131ac5fd703409473d
[]
no_license
arshadansari27/aoa
9bc2eb15adc320a83c844aacecaf6a4e57a4a642
93cb4cadd8fa0dcc6ce91ebaa8b7b907d151998e
refs/heads/master
2021-01-25T07:11:39.712833
2014-05-09T18:30:34
2014-05-09T18:30:34
17,389,674
0
1
null
2014-05-09T18:30:34
2014-03-04T03:54:24
C
UTF-8
Python
false
false
1,670
py
import sys def bellman(edges, source): distance = {} predecessor = {} for v in edges.keys(): if v is source: distance[v] = 0 else: distance[v] = sys.maxint predecessor[v] = None for k in edges.keys(): for i in edges.keys(): for j in ...
[ "arshadansari27@gmail.com" ]
arshadansari27@gmail.com
ca33541472a33f07b0de2f75d8adbb76ccd1ca6d
89239bc5be24719a990ff6158cb085478c40d265
/DemoDB2.py
36c261f3f65ce4dbfd5a36b1a0f2cfbf324c62ae
[]
no_license
Giyoung-93/python0405
ac8ea3fa7bacca9010ab22bcca569d799f532858
97775b2b9a9bd1d8c24f2fd2ae4c123ca56a1697
refs/heads/master
2023-04-06T21:21:00.865797
2021-04-08T08:16:25
2021-04-08T08:16:25
354,692,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
# DemoDB2.py #SQLite를 사용하는 데모(로컬 데이터베이스) import sqlite3 #처음에는 데이터베이스파일에 저장 con = sqlite3.connect("c:\\work2\\sample.db") #SQL구문을 실행하는 것은 대부분 커서 객체 cur = con.cursor() #저장소(테이블)을 만들기: 테이블 스키마(뼈대) cur.execute("create table PhoneBook (Name text, PhoneNum text);") #1건 입력 cur.execute("insert into PhoneBook values ('derick'...
[ "zxzx0520@gmail.com" ]
zxzx0520@gmail.com
e51b95bc426d5a961262e9a81ab085a478d9b3f1
8a0a0485d6fde177241545408ab2289d915b5551
/django/apps/email.py
d9447c03acd0ad3517db74e05f616d14b32a644b
[]
no_license
pabnas/pavimentos
9af96f09b7352350c07ddfe8bb5dbccb93238cb8
d72b641e94821c564a22783655efbba8e7cd2489
refs/heads/main
2023-06-24T04:15:05.597826
2021-07-22T00:30:00
2021-07-22T00:30:00
383,232,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
from django.core.mail import EmailMultiAlternatives from django.core.mail import EmailMessage import img2pdf from PIL import Image import os """https://www.roytuts.com/how-to-send-attachments-with-email-using-python/""" def Enviar_correo2(subject, to, text): subject = subject from_email = "pointdato@gmail.co...
[ "santibarry1930@gmail.com" ]
santibarry1930@gmail.com
3b6866906136844824c0913c1cf8fbe9dee69e42
01bc372702bbc235c43fdd4ed684b8a328b8cc2e
/ninja_gold/apps/my_app/urls.py
843ddc906ead8cad87afb4c707e0fb06c66cc63c
[]
no_license
ariasamandi/django_2
21a53ea4bacdf632e81e13c23f99d3f29986dccd
87f5d7bf3aba45573a1d7b64c0930d26a9ee713b
refs/heads/master
2020-03-15T02:26:34.084669
2018-05-09T01:16:51
2018-05-09T01:16:51
131,906,419
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.index), url(r'^process_money/(?P<loc>\w+)$', views.process), url(r'^reset$', views.reset), ]
[ "ariasamandi@gmail.com" ]
ariasamandi@gmail.com
3e63aa4464698d9c254acbc385a426964835fadf
f939133a4051461e83f66699542ab6c92852640f
/conditional-sentences.py
3c8fe579505aa9ddff3458bdaa3cbbd559c15aa6
[]
no_license
altarimig/week3-session3
cc7e0f4fa72340f98e98a0ad54363fc49de0200f
3634319f06e8c1e8f8e57c596bfd4758f604d1d1
refs/heads/master
2022-09-03T08:35:27.071142
2020-05-27T21:46:14
2020-05-27T21:46:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
"""palabras = ["gato", "perro", "ventana", "defenestrado"] for val in palabras: if val == "ventana": break print(val) print("Final!!!")""" ##### RETO ##### lista = [1, 3, 20, 10, 50, 100, 31, 1000] for val in lista: if val == 3: print(val) if val % 2 == 0: print(f"El valor {val...
[ "miguel.altamirano@pachaqtec.edu.pe" ]
miguel.altamirano@pachaqtec.edu.pe
3cd07eb10c18113ece98a000337eb0ace652e3c9
36e8b5c6c34e1fbad37922d714c3d0dbd699d448
/examples/01_plotting/plot_demo_more_plotting.py
218e169a4965c897f5f7e8133d900c503c0673af
[ "MIT", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
markushs/nilearn
c87da146c7109c86d5d794570e68e716c5a72bfc
4a6012da5be83310a08bf1fc15d9189c3a0bc425
refs/heads/master
2020-05-02T14:07:07.143134
2016-06-09T09:19:07
2016-06-09T09:20:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,888
py
""" More plotting tools from nilearn ================================ In this example, we demonstrate how to use plotting options from nilearn essential in visualizing brain image analysis results. We emphasize the use of parameters such as `display_mode` and `cut_coords` with plotting function :func:`nilearn.plottin...
[ "dkamalakarreddy@gmail.com" ]
dkamalakarreddy@gmail.com
ccaac9073472d8c60c37e12201d498a543b585a0
b5b601dec6ea846ef16de5759ea53f7eccf28f5f
/usingsqlite.py
110b6a0283ac070aa90e95f6d5576d515f0895b7
[]
no_license
cool51/cs50project1
cf4b77571ce15ec0ba66d488f50fe54b2f0ae8ad
2a76a461682d861d0908d4b8647a98f8a18f562a
refs/heads/master
2022-04-26T16:35:45.277641
2020-04-27T10:22:27
2020-04-27T10:22:27
258,726,482
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
from flask import Flask,render_template,request from sqlalchemy import create_engine db = create_engine('sqlite:///newemployees.sqlite') # echo output to console db.echo = True conn = db.connect() conn.execute(""" CREATE TABLE newemployee12 (id INTEGER PRIMARY KEY,name STRING(100) NOT NULL,birthday DATE NOT NULL)""") c...
[ "noreply@github.com" ]
cool51.noreply@github.com
031e39b6c9583ff76a7cfdfdd76a02cb702cf810
0e7c5d081b113463d59728de827239e11967bf61
/base/serializers.py
91846fe25a265d6cc88db163ccd86c7205bf4a63
[]
no_license
fhrryDeveloper/React-Django-Shope-backend
cab1d54e718a7a1186b182ec936eea8f1d2481af
d89892454cda060a743612e8d206d11aea26fa05
refs/heads/main
2023-04-08T01:02:33.801097
2021-04-21T23:55:05
2021-04-21T23:55:05
360,339,679
11
0
null
2021-04-21T23:58:32
2021-04-21T23:58:31
null
UTF-8
Python
false
false
3,799
py
from rest_framework import serializers from django.contrib.auth.models import User from rest_framework_simplejwt.tokens import RefreshToken from .models import Shop, Product, User, Order, OrderItem, ShippingAddress, Review, Review_Shop # UserSerializer class UserSerializer(serializers.ModelSerializer): name = se...
[ "69484492+topdeveloper0729@users.noreply.github.com" ]
69484492+topdeveloper0729@users.noreply.github.com
610dffc1617cd22bd7b8e889c292a9d1ef1e3346
677002b757c0a1a00b450d9710a8ec6aeb9b9e9a
/tiago_public_ws/build/tiago_bringup/catkin_generated/pkg.develspace.context.pc.py
dd49ac14d12608a0d4daa23f54bf5fb2b0e9670f
[]
no_license
mrrocketraccoon/tiago_development
ce686c86459dbfe8623aa54cf4279021342887fb
a0539bdcf21b67ab902a4649b516dcb929c54042
refs/heads/main
2023-06-16T19:39:33.391293
2021-07-08T21:20:03
2021-07-08T21:20:03
384,249,894
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "tiago_bringup" PROJECT_SPACE_DIR = "/...
[ "ricardoxcm@hotmail.com" ]
ricardoxcm@hotmail.com
4af74a933a0a3e003647d10696dc9afb71b9e739
080c13cd91a073457bd9eddc2a3d13fc2e0e56ae
/MY_REPOS/awesome-4-new-developers/tensorflow-master/tensorflow/python/framework/experimental/math_ops.py
bb168de21996ba1f8aa825afb66054bf16c1f338
[ "Apache-2.0" ]
permissive
Portfolio-Projects42/UsefulResourceRepo2.0
1dccc8961a09347f124d3ed7c27c6d73b9806189
75b1e23c757845b5f1894ebe53551a1cf759c6a3
refs/heads/master
2023-08-04T12:23:48.862451
2021-09-15T12:51:35
2021-09-15T12:51:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
# Copyright 2020 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 required by applica...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
af978b8588e00a513c8060288cad8f31eb5090f7
b482937e2b452e8ff40ecaba349ba56214c795c8
/Regression/PolynomialRegression/polynomial_regression.py
ed2f4a9a98a32e9de7bbe1e023633f2d122de5a3
[]
no_license
machine1010/Machine-Learning
93bed7002c17aa5bd14633bf125447708dc37845
41710af4153c08bccc1fbc8baad36c50e0393c23
refs/heads/master
2022-10-09T09:47:04.941382
2020-06-08T20:22:26
2020-06-08T20:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np def main(): # Step # 1: Data Prepossessing # Reading the data print("Reading the data...") dataset = pd.read_csv("../../DataSets/PolynomialRegression/Position_Salaries.csv") print("Dataset contains") print(dataset.count()) ...
[ "iftikharliaquat1995@gmail.com" ]
iftikharliaquat1995@gmail.com
29d682db283e2dc08722ab6dd840796f0e982a94
e67a0139092d3389fea0075de9ecf12ab209649f
/scripts/addons_extern/AF_3dview_specials/VIEW3D_MT_armature_specials.py
47b9a6cae734433af79d7e3a2b6eef5aca78063f
[]
no_license
amagnoni/blenderpython
9fe864d287f992b7cd71cd584fca4a501a6ac954
d2fec1a35369b7b171e2f0999196b87e242e08f3
refs/heads/master
2021-01-18T11:28:55.372759
2015-10-17T20:16:57
2015-10-17T20:16:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,882
py
# 3Dビュー > アーマチュア編集モード > 「W」キー import bpy import re ################ # オペレーター # ################ class CreateMirror(bpy.types.Operator): bl_idname = "armature.create_mirror" bl_label = "Select bones mirroring." bl_description = "Mirrored at any axes selected bone." bl_options = {'REGISTER', 'UNDO'} def execute...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
8202d1b489625da9c60418e27fe1e6c60abb3afa
1dfecf561529551a67a17d07a345cd61377aa36f
/edblog/urls.py
a88b2529f11b062d314aee7f5d5bcab9f7ce2bac
[]
no_license
emmanueldd/DjangoBlog
7174a95e06792e412203c56bfbd193f439ba870b
05aa56f8a00d0cb23e0953f5818190bcad791a98
refs/heads/master
2021-01-10T12:38:12.696188
2015-12-18T20:37:35
2015-12-18T20:37:35
48,249,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
"""edblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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-base...
[ "e.derozin@gmail.com" ]
e.derozin@gmail.com
c3b0806a1a10dc677613be45805ff9d836e2ce5b
3d304f5b2f63edf882f0ca7f8164ac9a40300709
/caffe2onnx/src/op_layer_info.py
e844fd2a3c8ee7a7370230a94b9b4c8a1f288e92
[ "BSD-3-Clause" ]
permissive
fangichao/caffe2onnx
107251660387cf0373a3528bdbb8958053428012
865730aed5e80474a224d81a8faebc788d6af1b4
refs/heads/main
2023-05-06T06:48:23.269035
2021-05-29T15:01:00
2021-05-29T15:01:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
from onnx import TensorProto from caffe2onnx.proto import caffe_upsample_pb2 as caffe_pb2 # caffe layers Layer_CONCAT = caffe_pb2.V1LayerParameter.CONCAT #3 Layer_CONVOLUTION = caffe_pb2.V1LayerParameter.CONVOLUTION #4 Layer_DROPOUT = caffe_pb2.V1LayerParameter.DROPOUT #6 Layer_INNER_PRODUCT = caffe_pb2.V1LayerParamet...
[ "dmc5mod@yandex.ru" ]
dmc5mod@yandex.ru
22ecb6d18655d8918bf94146342aeafbeebf2a4c
7d98d6885d7bcc4d55be9acbbdda942b68c5cb9a
/generate_qsub.py
6ec396e2f8569f7f66d68f4e789ced8ea3432140
[]
no_license
ThibaultLatrille/RedQueen
189cda344f31cd286b35a739fffad4f93c14dbad
172a03c327a95dce567842e17fcb4a99aa99d1c4
refs/heads/master
2022-05-31T21:13:33.993411
2022-03-22T13:42:16
2022-03-22T13:42:16
50,335,290
4
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
import os dir = "./qsub" i = 0 os.system('rm ' + dir + "/*") params = ["-u 1.0 -v 10.0 -f power -a 0.01", "-u 1.0 -v 10.0 -f poisson -a 10.0", "-u 10.0 -v 10.0 -f poisson -a 10.0", "-u 10.0 -v 1.0 -f poisson -a 10.0"] for c, t, s in [[32, 100, 64], [32, 50, 32], [16, 30, 16], [8, 60, 32]]...
[ "thibault.latrille@ens-lyon.fr" ]
thibault.latrille@ens-lyon.fr
32f86ace412325cb24bd5e915fe22f678c215b1b
985f130e562e18d3106e2b641aece2dacfd348ee
/src/primal/contrib/flask/exceptions.py
f3a102a9af1b439c6745111ace5acb464039c302
[]
no_license
voidfiles/primal
dcb71276ef1a2ba0522b7dc1c2b59484b4341fca
5dbcc336abd9533e24530739fe273a686a2252e4
refs/heads/master
2021-05-14T02:10:03.291503
2018-01-07T20:00:58
2018-01-07T20:00:58
116,587,383
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
def format_error_message(message, info, slug): return { 'error_message': message, 'error_info': info, 'error_slug': slug, } class APIException(Exception): status_code = 400 def __init__(self, message, status_code=None, slug="non-specific", info=None): ...
[ "akessinger@bepress.com" ]
akessinger@bepress.com
14258aac0b0a7e639801a834cddbdf0089e45ea8
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_240/ch140_2020_04_01_19_19_15_085921.py
4c86827b303c447f074e6de350d868de44996204
[]
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
204
py
def faixa_notas(notas): a = 0 b = 0 c = 0 for i in notas: if i < 5: a += 1 elif i <= 7: b += 1 else: c += 1 return [a ,b ,c]
[ "you@example.com" ]
you@example.com
e9f2ba61dbeead5592485505beee0d62323ad63a
058d6faeba874b6324d52463e059d6e2b2ec1889
/mtgjson5/compiled_classes/mtgjson_tcgplayer_skus.py
88632765876277f7f80e20ea02fa46cc0af6558d
[ "MIT" ]
permissive
0az/mtgjson
f077b784586654494728d198adfc5201da94b9a9
64e4e0a452911418e608df932fbf12af5dcb1a35
refs/heads/master
2022-12-17T21:34:16.445461
2020-09-23T17:13:15
2020-09-23T17:13:15
298,050,106
0
0
MIT
2020-09-23T17:48:41
2020-09-23T17:48:40
null
UTF-8
Python
false
false
1,513
py
""" MTGJSON TcgplayerSkus Object """ import logging import pathlib from typing import Dict, List, Union from ..providers import TCGPlayerProvider from ..providers.tcgplayer import convert_sku_data_enum, get_tcgplayer_sku_data from ..utils import generate_card_mapping LOGGER = logging.getLogger(__name__) class Mtgj...
[ "noreply@github.com" ]
0az.noreply@github.com
1ac52a959bf11a33051c857d8c7123aba92e2e67
7172f674359425b0980ba117afc47a80ae80f33a
/Frontend.py
d588616498341e466fb0a01e1d19999e95472977
[]
no_license
ManosGero/books
104e94c3c2be925fc02340a63c59166fbbe2ec92
7585ec0107135145eedcb59d1e6d10493b05ba73
refs/heads/master
2020-08-26T19:00:51.021866
2020-03-26T16:15:39
2020-03-26T16:15:39
217,111,741
1
0
null
null
null
null
UTF-8
Python
false
false
2,709
py
from tkinter import * import backend def get_selected_row(event): global selected_tube index=list1.curselection()[0] selected_tube = list1.get(index) e1.delete(0,END) e1.insert(END,selected_tube[1]) e2.delete(0,END) e2.insert(END,selected_tube[2]) e3.del...
[ "pli1723@gmail.com" ]
pli1723@gmail.com
5fd485f6a42ad5549abb8f9b3500ace2a0e330fa
79312d0487aa7e0eb9936a2c1cffcb63349822e1
/Assignments/Day-1/p1.py
ae4387b9e351dac52c7fafaa0532da91cdecaf26
[]
no_license
AswiniSankar/OB-Python-Training
75a04fee81b1f76ea226b8599ba2360da51c3ac2
80ba00991e0e345c3b5680eb64a79e6f5bb1190a
refs/heads/master
2023-06-03T03:00:01.280123
2021-06-20T10:10:43
2021-06-20T10:10:43
376,510,153
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
# program to find maximum of three numbers a, b, c = eval(input("enter three values")) max = a if a > b and a > c else b if b > c else c print("the maximum value is " + str(max))
[ "aswinisuguna2@gmail.com" ]
aswinisuguna2@gmail.com
9d4fa0a1977714a0290798e157f5b22310e8461f
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/hdinsight/v20210601/_enums.py
edcf6d44105644a4c49b3c3c4900f7f15073a76f
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** from enum import Enum __all__ = [ 'DaysOfWeek', 'DirectoryType', 'JsonWebKeyEncryptionAlgorithm', 'OSType', 'PrivateIPAllocationMe...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
fb629e7fe336b2a8fb237488f2d1c749bfac8f70
4f67f6b5898a0969838b4f08890afde4ff853eae
/spider.py
38b6d1cd62b43516b3e2607651d5323be9c0906f
[]
no_license
EmpGro/Maoyan100
31e5ec28b1a4f9167fd3ea95c046cec047346ebc
f20d667a9b7334edae4fcf7def9c813ac198c3dd
refs/heads/master
2021-05-16T11:52:25.758576
2017-09-28T08:24:50
2017-09-28T08:24:50
105,122,008
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
import requests from requests.exceptions import RequestException import re import json def get_one_page(url): try: response = requests.get(url) if response.status_code == 200: return response.text return None except RequestException: return None def parse_one_page...
[ "linangfs@163.com" ]
linangfs@163.com
a7e651038218c9e972e369896ec435d505b8823a
a4135d6b14b05cb1aacfaa9548e5bf9db1ef8585
/pddlstream/language/stream.py
8f7b912af7192e42f26c74ade003ef963f7c1a42
[ "MIT" ]
permissive
yijiangh/pddlstream
e3b05a237c3e510b1fb2aad4d0bcd62c35f0f49b
8d3782fc65a2c44c77ae34eba9769d855925c10e
refs/heads/master
2023-03-11T00:17:24.716411
2018-11-02T19:02:42
2018-11-02T19:02:42
155,922,752
1
0
MIT
2018-11-02T21:21:11
2018-11-02T21:21:10
null
UTF-8
Python
false
false
18,592
py
import time from collections import Counter, defaultdict, namedtuple, Sequence from itertools import count from pddlstream.algorithms.downward import make_preconditions, make_parameters from pddlstream.language.constants import AND, get_prefix, get_args, is_parameter from pddlstream.language.conversion import list_fro...
[ "caelan@mit.edu" ]
caelan@mit.edu
dd63361c4e4d44981fa2db5ade5f1c511a995157
2726d731dbc75816e98d4ffefa78816959b9a3af
/04.26.51_1920.1080_421M/30.py
b2cf36fb591ebefb08b5bb717523463ab01dec88
[]
no_license
suvrajeet01/python
b1280b840c3a1898ab872db1122f30cfd8fb48f1
f3af690e4779ae3dc1ef6dfa58a133d6ae06f12f
refs/heads/master
2022-09-10T22:01:46.743791
2020-05-18T17:18:22
2020-05-18T17:18:22
256,516,586
0
0
null
null
null
null
UTF-8
Python
false
false
2,363
py
#Modules and pip #using modules in python #modules are external python files that can be imported to current python file and all the functions and other stuffs from that file can be used in the current file after importing it import useful_tools #importing external python file or module print(useful_tools.roll_dic...
[ "suvrajeetbanerjee34767@gmail.com" ]
suvrajeetbanerjee34767@gmail.com
c1b2e243d0b711a5d1b79c385fe8b6cb87d4e746
87e3e9630911138a38322384df02b300a8ca1211
/Depth-first Search/100 - Same Tree.py
94ec3005bbedfd16845e26bc1a15120c471ce447
[]
no_license
JSantosha/LeetCode-Python
238df566e3a4d6a54e2beb34c60b189773dabe00
abbbc36788313f6087fbed5821f52ab161854894
refs/heads/master
2018-10-22T14:08:10.290364
2018-09-15T02:49:31
2018-09-15T02:49:31
126,122,322
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def isSameTree(self, p, q): """ :type p: TreeNode :type q: TreeNode :rtype: bool ...
[ "jillellavenkateswarlu@gmail.com" ]
jillellavenkateswarlu@gmail.com
e7d32f77d9828fea0ee44db2553119cbf58a159e
3082582055ee57d94286ccfe5736df0a2bd10b79
/PycharmProjects/pythonProject10/hw15/models/models.py
8bc8646d40939d5ed4127a91dba2afc42c180923
[]
no_license
dmytroreva/cursor
776dff6a1ef73e723924890915beba8b7770f51e
dc675bbdb1ea9723ca07fabd173e58d0b9efc0df
refs/heads/master
2023-07-08T04:17:02.401738
2021-08-12T21:18:34
2021-08-12T21:18:34
341,545,473
0
0
null
null
null
null
UTF-8
Python
false
false
2,757
py
"""Data models.""" from app import db from helpers.serializers import Serializer class User(db.Model, Serializer): """Data model for user accounts.""" __tablename__ = 'users' id = db.Column( db.Integer, primary_key=True ) username = db.Column( db.String(64), index=F...
[ "revadise@gmail.com" ]
revadise@gmail.com
7d121d39dadb86ea8ec9d812b500334909cb0534
7cd63054a4d363aa143f154b33af400b350d9d11
/NBprocessing/categorical/_general_functions_categorical.py
3dfa60171dbb42714c83596ebfcdf365a2a5e737
[ "MIT" ]
permissive
torreaopt/NBprocessing
5b5dd2d659119728fbd2159add65c11f67000c04
3b020829e9c2ec0ef67b881a69637ac14e635e75
refs/heads/master
2022-12-28T20:49:15.208833
2020-10-07T11:17:45
2020-10-07T11:17:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
import re from NBprocessing.src import constance_object def color_imbalanced(raw_input): """ Takes a scalar and returns a string with the css property `'color: red'` for negative strings, black otherwise. """ color = constance_object.BLACK if raw_input != "0.00": pattern = re.compi...
[ "nirbarazida@gmail.com" ]
nirbarazida@gmail.com
3a86a7e83c8d88aa0d7e0a5952a56771bd01f41a
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/604-tideGauge.py
6e967f2eb7f15063af6ad0c01079f2c24d39111e
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
1ef315af20a8dc8e72738bc364065d2ebb3d3e16
df6bb6714cb725edda5db2bed2d37b3c55b6118c
/ocrolib/morph.py
3ed29c932247c8edfd61b56a6d9f244670142030
[]
no_license
binfen/media_report_page_segment
789128bcb8826ce1b06ff28c76198ee576e4dce8
ac8da1efb013cb583fb25d36d44b3f947d5ca989
refs/heads/master
2020-03-23T14:46:06.464115
2018-07-20T10:28:15
2018-07-20T10:28:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,454
py
################################################################ ### various add-ons to the SciPy morphology package ################################################################ from __future__ import print_function from numpy import * import pylab from pylab import * from scipy.ndimage import morphology,measurem...
[ "31203714@qq.com" ]
31203714@qq.com
9df9f831ab4c12e1d9076b116e537fc52979817f
28068dd53ea6cf1b443af7ded3d9dd6341ea5ad9
/occlusion_map.py
ff51e3e84e537e4bd7d97a1f38a4c90de65c3f45
[]
no_license
bsaghafi/3DCNN-dMRI
5a0d704a1d35120c0bf3df9335addda406dfb41f
332e37853a7a68276e3b0b7168ecf8397d4fe701
refs/heads/master
2020-03-29T20:09:06.633036
2018-09-25T20:14:59
2018-09-25T20:14:59
150,298,085
0
0
null
null
null
null
UTF-8
Python
false
false
14,283
py
# Purpose: computes occlusion maps for the high impact exposure sample or (low) # Inputs: delta FA maps (Post-Pre) and their classification labels, the 3DCNN model, the subject to compute the occlusion map for # Outputs: occlusion map # Date: 01/20/2018 # Author: Behrouz Saghafi import numpy as np np.random.seed(2016) ...
[ "noreply@github.com" ]
bsaghafi.noreply@github.com
2b73094cd52f82c9edc6aedc763c994ba6d9e6be
6092f1215afb816ce253ce9177e9ed5985e3cbb3
/Demo/009_patterns/pattern14.py
86e805dfb84c886b7c864d14514d7e5bfbd968f2
[]
no_license
Ataago/Python
6060f39eddc226841a85ef1235e682cc34b76a84
c0185090019f56e9a6a8769be1ae12cd5becba2c
refs/heads/master
2021-04-30T01:47:51.582359
2020-06-10T20:36:02
2020-06-10T20:36:02
121,490,288
1
3
null
null
null
null
UTF-8
Python
false
false
169
py
""" Program to display the following pattern example: Enter number (n): 4 pattern: 4 4 3 3 2 2 1 """
[ "ataago7@gmail.com" ]
ataago7@gmail.com
23c4329d40500aec2c3c730b0cf2ec1d3e0aa6f5
fc63bcaaebbb153ac2b8047d3f36b63b872a675f
/pazhur/bin/python-config
11ec33560324f042f30a679693ef9cfdda367972
[]
no_license
temi999/pazhur
571dd5aa83edb0a2f691752c637ff63b6f387814
2ceb72d18707f60695b6c21149f95e5638e4d5af
refs/heads/master
2022-05-03T23:28:36.046203
2019-12-03T21:01:31
2019-12-03T21:01:31
223,620,354
0
0
null
2022-04-22T22:48:03
2019-11-23T16:34:47
Python
UTF-8
Python
false
false
2,360
#!/home/vitaliy/pythonprojects/pazhur/pazhur/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if sys...
[ "temi999@github.com" ]
temi999@github.com
c82ac9545934cfb4af8dfdc42bb29a78cf7b1306
1a87ba6ca3e0636b85c67a7fc86c190322e6df2e
/widget/calendar.py
0321482b6d80c152c99fcbe9c52623f1738c6378
[]
no_license
Sincoyw/PyQt5
f9fe8a0a3678dfdb96899767b76d1f3d4597d7c6
dff5f0b6471341645e993144bb80568da3704b98
refs/heads/master
2020-03-26T05:19:49.126734
2018-08-14T12:07:42
2018-08-14T12:07:42
144,551,227
0
0
null
null
null
null
UTF-8
Python
false
false
999
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ ZetCode PyQt5 tutorial This example shows a QCalendarWidget widget. Author: Jan Bodnar Website: zetcode.com Last edited: August 2017 """ from PyQt5.QtWidgets import (QWidget, QCalendarWidget, QLabel, QApplication, QVBoxLayout) from PyQt5.Qt...
[ "heaven_20062006@126.com" ]
heaven_20062006@126.com
282178eb96083ed7af80ea573a1dde94a35cd474
1bad7d2b7fc920ecf2789755ed7f44b039d4134d
/ABC/141/D.py
d02d4346f436cb62c503781981a2c46b5f3839df
[]
no_license
kanekyo1234/AtCoder_solve
ce95caafd31f7c953c0fc699f0f4897dddd7a159
e5ea7b080b72a2a2fd3fcb826cd10c4ab2e2720e
refs/heads/master
2023-04-01T04:01:15.885945
2021-04-06T04:03:31
2021-04-06T04:03:31
266,151,065
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
n,m=map(int,input().split()) a=list(map(int,input().split())) for i in range(m): a[a.index(max(a))]//=2 print(sum(a))
[ "kanekyohunter.0314@softbank.ne.jp" ]
kanekyohunter.0314@softbank.ne.jp
26f83b49b30e77c3576bfa0efc605f495d5ebbe3
ffd77fb196b667ab8b6e36788d5e3996800fac03
/bb_pc/pong2p.py
0e479beb1a27b1cbc39acf3ab2a2104425252042
[]
no_license
wozu-dichter/brainbats
891f8a388bb416d4d0a46850e0d406864d8c1dc0
f587b504bcbbad65023b22be097df130e2d770e0
refs/heads/master
2021-12-03T14:25:05.226628
2014-07-19T03:08:36
2014-07-19T03:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,784
py
import pygame, sys from numpy import * from pygame.locals import * import scipy from pyeeg import bin_power pygame.init() import serial from time import sleep MAX_POLLS = 55 fpsClock= pygame.time.Clock() window = pygame.display.set_mode((1024,600)) pygame.display.set_caption("Mindwave Viewer") from parser import * ...
[ "DrReeves@gmail.com" ]
DrReeves@gmail.com
c716cba94127a5205a0509fb780da122e31af450
9997cdbc6cb1b5f69a6d66f30a74efe04afc5bca
/info/modules/passport/__init__.py
5dca8b0586116c7e5392e9a6cc1efaf92245c20c
[]
no_license
Manphy/chuangjian1
3a2d65b93f1fc57e27638b40883a3656d9b8bdc6
3cc744913d22929f840bf28086b37c8fa94069d2
refs/heads/master
2020-04-14T15:40:31.699876
2019-01-04T07:55:24
2019-01-04T07:55:24
163,934,374
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from flask import Blueprint # 创建蓝图,并设置蓝图前缀 passport_blu = Blueprint("passport ",__name__,url_prefix='/passport') from . import views
[ "Manphy" ]
Manphy
c0c926ef5d2c8bb9f664a67b74aed40261cd6810
dc176045014a6d3fb44a40c437786c73a226dcc1
/gpio/a2d/ldr.py
a8b4e1869d8f54999dbd00ed4d7037c550435117
[]
no_license
recantha/redwing-pi
fdda28a7280878c8773a7a6154bac6b33245f660
7505d283d62d838e85a20b07df35115389bdf5d6
refs/heads/master
2021-01-02T08:09:56.009082
2013-05-04T08:07:24
2013-05-04T08:07:24
6,124,243
2
3
null
null
null
null
UTF-8
Python
false
false
3,317
py
#!/usr/bin/env python import time import os import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) DEBUG = 1 # read SPI data from MCP3008 chip, 8 possible adc's (0 thru 7) def readadc(adcnum, clockpin, mosipin, misopin, cspin): if ((adcnum > 7) or (adcnum < 0)): return -1 GPIO.output(cspin, Tr...
[ "mike@recantha.coo.uk" ]
mike@recantha.coo.uk
e7b063dd4d020434b6ad9afd84f98811d55adaec
36b5d2fec65ac9317749b76c4fd93a663935e669
/test.py
cb7756d65834a92070d3de5cf02950a8a1057c3e
[ "MIT" ]
permissive
arminalgln/SolarPMU
946bcc1b1347ab2c8f8ca90e956472255b72b126
ddb6458b1c5f8fd20233a07065d9ebf5003c52ff
refs/heads/master
2022-12-08T03:50:19.396486
2020-09-09T23:12:27
2020-09-09T23:12:27
293,867,329
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
import tensorflow as tf physical_devices = tf.config.list_physical_devices('GPU') tf.config.experimental.set_memory_growth(physical_devices[0], enable=True) #%% inputs = tf.random.normal([32, 10, 8]) lstm = tf.keras.layers.LSTM(4, activation='tanh') output = lstm(inputs) print(output.shape) #%% lstm = tf.keras.layers.L...
[ "armin.aligholian@gmail.com" ]
armin.aligholian@gmail.com
161891b9fe83357fd142c4642604ab48c2402d95
af3dfd01c3063b4f92cbef68fcd94b5493b139e3
/Experiments/DataMining/FactoryProduct/train.py
50a604f0d3c26c8a7d583526c6db6ac7087bc361
[]
no_license
DarringZhang/GitRepository
1869b640fa5c1fc9738c334de4a737c7109e3ddb
cd5bdc66925f49eb9b2c1922453ed922efee86a6
refs/heads/master
2020-04-03T18:25:26.036614
2020-01-09T03:00:21
2020-01-09T03:00:21
155,483,511
1
1
null
null
null
null
UTF-8
Python
false
false
2,910
py
import numpy as np import pandas as pd import catboost as cbt from sklearn.metrics import accuracy_score, roc_auc_score,log_loss import gc import math import time from tqdm import tqdm import datetime from sklearn.model_selection import KFold,StratifiedKFold from sklearn.preprocessing import LabelEncoder import matplot...
[ "1002970363@qq.com" ]
1002970363@qq.com
60b2c195bdcf461f2239e51c24e394fb45103c4e
9c281920e9847a7c9123841a44cda887961eda17
/algorithm-questions/searching/ternary_search.py
a6a7ff1e825b4971ddb22a77fe95281bed50fdd6
[]
no_license
hhoangphuoc/data-structures-and-algorithms
e8b28729f7befc6f18f16140332b18ba40c995c0
79ccc0aa34d9e3eb508bfe64d1fcee9dd1ea5e98
refs/heads/master
2023-01-02T18:02:24.251679
2020-11-02T03:51:12
2020-11-02T03:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
# coding: UTF-8 ''' Ternary search is similar to linear and binary search that is used to determine the position of an element in a list. In binary search, the sorted array is divided into two parts while in ternary search the sorted array is divided into three parts. It is a divide and conquer algorithm where ...
[ "charul.agrl@gmail.com" ]
charul.agrl@gmail.com
d8697fb977edd87fe504d6ffb8a9a877b8389dfc
9be7dd059042e382bc68d2da0e9db929770c36a1
/madgraph/aloha/aloha_object.py
8da8fee9f9e7b8286a6b1d6d08387d081f5a6cb2
[]
no_license
restrepo/SimplifiedDM-SSSFDM-Toolbox
ee891d51d252e3087e6287fb9e3ce055f55e1354
bbdefde970b7016159f2f9f51eaf9cefc127f220
refs/heads/master
2021-01-12T17:15:48.830510
2017-11-11T22:13:54
2017-11-11T22:13:54
71,532,276
2
1
null
null
null
null
UTF-8
Python
false
false
41,974
py
################################################################################ # # Copyright (c) 2010 The MadGraph5_aMC@NLO Development team and Contributors # # This file is a part of the MadGraph5_aMC@NLO project, an application which # automatically generates Feynman diagrams and matrix elements for arbitrary # h...
[ "restrepo@udea.edu.co" ]
restrepo@udea.edu.co
139127929e231175ddfc0c3b4801f86a9cde7362
feebe89417007ec9b37b6e63375376020c90fca7
/chp07/test_chp07.py
a5c1ea808e55ae8ad026927fc9e2f8323ebc4b1c
[ "MIT" ]
permissive
rockman/learn-python-fluent
94279b13d1f624e6fb2ee822d7f7245416cd6a2f
02072daea62143471523679aca28af238a7f3ed4
refs/heads/master
2020-12-10T03:04:42.433133
2020-02-22T03:47:48
2020-02-22T03:47:48
233,488,845
0
0
null
null
null
null
UTF-8
Python
false
false
1,357
py
from functools import singledispatch import numbers def averager(): values = [] def average(value): values.append(value) return sum(values) // len(values) return average def test_closures(): avg = averager() assert avg(10) == 10 assert avg(20) == 15 assert avg(30) == ...
[ "rockman@users.noreply.github.com" ]
rockman@users.noreply.github.com
103f8612b470238fdcec4f748e975de167f871bd
9e401b884382ff048898f64231c3b6164dc0259b
/sieve/sieve_test.py
ea6ee6ef66694cbeb0ee73036df14986025910b1
[]
no_license
rjmah/exercism-solutions-py
3d701e74c5de968825a7e79225775481830713e4
6c1eaf5f1dfdd66f740c1775413a34ca4913716f
refs/heads/master
2021-01-15T21:53:48.409165
2014-10-31T16:50:51
2014-10-31T16:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,161
py
import unittest from sieve import sieve class SieveTest(unittest.TestCase): def test_a_few_primes(self): expected = [2, 3, 5, 7] self.assertEqual(expected, sieve(10)) def test_primes(self): expected = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67,...
[ "ryanjamesmah@gmail.com" ]
ryanjamesmah@gmail.com
a95420f768dc166655e558de8bdc1f864cfa316d
8c33124986c836c8ef2f30741a6fad86f8c1aa94
/Python/pythonCourse/python3EssentialTraining/exerciseFiles/01QuickStart/hello.py
460544036e50e91b6fb4355eb46be7832c20bbed
[]
no_license
kennykat/CourseWork-TTA
fe2f00409f34e97d5d56db74ba3324107f671491
18159f5edc33344f9cf5c9487ef55f7c7472de98
refs/heads/master
2021-01-18T23:50:19.375829
2018-05-26T20:03:39
2018-05-26T20:03:39
51,634,651
0
0
null
null
null
null
UTF-8
Python
false
false
50
py
#!/usr/local/bin/python3 print ("Hello, World!")
[ "irahetakendra@gmail.com" ]
irahetakendra@gmail.com
77b74a14ad5a1874eb757c258db26fc759163437
43e900f11e2b230cdc0b2e48007d40294fefd87a
/laioffer/remove-certain-characters.py
ba414a70cff9fca8d6bb41e33f8626f682e9c25a
[]
no_license
DarkAlexWang/leetcode
02f2ed993688c34d3ce8f95d81b3e36a53ca002f
89142297559af20cf990a8e40975811b4be36955
refs/heads/master
2023-01-07T13:01:19.598427
2022-12-28T19:00:19
2022-12-28T19:00:19
232,729,581
3
1
null
null
null
null
UTF-8
Python
false
false
496
py
class Solution: def remove(self, string, t): array = list(string) uniq_t = set(t) slow = 0 fast = 0 for fast in range(0, len(array)): if array[fast] not in uniq_t: array[slow] = array[fast] slow += 1 res = "" for i ...
[ "wangzhihuan0815@gmail.com" ]
wangzhihuan0815@gmail.com
194439312eb994931c4e5cd372e342ca9dab1e8a
e177d6366c4e9572c4dbd6bdf66463fc0ec25b7c
/Python/gigasecond/gigasecond_test.py
dde3cc7143d916b58fdf90ee3f6a2d9bb8beb746
[]
no_license
RafaelRampineli/exercism.io
a76e21d6036987eac4be678626b1b13df2d0bccc
2d01aba240188289400d705698985c33e7401d42
refs/heads/master
2020-03-27T13:54:48.168686
2019-02-12T10:55:00
2019-02-12T10:55:00
146,634,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
py
import unittest from datetime import datetime from gigasecond import add_gigasecond # Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0 class GigasecondTest(unittest.TestCase): def test_date_only_specification_of_time(self): self.assertEqual( add_gigasecond(datetime(20...
[ "rafael.rampineli@hotmail.com" ]
rafael.rampineli@hotmail.com
87b5b1013121a670da7f12288049e9aa81b73e98
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-9528.py
9b6ba89efb100cc35e49f496f579cb54f9ede179
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,756
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
ceb0bf1e823ba32931903f316a3e63e9c298dbf2
86510b47b768d80127adcbd53b06fdff58fd95a4
/python/problem_067.py
b77ec6c66cacef5160ffd9fc456950d5f2882f00
[]
no_license
Kimbsy/project-euler
d018ad759ae599147e11431f818c9bfd3fc82f73
e1eda2779b6499a6d33a848eacc5e1c15405bf70
refs/heads/master
2021-08-27T16:22:19.167892
2021-08-16T17:09:08
2021-08-16T17:09:08
50,948,043
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
import csv """By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. 3 7 4 2 4 6 8 5 9 3 That is, 3 + 7 + 4 + 9 = 23. Find the maximum total from top to bottom in data/problem067.py a 15K text file containing a triangle with one-hu...
[ "lordkimber@gmail.com" ]
lordkimber@gmail.com
e856c3512502cc8ddd31849054c4633d661bca3c
9d6271fd3851acb797a5120e0d884130f7548833
/kmeans.py
4950fd689a0074d89dbcfb3e82ec63e3d12597e9
[]
no_license
Wenbin94/toolbox
f5d69e1b3a158ad076562829e2d83738e282da04
e88e1ba51e5a4c963626000b434072b6aa64e09d
refs/heads/master
2020-08-22T02:50:57.779313
2019-10-08T10:57:52
2019-10-08T10:57:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
''' 2019.10.8 ming71 功能: 对box进行kmeans聚类 注意: - 停止条件是最小值索引不变而不是最小值不变,会造成早停,可以改 - 暂时仅支持voc标注 - 如需改动再重写get_all_boxes函数即可 ''' import numpy as np import glob import os from decimal import Decimal class Kmeans: def __init__(self, cluster_number, all_boxes, save_path): self.cluster_number = cluste...
[ "chaser.ming@gmail.com" ]
chaser.ming@gmail.com
7f23b4f5caab5d1fc6f4597acfb6856c18aa205f
ca2ac853bcf65c040e4a1e70fafa1048945559a4
/target_offer/链表中环的入口节点.py
bc63c46acc6d87fdd291dd593a560599a606384a
[]
no_license
tianwen0110/find-job
a287989c1dd9a4b965894049b3593530188b54ee
88e6ac37ed411b62574bcc8bcbfcfd56055d17e3
refs/heads/master
2020-06-21T05:15:32.327040
2020-06-08T12:52:58
2020-06-08T12:52:58
197,353,258
0
0
null
null
null
null
UTF-8
Python
false
false
1,407
py
''' 一个链表中包含环,请找出该链表的环的入口结点。 ''' class ListNode: def __init__(self, x): self.val = x self.next = None # 没有考虑自环,只需加一次判断 class solution(object): def meetnode(self, head): if head == None: return None pslow = head.next if pslow == None: return None ...
[ "841310406@qq.com" ]
841310406@qq.com
2c2523b87fc17bc946905833fc696df850396c2f
0ec9d7334902af5170f85886d1e55807e49cd573
/find_max.py
fd57543f0a8ecc3b8da32c504a552f17f3af2b41
[]
no_license
IsiceraDew/python_learning
3484a904660019b03906a2309170cea70a6dadbc
cd3ae3f56f3a4f9946a6f164a5f5fcbbaf8ac180
refs/heads/master
2021-08-22T03:39:25.139578
2017-11-29T05:13:49
2017-11-29T05:13:49
109,782,983
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
""" Write a function that determines the maximal value in a non-empty list of integers. E.g., find_max([1,2,3,4,5,6]) == 6 find_max([4, 1, 10, 2]) == 10 """ def find_max(x): i = 0 max_so_far = x[0] while i < len(x): if x[i] > max_so_far : max_so_far = x[i] i = i + 1 return max_so_far print "This should be...
[ "mugenxero@gmail.com" ]
mugenxero@gmail.com
33580815c9068387ec17fb3985c09c0b2dbc4331
7027a90b73d774394c309fd7518599dc9364bb10
/test/functional/test_framework/bignum.py
c31bc3ba7ee578cbdacc8a58e6eb13e22b4c8f9e
[ "MIT" ]
permissive
IDC-Group/VHKD
a5a5b1b9b275a9fadbf8b9c714c8358ee8f7c46a
0256ddf1477439ebc84e97132d3673aa61c39b73
refs/heads/master
2020-03-21T09:12:22.738342
2018-06-23T09:46:17
2018-06-23T09:46:17
138,387,759
3
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
#!/usr/bin/env python3 # # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Big number routines. This file is copied from python-vhkdlib. """ import struct # generic big endian MPI format def bn_bytes(v, have_ext=False): e...
[ "support@idcm.io" ]
support@idcm.io
65b8808ec3e1a0d27451e396ee0d6a134cdabb91
a98cab2f9c24a85a5f46b2cbec7506b79f4ea634
/app/src/models/sentence_model.py
1588e64f2771d2064366357aaa9e173d0246e6a2
[]
no_license
DIS-SIN/ODSC-2019
b8b8d10b41d95925219a0be36b5ef8b541396681
c2a606471452e358f0e245841e78f562c570bbf5
refs/heads/master
2020-05-17T18:27:08.591454
2019-04-30T03:02:35
2019-04-30T03:02:35
183,884,786
3
0
null
null
null
null
UTF-8
Python
false
false
486
py
from neomodel import ( StructuredNode, StringProperty, DateTimeProperty, UniqueIdProperty ) from datetime import datetime class Sentence(StructuredNode): nodeId = UniqueIdProperty() sentence = StringProperty(required=True) addedOn = DateTimeProperty(default_now=True) updatedOn = DateT...
[ "omardev9898@gmail.com" ]
omardev9898@gmail.com