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
d6f9c06998c30989b694c28b3da3ce04272f062f
61939b14aefb49057ac6aa93ea2b33c2a967988b
/actvision/config/urls.py
70223914199c62ea7aa80dce37b2bb1ee64987bd
[]
no_license
ninanonansilo/actvision826
7e237608703e58e7bb3ea21e34044c790f07bc12
fdd7852ce2a92199919f58836a81675122842e7a
refs/heads/master
2023-07-05T01:06:57.149773
2021-08-26T11:51:14
2021-08-26T11:51:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,067
py
"""Actvision URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "ckdgl@DESKTOP-6NQFU1P" ]
ckdgl@DESKTOP-6NQFU1P
8f8251d41d03992c97c4284cab8980b06dce2ee6
c36e8ac0ccfd34a7d4245068b3d4ed6199927f9b
/main.py
0359c0eb11ccf5be256bc113ac8c06421867203b
[]
no_license
avec140/project
332d9a87c09400ef52e90ca5b2f60c9643531591
d3e60766b81c8fcfff61dabdd5849ec10ce4fba0
refs/heads/master
2023-04-20T12:27:36.575993
2021-04-30T09:24:39
2021-04-30T09:24:39
363,083,929
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
from tkinter import * from tkinter.colorchooser import askcolor DEFAULT_PEN_SIZE = 1.0 DEFAULT_COLOR = "black" mode = "pen" old_x = None old_y = None mycolor = DEFAULT_COLOR erase_on = False def use_pen(): global mode mode = "pen" def use_brush(): global mode mode = "brush" def choose_color(): ...
[ "avec140@naver.com" ]
avec140@naver.com
e8ba2a98ff92412f2246fd72b4c6ec99a9424125
4c0a2efb54a87e8419c530e49173484660021c16
/src/demo_hic_et_nunc/types/hen_minter/storage.py
f5033f16e1f986ad59cd0840b788ee2872f06481
[ "MIT" ]
permissive
jellybazil/dipdup-py
7cc6641b7a25379034be401626d91d17d2493f43
950b086effbfce78080461ecc2f959ba7a8ba998
refs/heads/master
2023-08-12T06:50:01.445161
2021-10-16T20:52:29
2021-10-16T20:52:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# generated by datamodel-codegen: # filename: storage.json from __future__ import annotations from typing import Dict from pydantic import BaseModel, Extra class Royalties(BaseModel): class Config: extra = Extra.forbid issuer: str royalties: str class Swaps(BaseModel): class Config: ...
[ "noreply@github.com" ]
jellybazil.noreply@github.com
e9a1e970d4704ef0445f93aed0cd5162806488f7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03273/s702731643.py
a626a36c61e3c295dfc6c90d75e2a4adb265c98f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
from collections import defaultdict import itertools import copy def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChar(): return input() def readChars(): return input().split() def p(arr,b="\n",e="\n"): print(b,end="") for i in arr: for j in i: pr...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6810448a2a2f895bb4d8c9a6ddda997f4967d5d2
99b8b8f06f2248a8ef940c0b5ba90d05f0362ba0
/src/python/strelka/scanners/scan_pe.py
626e9df031e01b48ea3c146b00d52c99f1d0d331
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
thezedwards/strelka
b5d794198791f04a9473ae4b7b2f8a75b7ccac9b
9791ec50354459b4c80df6e95887e0d6bd58729a
refs/heads/master
2020-05-24T12:34:15.926932
2019-05-16T20:51:40
2019-05-16T20:51:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,150
py
import binascii from datetime import datetime import hashlib import struct import pefile from strelka import strelka IMAGE_MAGIC_LOOKUP = { 0x10b: '32_BIT', 0x20b: '64_BIT', 0x107: 'ROM_IMAGE', } class ScanPe(strelka.Scanner): """Collects metadata from PE files.""" def scan(self, data, file, o...
[ "liburdi.joshua@gmail.com" ]
liburdi.joshua@gmail.com
b2dc7e238687297569b877965faf69acc67f19ed
37413580d8f2402068fc9658fbe3df7b897fb728
/admm1.py
d442db9484c2325200152a67832e3ab97555e760
[]
no_license
johnston-jeremy/mmv_cvx
b104b3afafe7a3a3ae2e4ebcf814c2b78c751ac1
8938a42e69f98da6b6b208114422770eddeaca47
refs/heads/main
2023-08-21T19:10:33.897425
2021-10-20T04:12:35
2021-10-20T04:12:35
411,396,714
0
1
null
null
null
null
UTF-8
Python
false
false
778
py
import numpy as np import numpy.linalg as la from proximal_operators import prox_l2_norm_batch def admm_problem1(Y, p): N, L, M, mu, beta, taux, gamma = p.N, p.L, p.M, p.mu, p.beta, p.taux, p.gamma X = np.zeros((N,M),dtype=complex) E = np.zeros_like(Y) T = np.zeros_like(Y) A = p.A AtA = np.matmul(A.T.conj...
[ "jjohnston1994@gmail.com" ]
jjohnston1994@gmail.com
6e94570e6231536349f4848a253e2446a7657101
e1e4bf7539269bf5f34b9ea02b2841f287e047e0
/test/test_graph.py
daeb7856a893c70921723f3d5964754dc0e57945
[]
no_license
melifluos/twitter_age_detection
2b39d0477eef193e71dbd07b81a553ca7010d4cd
280165c597849e59089b461f2f51c3604f16bb94
refs/heads/master
2020-04-11T05:57:16.942127
2017-05-18T09:44:54
2017-05-18T09:44:54
68,198,226
1
2
null
null
null
null
UTF-8
Python
false
false
2,291
py
__author__ = 'benchamberlain' from ..graph import Graph from scipy.sparse import csr_matrix import numpy as np data = csr_matrix(np.array([[0, 1, 0, 1], [1, 0, 1, 1], [0, 1, 0, 1], [1, 1, 1, 0]])) data1 = csr_matrix(np.array([[0, 1], [1, 0]])) edges = np.array([[1, 3, 0], [0, 2, 3], [1, 3, 0], [0, 1, 2]]) degs = np...
[ "ben@starcount.com" ]
ben@starcount.com
f7cf518c9adba372fba54eac9d1c3ca7dbadeeac
44aa5314f0291f6a5579214ba2d57b894ddcd1ec
/backend/dashboard/models.py
82b3d803f623cfda4b862f4232d35504c23846ec
[]
no_license
dimnl/modum
f81fef16a599d79f2083ac72484857aadc52a87d
b31f80ac4c1e77ddbcd11d4eb2b1937f1c9215d7
refs/heads/master
2022-06-28T02:30:19.190845
2020-05-03T04:55:39
2020-05-03T04:55:39
260,448,626
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
from django.db import models # Country information. class Country(models.Model): name = models.CharField(max_length=120) description = models.TextField() focus = models.CharField(max_length=120, default="") def _str_(self): return self.name # Sectors information. class Sector(models.Model): ...
[ "alexandru.neculai96@gmail.com" ]
alexandru.neculai96@gmail.com
f7af79f56a51603282e3089490b050ca604d2712
1410d7722dd22c1ecd2aee0f4c59cf482846f445
/models/rbm.py
05e4c797eace5d0b7ec5a60c952e55268a115ae6
[]
no_license
funzi-son/DRBM
95a1cb3d504746836d5d8dc2d9fb7b7eeae3fc8c
1a7c40d46b86ed4d4a8610f3979e94e5e297429b
refs/heads/master
2021-07-19T16:17:56.423241
2017-10-24T03:23:58
2017-10-24T03:23:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,384
py
"""The restricted Boltzmann machine""" # Author: Srikanth Cherla # City University London (2014) # Contact: abfb145@city.ac.uk from models import np from models import theano from models import T theano.config.exception_verbosity = 'high' def build_model(n_input, n_class, hypers, init_params): """Function to...
[ "Son.Tran@csiro.au" ]
Son.Tran@csiro.au
57f3fd827be2d763a94518ae48d40d7b18419a79
6a275ce8642562f93c659b58f5c47bc5cf84f85c
/luffy_django/x.py
ca687f2cd7b3383d3e77b26de20b5d659e1fde9f
[]
no_license
LXianB/school_city
ec2d5080ae13bc3e0279fe9f0cee55a60269efa1
7c06deb063d3ed1c20c6b26275f51111e280bb79
refs/heads/master
2020-07-28T19:38:50.257633
2019-09-19T09:28:28
2019-09-19T09:28:28
209,513,987
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
import json v = { 1:'db', 2:'sb', } s = json.dumps(v) print(json.loads(s))
[ "1135487517A392C3588D2B7E9075EE33@i-search.com.cn" ]
1135487517A392C3588D2B7E9075EE33@i-search.com.cn
a341ad35c0cc89c48ba55282eb9191fa23f561e4
af2b4fbb514468846b2d96f5010292d9b973b819
/tests/test_cli.py
2f1eeee3b88c87c7ac853abcc6124c52ef2a6a1d
[ "MIT" ]
permissive
rdimaio/parsa
350f4f2b8bb07d11ce2f3edf359b758208c8f79e
9ce45235efb702cea0aa4254ed2f2c91d56d34a8
refs/heads/master
2021-07-25T17:46:29.169755
2020-04-13T11:38:44
2020-04-13T11:38:44
146,991,563
1
0
MIT
2018-10-11T21:11:34
2018-09-01T11:08:47
Python
UTF-8
Python
false
false
1,690
py
"""Tests for utils/cli.py. Tests: parse_arguments: empty_args no_output_arg_passed output_arg_passed _set_arguments: tested implicitly in the parse_arguments test """ import unittest import os import sys try: from unittest import mock except ImportError: import mock s...
[ "riccardodimaio11@gmail.com" ]
riccardodimaio11@gmail.com
c82bef90561c2f2fe7c38bf3d5bde226a9fd1930
33f448e2d3315f758675c852e5853a16813a211b
/melon/crawler/forms.py
34a1d217bbc00cff1c396a272af7ed993f140571
[]
no_license
CuCTeMeH/image_scrapper
f400c4b67934fa17dc48eeaf2355f91bd379b540
567e301840d648a4ca912dfa1eb3228cc973838e
refs/heads/master
2020-06-08T14:25:15.572146
2013-08-15T20:25:36
2013-08-15T20:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django import forms from crawler.models import site_url, site_image from django.http import HttpResponse class UrlForm(forms.Form): url = forms.URLField()
[ "kutinchev87@gmail.com" ]
kutinchev87@gmail.com
526bfabd8d4add6feced315ac34c366676ccfe3d
69864d3134f224fb00c46327f7cd4f34c8749f3f
/bongo/apps/frontend/tests/view_tests.py
1fbb400ab0d3d6551e735cfffb3308c990d2cd84
[ "MIT" ]
permissive
BowdoinOrient/bongo
4298e2f1a353be94640ceb2b24da1178abaf92ec
3a78dd8a8f9d853661ba9f0b7df900ec497940a1
refs/heads/develop
2021-01-17T17:07:18.582716
2015-10-25T15:33:47
2015-10-25T15:33:47
18,506,776
3
1
null
2015-10-25T15:33:48
2014-04-07T04:57:02
Python
UTF-8
Python
false
false
3,185
py
from django.test import TestCase from bongo.apps.bongo.tests import factories class ArticleViewTestCase(TestCase): def test_by_slug(self): """Test that you can route to an article by using its slug""" post = factories.PostFactory.create() response = self.client.get("/article/{}/".format(...
[ "bjacobel@localytics.com" ]
bjacobel@localytics.com
d090e08a3de3c1ee882e0a3704be94198a57b77b
70134d55728500641c6edc422bb34159c0816fb4
/fi/migrations/0002_blog.py
4ebecd9c47fff0dcc69bebaed2d594afd74790f5
[]
no_license
leenamkyoung/forfor
9f3df218b67f16eb68f0c928ec5566e9f94bc183
bbc725941bb5543871f27cf4783b6f986d83c6a9
refs/heads/master
2022-12-11T19:31:23.561523
2019-10-19T11:44:44
2019-10-19T11:44:44
205,156,784
0
0
null
2022-11-22T04:13:04
2019-08-29T12:16:33
HTML
UTF-8
Python
false
false
626
py
# Generated by Django 2.2.3 on 2019-08-16 05:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('fi', '0001_initial'), ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.A...
[ "729497@likelion.org" ]
729497@likelion.org
78a12d8bff14792b00e4507e76858d1a178bc660
c60ef27fe285c73fad4076122bb3d6f2fe05f111
/fragscapy/modifications/ipv4_frag.py
02fb8dd3eaf1d8ea14cfed0938fc1dfb0fb6c079
[ "MIT" ]
permissive
daeon/Fragscapy
be88d8b3c6fc309515ecf5f06939f43ddf8022a5
3ee7f5c73fc6c7eb64858e197c0b8d2b313734e0
refs/heads/master
2023-08-31T09:27:31.931466
2021-05-27T20:01:11
2021-05-27T20:01:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
"""Fragments the IPv4 packets at the L3-layer.""" import scapy.layers.inet import scapy.packet from fragscapy.modifications.mod import Mod from fragscapy.packetlist import PacketList class Ipv4Frag(Mod): """Fragments the IPv4 packets at the L3-layer. Fragment each IPv4 packet. the fragmentation size must b...
[ "frederic.guihery@amossys.fr" ]
frederic.guihery@amossys.fr
23125c25618090c23ad4cc628d0d9d5904b49c6f
ab2b6204ae7056f4aec2242b2256834eebf844a6
/docs/source/conf.py
3c33aacdb7df4d83003dd678f09ebd86982a36da
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
vickielee333/scarplet
e671bc071e80fc2c4a4457e7f93f8fcb39e157cf
8cf8cee2c9b808c550c0645f7836cda6d809872e
refs/heads/master
2020-12-23T23:50:14.408885
2019-10-11T23:31:41
2019-10-11T23:31:41
237,314,286
0
0
null
2020-01-30T22:01:23
2020-01-30T22:01:22
null
UTF-8
Python
false
false
6,445
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "robertmsare@gmail.com" ]
robertmsare@gmail.com
558d7cf4a36cfe878990521818b11026bcc8b7b2
bba60e8fdde48cdcd07b0fef80e85f931b9377af
/labs/week5/perspective_lab.py
8dd0c967dd763a09d6bcf4c90c1ea411892f1af2
[]
no_license
atomminder/Coursera_Brown_Coding_the_matrix
dc233e2ecfc7025a15f7c5b72c2c2b3501e13249
5e5e26cff4db4b39e63acf003c00350c1d83a5d7
refs/heads/master
2016-09-06T02:59:04.266312
2013-08-26T04:52:42
2013-08-26T04:52:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,462
py
from image_mat_util import * from mat import Mat from matutil import * from vec import Vec from solver import solve ## Task 1 def move2board(v): ''' Input: - v: a vector with domain {'y1','y2','y3'}, the coordinate representation of a point q. Output: - A {'y1','y2','y3'}-vector z, the c...
[ "ice.sagittarius@gmail.com" ]
ice.sagittarius@gmail.com
c6d8420a5dbe972ad01f97e4030bb4c992a72670
3b1c209057f5a692846396590b963d7cf7302e5a
/source/inputters/field.py
62a013e16d3e5f39d84a4abcb1677033a14ac8ca
[]
no_license
Cli212/Knowledge_Driven_Dialogue
53be06728acb9301dc3b0df43680865720e7d906
e9817b59fce30585ae2715a4d8748b8814b337a3
refs/heads/master
2020-09-24T13:09:45.081795
2020-02-04T11:28:03
2020-02-04T11:28:03
225,765,447
1
0
null
null
null
null
UTF-8
Python
false
false
6,456
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- import re import nltk import torch from tqdm import tqdm from collections import Counter from bert_serving.client import BertClient PAD="[PAD]" UNK="[UNK]" BOS="[BOS]" EOS="[EOS]" NUM="[NUM]" def tokenize(s): """ tokenize """ s = re.sub('\d+', NUM, s)....
[ "hehaoyuh212@gmail.com" ]
hehaoyuh212@gmail.com
a40210a0d39a519003150aaa7cb19f9db7fddaac
f65c805853692cdbd283aef7c7b4617dc31c5f22
/users/migrations/0001_initial.py
86ae316edc72588df34c44d74bbd55914600185c
[]
no_license
Akshara21/webapp_django
0d4b202d213669daa70d84413729efb7f728743c
3f299730325cc8a1b19301e02c13089a1e090455
refs/heads/master
2022-11-28T10:22:09.793661
2020-08-09T17:44:41
2020-08-09T17:44:41
286,065,223
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# Generated by Django 3.0.8 on 2020-07-30 16:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "64507018+Akshara21@users.noreply.github.com" ]
64507018+Akshara21@users.noreply.github.com
fe2e973dabfdf530953f5bf46341be8fd3a0d225
f0d028b3bdd676c68bef1b4653e9219b42fcd13f
/soko/tracom/models.py
a208ce41a4032c2e1e8d0478a02882f7f36cb47c
[ "BSD-3-Clause" ]
permissive
PYTHON-Techy-Work/soko
ed432638fc23760f26ee87f38d6fb09264eb584e
0cebe6e4a71ca12be7674e7a6fa579ff53a6773b
refs/heads/master
2021-10-26T00:53:50.231735
2019-04-09T08:48:24
2019-04-09T08:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
# -*- coding: utf-8 -*- """Tracom models.""" import datetime as dt from soko.database import Column, Model, SurrogatePK, db, reference_col, relationship class Tracom(SurrogatePK, Model): __tablename__ = 'transporters' user_id = reference_col('users', nullable=True) user = relationship('User', backref='t...
[ "james.njuguna@tracom.co.ke" ]
james.njuguna@tracom.co.ke
11c66006ed6d3c4e596b603f51d2fe4f6fefa7eb
de7b894f683cce849992b0df0f92bc06795665f1
/Bicycles/models.py
335bccc4a3e0a8f8e8be68fa47aa25dc063c1879
[]
no_license
ursaminor27169/RentCarBcle
d709cd3277663b043e0fa5d04c8a4927e82b11b0
5265b558567fb49a800bfe47881cf046911fcc21
refs/heads/master
2023-06-17T00:10:18.926196
2021-07-11T03:28:34
2021-07-11T03:28:34
384,797,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,912
py
from django.db import models class Marks(models.Model): id = models.AutoField(primary_key=True) mark = models.CharField(max_length=20, db_index=True, verbose_name='ะœะฐั€ะบะฐ') model = models.CharField(max_length=20, db_index=True, verbose_name='ะœะพะดะตะปัŒ') def __str__(self): return self.mar...
[ "katya-polyakova-2429@mail.ru" ]
katya-polyakova-2429@mail.ru
0f06f71767bd30c22c6e18ec01e9a0c89ee695ce
3dfaf9d28b59c23ee3432c26dbf499589645a0b7
/timed_io.py
7326af92a0c9a56229bd514e916cbf0b46495fc0
[]
no_license
wielgusm/timed_new
c9b82575c2cc77a83fd94b1ee7a085748f8b726f
d0017af0985bad0fd5cb98f675382f05824650d8
refs/heads/master
2020-03-29T01:46:21.353351
2018-11-05T17:14:15
2018-11-05T17:14:15
149,405,524
0
0
null
null
null
null
UTF-8
Python
false
false
28,272
py
import sys, os, itertools import numpy as np import pandas as pd import matplotlib.pyplot as plt #import qmetric from timed_new import qmetric from astropy.time import Time import datetime as datetime try: import ehtim as eh except ModuleNotFoundError: sys.path.append('/Volumes/DATAPEN/Shared/EHT/EHTIM/eht-imag...
[ "maciek.wielgus@gmail.com" ]
maciek.wielgus@gmail.com
b041d27ad67048f098504f32a777272c2c0183c7
99218b477267dafe4b9e37a17df7f1cd7af28c78
/fynd_test/wsgi.py
23222bda9e292bc12fb0264613d4a79352997fdc
[]
no_license
nattesharan/fynd_test
da3367641cdd9d46220ba881680c7b809539d006
45d21e509379bb643630e374f9a31a9454f9f746
refs/heads/master
2022-12-01T17:49:38.299113
2020-08-16T16:19:23
2020-08-16T16:19:23
287,949,046
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for fynd_test 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.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "nattesharan@gmail.com" ]
nattesharan@gmail.com
43523188442bee7be5573d5bf87f3806b4f092da
2d57b2c9849ba79889dfda2ba7a219c594f78331
/pyalgos/algorithms/sorting/heap.py
3839037a8e820383945d12e32b6a82db76eeedd7
[]
no_license
olibrook/data-structures-algos-python
a96fcc49ca212aaa6dda256469dc18f22abcde9d
be9f058c9b8876a2c61a55d47a86b4e4f2cb8077
refs/heads/master
2021-07-13T08:30:57.794216
2020-06-01T00:45:06
2020-06-01T00:45:06
138,454,453
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
import pyalgos.data_structures.heap as h def sort(arr): heap = h.MinHeap() for x in arr: heap.add(x) return list(heap)
[ "olibrook@gmail.com" ]
olibrook@gmail.com
78ea76695ffd009815497005787fb0cf035548fd
c2e1a41198ea5e7c18864848564ae68610969dd6
/upload/migrations/0015_fscjob_uniquefolder.py
33bff5e70f43264fa5061c2a13f87bacdab0a7db
[ "MIT" ]
permissive
carl9384/fscupload
cda0794ba56557d0cdeb0df1a573d1c09e9678a3
b0dd73014294f1a6bb01ed946489b52141cadb76
refs/heads/master
2021-06-25T14:17:21.348312
2019-02-11T02:02:39
2019-02-11T02:02:39
98,359,279
0
1
MIT
2019-02-10T17:38:51
2017-07-25T23:46:58
Python
UTF-8
Python
false
false
486
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-26 20:52 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('upload', '0014_auto_20170725_2336'), ] operations = [ migrations.AddField( ...
[ "cnegro@nysbc.org" ]
cnegro@nysbc.org
77dd5abb723497730fd82ff12025e54f2471e189
6a3805c0e3a1f1a17dafde998b07dff724fa3432
/fixedwing/migrations/0004_fixedwingpost_user_name.py
4bb82ea7b542959155849a5839cc370334e570f7
[ "MIT" ]
permissive
shivam675/avation
de85bd7bceb88f4567f2d549c914b6bee978d216
9f39a9fbeb2ad7d27d88816b0085cdd814b9ae35
refs/heads/main
2023-04-14T14:54:20.213381
2021-05-02T10:35:05
2021-05-02T10:35:05
358,865,969
1
1
null
null
null
null
UTF-8
Python
false
false
634
py
# Generated by Django 3.2 on 2021-04-21 07:34 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('fixedwing', '00...
[ "samarkale.15@gmail.com" ]
samarkale.15@gmail.com
249d4b83823c45d4de6a19805f21df7c0519a7d1
61c7984360e25ee54b02340ef81735529df520ba
/OnShift-PythonBootcamp-Session5/steps/fizzbuzz_steps.py
364a3f1c5271bc8ef3af29a92b074f5a9ba8ca6e
[]
no_license
samsawan/onshift_python_bootcamp
6711c8d84c9622ed9fd7a0afe9c68d567c45465f
b7ade8a8a0b571364eacabedb3bd7519130313d4
refs/heads/master
2021-01-25T09:43:34.370572
2018-03-06T15:12:10
2018-03-06T15:12:10
123,310,863
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from behave import * use_step_matcher("re") @given("I have a number (?P<input_num>.+)") def step_impl(context, input_num): """ :type context: behave.runner.Context :type input_num: str """ raise NotImplementedError @when("I call Fizzbuzz") def step_impl(context): """ :t...
[ "ssawan@onshift.com" ]
ssawan@onshift.com
04b9b53630dcc36bb3cdb1b9f364d0194d7e120c
1eb9f084434b7e8f5af5f262f36ad57abfa888e5
/lib/ros_comm-1.12.0/utilities/message_filters/src/message_filters/__init__.py
9cc21c48c886fca665feec34887a30117e564e26
[ "BSD-3-Clause" ]
permissive
MangoMangoDevelopment/neptune
2c30d641829cf473e74c5bd8b6fa6c7258d0e0a4
185f501fb227f0ec3700e29adcd7be0bac85f49e
refs/heads/master
2020-05-29T18:08:08.728630
2017-04-13T15:10:42
2017-04-13T15:10:42
51,020,825
10
5
null
2017-10-25T16:01:32
2016-02-03T18:27:49
Python
UTF-8
Python
false
false
8,509
py
# Copyright (c) 2009, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright # notice, this list of cond...
[ "a.wareham@gmail.com" ]
a.wareham@gmail.com
9902c8bd932c3cc78c49ecf1c4375db30bcea633
692c7bc11ca9718f58860fa0016571f63d928d55
/src/generators/SemanticFusion/parsing.py
fcceeb73f53938b0e8cc0d4756cd7d66532d8d50
[ "MIT" ]
permissive
bingoko/yinyang
9548a8ed949c1519502acfcb734629f4d300c56b
ba709fa78f0f30954923f03eb2e15aa5b1311717
refs/heads/master
2023-01-08T22:50:05.746526
2020-11-15T03:13:46
2020-11-15T03:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,120
py
import random from src.generators.SemanticFusion.Symbol import Symbol, Symbols, MetamorphicTuple def get_script_from_file(file): with open(file,"r") as reader: script = reader.read() return script def clean_bv(string): string = string.replace("BV{","(_ BitVec ") string = string.replace("}",")...
[ "noreply@github.com" ]
bingoko.noreply@github.com
46b7f3b5630906b2591578476fbf9b5df898667a
628a0adb428411fac1e74abfbcfa150a47084916
/Finale_Code/Approaches/Feature_Based/bm25_parameter_tuning.py
0c15667d1e62cb22e5e522382e9e8f2f9b382b95
[]
no_license
KaiBaeuerle/Information_Retrieval
a9abe8d55af3a107225a466ddc204a2a8f28acec
494ea3d38960c7f79cf7b1fa5eeeadacad52f442
refs/heads/main
2023-05-29T00:48:11.324584
2021-06-13T19:02:52
2021-06-13T19:02:52
351,711,747
0
1
null
null
null
null
UTF-8
Python
false
false
6,171
py
import pandas as pd import numpy as np from sklearn.linear_model import LogisticRegressionCV, LogisticRegression from sklearn import metrics import sys import pickle from sklearn.experimental import enable_halving_search_cv from sklearn.model_selection import HalvingGridSearchCV sys.path.append('/medi...
[ "noreply@github.com" ]
KaiBaeuerle.noreply@github.com
686464eb605c12cdfb8384943d02fe21966f09f3
525c2454c1e865b1377f372653666988f900660e
/day01/login.py
b252de86985189b235db3547568146e5c5cc8792
[]
no_license
ysyi212/Study
52ede4e7a6d6bbc993136d91fa7bbd7754d9030a
69f49a681a672542f01a726acb596598f72823fd
refs/heads/master
2020-12-14T17:13:44.737534
2020-01-28T08:31:28
2020-01-28T08:31:28
234,821,114
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
#!/root/ysy/python/bin/python3 name = input('input your name: ') print('welcome',name)
[ "ysyi212@aliyun.com" ]
ysyi212@aliyun.com
315730b88d08ce329c85893b22e65920bcdac068
878671ee6e501972fbba9cbc22651735ca2fa2e6
/main.py
53d529ca6ae6ac45c021cdb30874cabd345527ed
[]
no_license
aklowell/build-a-blog
014b80fd268e3e74b9a57e8a1bd333e82579fc3e
b416b1abdbf8680f0a278a61a5fc0e99d92aaf6f
refs/heads/master
2021-07-10T10:04:39.999099
2017-10-09T03:55:56
2017-10-09T03:55:56
105,560,380
0
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
from flask import Flask, request, redirect, render_template from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['DEBUG'] = True app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://build-a-blog:build-a-blog@localhost:8889/build-a-blog' app.config['SQLALCHEMY_ECHO'] = True db = SQLAlchemy(app) ...
[ "anneklowell@outlook.com" ]
anneklowell@outlook.com
13173c0c90b40858d24a8dd1a49957abc36658df
db6cbfe3fc997417fe390e6fbf6c7fb073223653
/Lab3-4/UI.py
e620ebda1387634d49ca67224ca8d756d8a5f6a0
[]
no_license
ecaterinacatargiu/AI
cad44bb6c7345fc4e0675770eecca2fac7741a34
d7384f00b3f571fd01dec92e5737687b071104ab
refs/heads/main
2023-03-12T19:28:47.942802
2021-02-19T18:13:45
2021-02-19T18:13:45
340,451,541
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 28 18:44:05 2020 @author: Cati """ from Controller import Controller from Population import Population from hc import * class UI: def __init__(self, ea:Population, controller: Controller): self.ea = ea self.controller = controller ...
[ "georgianaecaterina.catargiu@microfocus.com" ]
georgianaecaterina.catargiu@microfocus.com
98f76ec619a2e488aa99de17c4447d474c1cb2e1
3f6c16ea158a8fb4318b8f069156f1c8d5cff576
/.PyCharm2019.1/system/python_stubs/-1046095393/atexit.py
3b4fb40c097ce9444aa1ae283f0da5efbfc50ffd
[]
no_license
sarthak-patidar/dotfiles
08494170d2c0fedc0bbe719cc7c60263ce6fd095
b62cd46f3491fd3f50c704f0255730af682d1f80
refs/heads/master
2020-06-28T23:42:17.236273
2019-10-01T13:56:27
2019-10-01T13:56:27
200,369,900
0
0
null
2019-08-03T12:56:33
2019-08-03T11:53:29
Shell
UTF-8
Python
false
false
4,738
py
# encoding: utf-8 # module atexit # from (built-in) # by generator 1.147 """ allow programmer to define multiple exit functions to be executedupon normal program termination. Two public functions, register and unregister, are defined. """ # no imports # functions def register(func, *args, **kwargs): # real signature...
[ "sarthakpatidar15@gmail.com" ]
sarthakpatidar15@gmail.com
d59946de3156710a87637070b2375189e9f23961
499a24afc6fbd985353224cb09cb91b7b89a1c86
/apps/base/urls.py
4df70a5837f154fcbcfa983f52fa4bb1a6081089
[ "MIT" ]
permissive
KenichiTanino/django_upload_with_mosaic-image
68ed2d7d79cb5ead03ab8454f3bd98f0e688cde6
793fbb92e00e34ff091f7a5293bc610de36aa3eb
refs/heads/main
2023-04-02T02:40:42.890557
2021-04-14T14:15:51
2021-04-14T14:15:51
356,816,981
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
"""urlconf for the base application""" from django.conf.urls import url from .views import home from .views import upload_file urlpatterns = [ url(r'^$', home, name='home'), url(r'upload_form$', upload_file, name='upload_form'), ]
[ "tanino@a2.mbn.or.jp" ]
tanino@a2.mbn.or.jp
85ade40b3fd736b98b5d56953fdfbddf0b7fe7e1
fdf26c1191bbe22a310124e5e7d8d7ec752f3050
/Backup/20150107093039/OmniSharp/commands/code_actions.py
aff9bfd644a66f9faefa43a5006f75db1fbe2af2
[]
no_license
ahmetabdi/sublime-text-3
56a814706ba1b9a3a635e4f9f0f6c537476b82b9
13fa68c8cacca335bbc2ac02a537ea06a0386b5a
refs/heads/master
2020-12-24T19:17:27.114354
2016-03-10T12:06:20
2016-03-10T12:06:20
15,140,480
1
2
null
null
null
null
UTF-8
Python
false
false
3,639
py
import sublime import sublime_plugin from ..lib import omnisharp from ..lib import helpers class OmniSharpCodeActions(sublime_plugin.TextCommand): data = None selectionStartColumn = 0 selectionStartLine = 0 selectionEndColumn = 0 selectionEndLine = 0 def run(self, edit): if self.data...
[ "ahmetabdi@gmail.com" ]
ahmetabdi@gmail.com
586d74151ef062c249063e4d5c269c511d557769
052a9999ddf26f98b19e5d9564eb4ded55c36009
/src/model_generators/logistic_regression.py
5bd50b12d6aadd1a76811974413312d9f7681ecb
[ "MIT" ]
permissive
Rosster/MLFinalProject
6f0ae1ad8b93ecdf464796166c54e4417902ccbc
521a739d4c5371db08179a54e22c76a9827136bb
refs/heads/master
2020-04-26T09:54:33.734474
2019-03-23T01:39:04
2019-03-23T01:39:04
173,471,948
0
1
null
null
null
null
UTF-8
Python
false
false
2,189
py
import numpy as np from sklearn.linear_model import LogisticRegressionCV from sklearn import metrics ''' Logistic Regression is a Machine Learning classification algorithm that is used to predict the probability of a categorical dependent variable. In logistic regression, the dependent variable is a binary variable t...
[ "rohan.jyoti@variantyx.com" ]
rohan.jyoti@variantyx.com
17a0b25b7520802c0316a50b66f74a804df1a76e
caaf56727714f8c03be38710bc7d0434c3ec5b11
/tests/components/abode/test_light.py
6506746783c2c8bc154c57ee3317833d02c7ff28
[ "Apache-2.0" ]
permissive
tchellomello/home-assistant
c8db86880619d7467901fd145f27e0f2f1a79acc
ed4ab403deaed9e8c95e0db728477fcb012bf4fa
refs/heads/dev
2023-01-27T23:48:17.550374
2020-09-18T01:18:55
2020-09-18T01:18:55
62,690,461
8
1
Apache-2.0
2023-01-13T06:02:03
2016-07-06T04:13:49
Python
UTF-8
Python
false
false
4,040
py
"""Tests for the Abode light device.""" from homeassistant.components.abode import ATTR_DEVICE_ID from homeassistant.components.light import ( ATTR_BRIGHTNESS, ATTR_COLOR_TEMP, ATTR_RGB_COLOR, DOMAIN as LIGHT_DOMAIN, ) from homeassistant.const import ( ATTR_ENTITY_ID, ATTR_FRIENDLY_NAME, ATT...
[ "noreply@github.com" ]
tchellomello.noreply@github.com
50d07982618790ca5eb53375fa7512fb22df7f49
289689eada7efe5f18a71b2026f1e8a7ffa5ec7b
/2015/DigitalHealthPlan/HealthEquity/connect2.py
f2e86683325c170bcfecfdf9e313c185ed1b726e
[]
no_license
bayindri/Work
f23ebcac1160acb0bed5a3c94901bc70a7114217
8e1c922db71fa28eede4fb39cd6a7212e95eb24a
refs/heads/master
2021-01-01T20:04:57.665056
2020-06-26T17:02:10
2020-06-26T17:02:10
98,761,761
0
0
null
null
null
null
UTF-8
Python
false
false
5,541
py
from pysimplesoap.client import SoapClient #import logging #logging.basicConfig(level=logging.DEBUG) #client = SoapClient(wsdl="https://www.HealthEquity.com/Partner/MemberBalanceWebService.asmx?WSDL",soap_ns = 'mem', action ='') # worked! client = SoapClient( wsdl="https://www.HealthEquity.com/Partner/MemberBala...
[ "ayindri.banerjee@bcbsma.com" ]
ayindri.banerjee@bcbsma.com
38488e71218e96a97bd3c3bb00261ae97ea6eb8c
633701ef4d039d2cd0d4409bd8ad765b748f1b96
/ZuheGesdatos/src/datostunnel/__init__.py
60b4839076fb39f7710dc8e5171c086c49d23aa5
[]
no_license
wahello/gesdatos
4c991536f3265bf937ad117ed0c9c9b913182db5
b7fa1939056baa01b48d310d981a5fb1493d6698
refs/heads/master
2020-03-11T12:25:37.275071
2015-12-14T04:25:35
2015-12-14T04:25:35
null
0
0
null
null
null
null
ISO-8859-10
Python
false
false
2,203
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "Daniel Romero" __date__ = "$3/12/2015 10:24:29 AM$" import base64 ##----------------------------------------------------------- class paramtunnel(): """ Clase realizada para generar por mediod e codificacion los parametros que el ap...
[ "User@DANIELRPARRA77" ]
User@DANIELRPARRA77
5efc101cdbf8e412920f0ccebaf0c2a572e6f7ba
af6e7f0927517375cb4af833f4c52e301bad0af5
/corpus_processor/topic_aware/filter_qa_corpus_by_topic_list.py
90d3fa8fa6d532a86b504d45378701a28a47ca24
[]
no_license
wolfhu/DialogPretraining
470334fd815e1299981b827fdc933d237a489efd
eeeada92146d652d81ca6e961d1298924ac8435d
refs/heads/main
2023-06-25T15:22:54.728187
2021-07-21T01:40:23
2021-07-21T01:40:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
# encoding: utf-8 import sys from util.trie import Trie tag_file_path = '/home/t-yuniu/xiaoice/yuniu/dataset/processed/domain/sport/keywords' # Tag ้ป‘ๅๅ• tag_black_dict = {} # tag_black_dict.setdefault('ๆธธๆˆ', True) tag_trie = Trie() def detect_tag(sentence): """ Judge if sentence contain as least a tag. ...
[ "yuwu1@microsoft.com" ]
yuwu1@microsoft.com
c2eab84e232f590469f2bb0cea19a803ec121d0f
2fabc9255adbe1cc055eb4b2402f8526f389f257
/model/modules.py
86464633b715d37b344f74882941fce2b5d70ab8
[ "MIT" ]
permissive
asr2021/WaveGrad2
657323be12d16667fc0a3b7f2a168101e6e913cb
ba7715d760999093dd99283f48971c5115210b51
refs/heads/main
2023-06-02T18:48:56.830462
2021-06-23T07:22:10
2021-06-23T08:10:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,959
py
import os import torch import torch.nn as nn import numpy as np import torch.nn.functional as F from .blocks import ( ZoneOutBiLSTM, LinearNorm, ConvBlock, ) from text.symbols import symbols device = torch.device("cuda" if torch.cuda.is_available() else "cpu") class TextEncoder(nn.Module): """ Text ...
[ "keonlee9420@gmail.com" ]
keonlee9420@gmail.com
4dad72ebc7956f2e83c677733d880dec2b2fd50f
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_10938.py
978f85ef643f608646c73eface82e3ca6748bc7b
[]
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
117
py
# Installing psycopg2 on Mountain Lion (brew + pip) defaults write com.apple.versioner.python Prefer-32-Bit -bool no
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
ee31424e1fa619b23210e9169fac7dda9b51a252
b46e30188f8e132b012cc07af947aed5f07f9e97
/find_cosine_simi.py
9fd40ec226cd72ac79198a3b0f6e4f36e15d1cb1
[]
no_license
mahmudulhasancsedu5/sent2vect
84b8ab1b6640d88fbe698019eee4f5a12ed39322
fe36bea17f6b888b5b8796021c135b8d9bf4041e
refs/heads/master
2021-01-11T02:53:00.328335
2016-10-22T04:39:18
2016-10-22T04:39:18
70,888,705
1
0
null
null
null
null
UTF-8
Python
false
false
1,755
py
""" -------reade vectore file and find cosine similarity------- """ file=open('news1.txt.vec','r') outputFile=open('news1_sentence_cosine_value.txt','w') #lines_list=file_id.readlines() #print lines_list line_list=file.readlines() line_1=line_list[0].split(' ') row_count=int(line_1[0]) colum_count=int(line_1[1]...
[ "hasancsedu5@gmail.com" ]
hasancsedu5@gmail.com
65fb7d1f09f5025ac382844a2d9ef74135ec3e29
d1367994cea3d3b08e48b66597a63fdb49c68dac
/photo/models.py
c583d7af321ee87ec39fe73677878c5c76e1d160
[]
no_license
alasheep/pystagram
8b44216604192a7db33323df350d0c994ab90f75
45d44af7f9cc5b9dab73ec570a568bc854dfa52b
refs/heads/master
2016-08-12T07:01:41.724847
2016-01-01T23:52:36
2016-01-01T23:52:36
48,722,903
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
#from __future__ import unicode_literals # coding: utf-8 from django.db import models # Create your models here. class Photo(models.Model): #id = '๊ฐœ๋ณ„ ์‚ฌ์ง„์„ ๊ตฌ๋ถ„ํ•˜๋Š” ์ƒ‰์ธ๊ฐ’' image_file = models.ImageField(upload_to='%Y/%m/%d') filtered_image_file = models.ImageField(upload_to='static_files/uploaded/%Y/%m/%d') d...
[ "alasheep@hanmail.net" ]
alasheep@hanmail.net
08de5456e8af14a088ef40511b9b3774b8805421
a7807e4a49a06b748cff273fe8c0dc79b5e64ca8
/orby/Scripts/django-admin.py
e15c2e9f1d2447bd8344d9aa8ae6a8f207aaf426
[]
no_license
orhunakar01/labotestalep
0cb864522821f9d4f168996db15a38fc166d57b3
6c6958d49e65d30d5f80c09ee1618c8cc7dd8100
refs/heads/master
2023-03-23T00:32:49.474106
2021-03-16T18:46:08
2021-03-16T18:46:08
348,455,136
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
#!c:\users\orhun\desktop\djangologin\orby\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin.py wa...
[ "orhunakar@yandex.com" ]
orhunakar@yandex.com
2bb9e8941509720018e382a768800bf12e758dab
46fb758e130547f8283df0d40ecfd89dd4b323c6
/hooks/clang_tidy.py
3b35ed0f7f975cd44f972a57d760cdb4fffb1faf
[ "Apache-2.0" ]
permissive
zackw/pre-commit-lint-c
c3db0041f9b8b673f012efc7dde4875eabc4b691
8e4e813fd8c8149d62d92b006b25cf53eadf38e1
refs/heads/master
2023-06-27T04:51:18.553095
2021-08-01T00:45:39
2021-08-01T01:01:12
391,479,933
1
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
#!/usr/bin/env python3 """Wrapper script for clang-tidy.""" ############################################################################# import re import sys from hooks.utils import ClangAnalyzerCmd class ClangTidyCmd(ClangAnalyzerCmd): """Class for the clang-tidy command.""" command = "clang-tidy" loo...
[ "rj@swit.sh" ]
rj@swit.sh
cee380e5080ef322e11d53fe0e88028403f92664
8176d7939cb6058f818196196168eeb4a9206766
/crudApp/admin.py
874c5a3309b3aebdb9efe0a824cb688b9095760d
[]
no_license
cs-fullstack-2019-spring/django-crud2-cw-tdude0175
d8f0d2d587b8e4fc2c00890ee0be02cadef5e87f
fa0428c3e09c93022318003f226e0168b47ab5a5
refs/heads/master
2020-04-26T00:11:55.314615
2019-03-02T00:00:41
2019-03-02T00:00:41
173,169,790
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from django.contrib import admin from .models import ContactModel # Register your models here. admin.site.register(ContactModel)
[ "tdude0175@gmail.com" ]
tdude0175@gmail.com
8443c14c2499a5e15fc3179e5faf3e4f3d754aa7
76b15070c6cde9366a6133a6ecdf556715131497
/custom_components/salus/const.py
3072020f217f46de282a3b9a524d5a3878ab511b
[ "MIT" ]
permissive
MatthewAger/homeassistant_salus
f38c11f40f338597fb04771bd3986da13331e03e
b74f316e3254faadbf4ae919f8d5b9e8fa9349ba
refs/heads/master
2023-06-24T00:26:46.325866
2021-04-24T09:53:35
2021-04-24T09:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
"""Constants of the Salus iT600 component.""" DOMAIN = "salus"
[ "julius.vitkauskas@trafi.com" ]
julius.vitkauskas@trafi.com
66aefdce6c1839e0f4b8dfbe62df72f1d60af25d
b15d2787a1eeb56dfa700480364337216d2b1eb9
/accelbyte_py_sdk/api/match2/operations/backfill/accept_backfill.py
e35c0aa725d1ba4f04c748c7ad397734654b2930
[ "MIT" ]
permissive
AccelByte/accelbyte-python-sdk
dedf3b8a592beef5fcf86b4245678ee3277f953d
539c617c7e6938892fa49f95585b2a45c97a59e0
refs/heads/main
2023-08-24T14:38:04.370340
2023-08-22T01:08:03
2023-08-22T01:08:03
410,735,805
2
1
MIT
2022-08-02T03:54:11
2021-09-27T04:00:10
Python
UTF-8
Python
false
false
8,605
py
# Copyright (c) 2021 AccelByte Inc. All Rights Reserved. # This is licensed software from AccelByte Inc, for limitations # and restrictions contact your company contract manager. # # Code generated. DO NOT EDIT! # template file: ags_py_codegen # pylint: disable=duplicate-code # pylint: disable=line-too-long # pylint:...
[ "elmernocon@gmail.com" ]
elmernocon@gmail.com
d2086cfc57ff171d6201a1bd3fbc011282d61392
65e82f0f584711084f2cf2cee6f343c6693ca552
/LeetCode_exercises/ex0050_pow.py
7296795a0db57b1be33e5f2378bbb40174bf865e
[]
no_license
msjithin/LeetCode_exercises
3fd7e9e3dbc75270c2cb497931cdbdc9135d113d
f1b466a5f2ffc9ff00a0d9895bda145eb3c7db54
refs/heads/master
2023-02-16T00:15:41.676725
2021-01-05T18:53:07
2021-01-05T18:53:07
305,853,604
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
""" Implement pow(x, n), which calculates x raised to the power n (i.e. xn). """ class Solution: def myPow( x: float, n: int) -> float: print(' Calcuating {} ^ {}'.format(x, n) ) if x==0: return 0 if n==0: return 1 if abs(x) == 1.0: return 1 ...
[ "ms@wisc.edu" ]
ms@wisc.edu
058ad0c1afc34a157275f486480d9005b80911f4
51d94a83baff0adce5e2cafde488add67c23fe30
/ipython/bin/jupyter-qtconsole
327eb3bdaf3603c29ba9f2586a0d2bcb6d5c7bfe
[]
no_license
odulzaides/virtualenvs
2add8aef6488c7903a7c24abef626da22aa192ad
95a8a5fc08899f33a3ab478195916774db36d062
refs/heads/master
2020-05-30T07:13:12.803174
2016-10-06T20:34:13
2016-10-06T20:34:13
70,190,719
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/Users/Tuti/Documents/Virtualenv/ipython/bin/python2.7 # -*- coding: utf-8 -*- import re import sys from qtconsole.qtconsoleapp import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dulzaides.oscar@gmail.com" ]
dulzaides.oscar@gmail.com
869867848ac4fa8e57b44049e3616774b3f462a3
49327a8ea95879bd6cf1350bb50bfb3aaeb3337d
/rsc/snippets/recursion_for-loop.py
dbba0eb3a2b4c13fd16032dada22c9622a55ba8a
[]
no_license
paast/LC-challenge
553676a5549617d221dfd943ba3bd7356f5e0bd8
28aed23f2243a10e24e9c059ebf109ae8679ad08
refs/heads/master
2020-04-07T15:04:56.660706
2019-01-24T22:59:35
2019-01-24T22:59:35
158,469,338
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
my_list = [1, 2, 3, 4, 5] for item in my_list: print(item, end=' ') # will print "1 2 3 4 5"
[ "banana-man@snposaw.com" ]
banana-man@snposaw.com
819d2477a179823c7162021849a499b3398f8026
824da02c8fb0929a91155031430939e0f565390e
/migrations/versions/6cf36da6705f_.py
299ea394a3c738b3b6ac6015aaa85d2ddef4333a
[ "Apache-2.0" ]
permissive
alexmeigz/Nutriflix_Flask_Backend
58247070ad525861b7fc66001424b2d18305a626
95c9981b9342b0509d5c58ea6e9f2a8b400d1444
refs/heads/master
2023-01-30T01:10:09.642554
2020-12-14T20:04:41
2020-12-14T20:04:41
301,246,429
0
0
Apache-2.0
2020-12-14T20:04:42
2020-10-04T23:16:13
Python
UTF-8
Python
false
false
657
py
"""empty message Revision ID: 6cf36da6705f Revises: 6561c4454534 Create Date: 2020-11-15 02:32:23.520188 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6cf36da6705f' down_revision = '6561c4454534' branch_labels = None depends_on = None def upgrade(): # ...
[ "alexmei@ucsb.edu" ]
alexmei@ucsb.edu
2b53d40a285c9d031d96a39ef176c489d8ebce4f
a073d77d10fc502593caad1d7784e18595c07649
/DataTraining.py
0e2dd1fc3fdf5a7c0b270608ab4bba331ab4ca9a
[]
no_license
ChrisRRadford/Cyanobacteria-Image-Classifier
6eb92edcb7ce97a647bde7368448aad56a6beb0a
223d045080cc2f1df2b0b3ed7b4cbe6e2b9ca46b
refs/heads/master
2021-01-03T15:05:46.020024
2020-02-12T22:23:27
2020-02-12T22:23:27
240,122,948
2
0
null
null
null
null
UTF-8
Python
false
false
2,541
py
#python3 DataTraining.py --image "/Volumes/EXTERNAL/ClassifierImageSets/Origional_2.png" --fileName "Training" import cv2 import argparse import numpy as np import pandas as pd import wx ap = argparse.ArgumentParser() ap.add_argument("-1", "--Image", required=True, help="Image to be trained on") ap.add_argument("-2"...
[ "cradford@bell.net" ]
cradford@bell.net
a60e660a37291658a05b42e59b648eddeb9f74c9
b8515727e6c30e2b606ef11e8f35073b787aa852
/todolist_app/tests.py
0ba75cc60bf05ef12f5f5f9aa841eb3e6dd38c11
[]
no_license
aramis-eb/todolist
ac1d689d036d83f0be7f266c4f7e8250dfdeac4c
c6839a388573b460b274bf9376d12c153e961571
refs/heads/master
2021-09-24T14:52:21.294270
2021-03-30T13:03:54
2021-03-30T13:03:54
254,407,078
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
from django.test import TestCase, Client from django.contrib.auth.models import User from .models import Priority, Todo class TestTodoList(TestCase): def test_todo_list_login(self): client = Client() user = User.objects.create(username='aramis') user.set_password('agustin20') user...
[ "aramis@eventbrite.com" ]
aramis@eventbrite.com
94e3d38dd3a5674a0272aeb4ea010d9f7a9abfd2
7dcdd5de0640f07b01b1707c134ec0bd168f641d
/fedora_college/modules/content/views.py
b1019c221326d657588aa1b01f790aaa7115edba
[ "BSD-3-Clause" ]
permissive
MSheezan/fedora-college
8e3e741f6ddac481c2bb7bbcde1e70e2b4b56774
07dbce3652c6c1796fb0f7b208a706c9e9d90dc1
refs/heads/master
2021-01-15T22:38:16.831830
2014-06-26T07:04:33
2014-06-26T07:04:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,439
py
# -*- coding: utf-8 -*- import re #import time from unicodedata import normalize from flask import Blueprint, render_template from flask import redirect, url_for, g from sqlalchemy import desc from fedora_college.core.database import db from fedora_college.modules.content.forms import * # noqa from fedora_college.core...
[ "hammadhaleem@gmail.com" ]
hammadhaleem@gmail.com
c44e87e1ece4e52e9eeed64c2ed07b4a9e9918b5
f8e52e6f6dfb55f30272af4336255ff6fe978c44
/tools/mcc.py
d4a5be082822d9696147872e5134903f7608da9a
[]
no_license
egdman/kaggle
1c167c3075dbb161ed0d517b8256a70ba08ff7d1
a2ce7baddaff742efd9f2fabbda55e7d2eed9e52
refs/heads/master
2021-01-11T11:19:51.768729
2016-11-03T17:30:31
2016-11-03T17:30:31
72,687,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
from numba import jit import numpy as np from matplotlib import pyplot as plt # @jit def mcc(tp, tn, fp, fn): sup = tp * tn - fp * fn inf = (tp + fp) * (tp + fn) * (tn + fp) * (tn + fn) if inf==0: return 0 else: return sup / np.sqrt(inf) # @jit def eval_mcc(y_true, y_prob, show=Fal...
[ "egdman90@gmail.com" ]
egdman90@gmail.com
9707a59e2633a3a8f14afee94806f2e665985bcb
939328b01c66aa635e62fb0679e2e17a69e140d9
/lrec18/experiments/significance_tests.py
282fec45aa4d92b3afc6cb69b032874d7d2f42e7
[ "MIT" ]
permissive
weiweitoo/EmoMap
a951995064f99f686f27f41f93f79fc97a0b5240
86e326bca58b89539b058a0a69a0f8f9e6726c4e
refs/heads/master
2020-11-28T08:33:05.791696
2020-01-01T09:05:08
2020-01-01T09:05:08
229,756,998
0
0
MIT
2019-12-23T13:21:43
2019-12-23T13:21:42
null
UTF-8
Python
false
false
6,552
py
import pandas as pd import scipy.stats as st import numpy as np import prepare_data def ttest(xbar, mu, N, s, tails=1): ''' One sample t-test from summary statistics. ''' t = (mu-xbar)*np.sqrt(float(N))/s if tails==1: if t>=0: p=1-st.t.cdf(x=t, df=N) else: p=1-st.t.cdf(x=-t, df=N) else: raise NotI...
[ "sven-buechel@gmx.de" ]
sven-buechel@gmx.de
648f3b696550c88369e2a3b934622074751216dc
accfbf16b85a532db73e2b30540d4f1a1f5f088f
/vscode-python3/workspace/init.py
4806d926160f00b68c31c996ad5ebe01ee612c66
[]
no_license
BhawickJain/docker-setups
4e3cbf8e48ec7be15b264e94676fa2b8a84033ce
48f417048fca27bab5ad982bf157f98dad0d92c0
refs/heads/main
2023-07-15T00:15:26.202658
2021-08-16T19:32:42
2021-08-16T19:32:42
396,942,136
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
print("hello", "Bhawick") print("you are bug!") print("debug! AWAYAY!")
[ "bhawick@outlook.com" ]
bhawick@outlook.com
82d8e508bea9d27e596ec5fd5f94d4d16fc0ca40
085406a6754c33957ca694878db9bbe37f84b970
/็ฝ‘็ปœ็ผ–็จ‹/08-ssh_socket_client.py
b91da548705606b59b6c0eb6b8d70cdbb3050767
[]
no_license
dewlytg/Python-example
82157958da198ce42014e678dfe507c72ed67ef0
1e179e4037eccd9fefabefd252b060564a2eafce
refs/heads/master
2021-01-01T18:36:08.868861
2019-01-18T10:39:08
2019-01-18T10:39:08
98,375,528
3
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
#!/usr/bin/env python """ socket client for ssh """ import socket client = socket.socket() client.connect(("localhost",9999)) while True: #ๆ”ฏๆŒๅฎขๆˆท็ซฏๅพช็Žฏๅ‘้€ๆ•ฐๆฎๅˆฐๆœๅŠก็ซฏ cmd = input(">>:").strip() if len(cmd) == 0:continue client.send(cmd.encode()) #python3ไธญๅฟ…้กปๆŠŠๅญ—็ฌฆไธฒ่ฝฌๆขไธบbytes็ฑปๅž‹๏ผŒ่ฟ™้‡Œๅฏไปฅ็†่งฃๅญ—็ฌฆไธฒ็ฑปๅž‹ๆ˜ฏutf-8 cm...
[ "gang.tang@cutt.com" ]
gang.tang@cutt.com
166670300dc3fb39d4e1883bb546d056fe08ce1f
dd09f3ad02785935043b56ea3ef85ed603f4065d
/Sorting_Function/Selection_Sorting.py
6f03147ffab2db72cf7d3f242eb1efd76270e240
[]
no_license
RishavMishraRM/Data_Structure
ed70f5a04c2fa8153433e830ef54deb7b9c8bf21
0d31d16b48989359d5fef79b00aac1b9ca112a22
refs/heads/main
2023-06-27T02:40:18.031146
2021-07-25T19:01:51
2021-07-25T19:01:51
330,320,897
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
def selection_sort(A): n = len(A) for i in range(n-1): position = i for j in range(i+1, n): if A[j] < A[position]: position = j temp = A[i] A[i] = A[position] A[position] = temp A = [3, 5, 8, 9, 6, 2] print('Original Array:',A) ...
[ "noreply@github.com" ]
RishavMishraRM.noreply@github.com
a35795d31dc08e0b14b7e0fe34da7cd1f10a97c9
5c435eb62297101d80904957f857f1ceaa217071
/3-distribution_training/py/args.py
bc8e1eb5322ac2d38c1589c880aac8194588f8ee
[]
no_license
chatflip/tutorial_pytorch_japanese
d1972cb342d4da6918a3c35120de7e45b1bed74e
374251cfe1359cd5e305d3d33c1fdf3f03ad13dc
refs/heads/master
2022-01-26T18:42:21.313784
2020-06-13T09:54:35
2020-06-13T09:54:35
165,519,038
10
1
null
null
null
null
UTF-8
Python
false
false
3,543
py
import argparse def opt(): parser = argparse.ArgumentParser(description='PyTorch AnimeFace') parser.add_argument('--path2db', type=str, default='data', help='path to database') # Train Validate settings parser.add_argument('--batch-size', type=int, default=256, ...
[ "oo.chat.flip@gmail.com" ]
oo.chat.flip@gmail.com
2fb93afe829de7491a458ced6b6568ea178817ff
488e0934b8cd97e202ae05368c855a57b299bfd1
/Django/advanced/change_admin/change_admin/settings.py
52ac0975d8daac947ffc100a34d19c9282aa57ff
[]
no_license
didemertens/udemy_webdev
4d96a5e7abeec1848ecedb97f0c440cd50eb27ac
306215571be8e4dcb939e79b18ff6b302b75c952
refs/heads/master
2020-04-25T00:24:45.654136
2019-04-13T16:00:47
2019-04-13T16:00:47
172,377,429
0
0
null
null
null
null
UTF-8
Python
false
false
3,184
py
""" Django settings for change_admin project. Generated by 'django-admin startproject' using Django 2.1.7. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import ...
[ "d.g.j.mertens@gmail.com" ]
d.g.j.mertens@gmail.com
6f5e3b1bf3eda3e6b1a3ce9914c9e63edc2037a9
d5ea8c4b49ee0b9f6261313efd6fc948d01bd92c
/optimization_specialist_demo.py
5999bb755ac06700a9dca790192efc8364f3a2ea
[]
no_license
sannedonker/Evolutionary_computing
a57ec6e56c287bf2e84992ae3fe1a0f3ea08f526
63ebf18cf52a5cff3f4bc25c72601efa8423bf1a
refs/heads/master
2020-07-27T08:42:32.162266
2019-10-24T20:36:58
2019-10-24T20:36:58
209,033,665
0
0
null
null
null
null
UTF-8
Python
false
false
7,597
py
############################################################################### # EvoMan FrameWork - V1.0 2016 # # DEMO : Neuroevolution - Genetic Algorithm neural network. # # Author: Karine Miras # # karine.smiras@...
[ "s.a.m.donker@hotmail.com" ]
s.a.m.donker@hotmail.com
ee4ca603bda625183659e699f11fd7d710b1f6e2
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/W_w_Mgt_to_C/pyramid_tight_crop_size256_pad60_jit15/pyr_2s/bce_s001_tv_s0p1_L4/step10_a.py
eb5df86c53b26c8ee94837558fc32d4559cdad0a
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
11,105
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
9f3bc36cda5789eecda861f4e2fef3c900573070
b6f5be56f502b113a03af54abf4b9790bfdd7545
/gesteNemo.py
68e936f943890ce6414635db964d2b0e29150cab
[]
no_license
PonteIneptique/geste-nemo
dc049e414ad23137ff54577b3157d1eb7c44fbac
c73069028f810f1b7d80420d72ab79602f477a2e
refs/heads/master
2020-03-20T13:02:07.260577
2018-06-14T17:13:35
2018-06-14T17:13:35
137,446,875
0
0
null
2018-06-15T06:07:08
2018-06-15T05:58:41
HTML
UTF-8
Python
false
false
3,378
py
# Import Flask and Nemo # This script can take a first argument giving a configuration from examples.py from flask import Flask from flask_nemo import Nemo from flask_caching import Cache from flask_nemo.chunker import level_grouper from capitains_nautilus.cts.resolver import NautilusCTSResolver from MyCapytain.resourc...
[ "jbcamps@hotmail.com" ]
jbcamps@hotmail.com
f011ab83e71888ec2f09ea886e39c022a750a85a
82441f872cc36e5833e1378157c5c413141d736b
/hosts.py
889dc7b144d2642724fb07f27d59f30d6bff207b
[]
no_license
tikalk/ft-deploy
9baa035dc76d9a70d902dfe9e0240bbca77c3cfd
143af780510ddd463591d00a44e9b755423d82b8
refs/heads/master
2020-12-27T09:34:51.224056
2015-12-13T22:47:29
2015-12-13T22:47:29
47,748,374
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
#!/usr/bin/env python import json import subprocess import sys BASE_PARAMS = { 'ansible_python_interpreter': '/usr/bin/python2.7', } out = subprocess.check_output(['docker-machine', 'ls']) dockers = {} machines = out.splitlines()[1:] for machine_info in machines: try: machine_info = machine_info.rep...
[ "hagzag@hagzag.com" ]
hagzag@hagzag.com
94469e411f69931b1aa7dec9d60e62e9d87a7eff
3e917645a0e1375189c8ee8c1e93ed15348111ef
/projects/usxp/archive/parrallel/parallel_nibble_v2.py
792bbb8be009b4feb157af5c7e2bf1c7bf54ad07
[]
no_license
mbougie/gibbs
d4544e688ce2b63530535e1f5102328aece30e0d
39d5dc0866fc0dd149d0cf1f22bfd20911a9d29e
refs/heads/master
2021-01-12T06:59:27.214123
2020-01-07T15:48:12
2020-01-07T15:48:12
83,906,717
1
0
null
null
null
null
UTF-8
Python
false
false
6,710
py
import arcpy from arcpy import env from arcpy.sa import * import multiprocessing import os import glob import sys import time import logging from multiprocessing import Process, Queue, Pool, cpu_count, current_process, Manager import general as gen # arcpy.env.overwriteOutput = True arcpy.env.scratchWorkspace = "in_m...
[ "mbougie@wisc.edu" ]
mbougie@wisc.edu
f20a2e2ee965a0bd4785f21b4b185b1d3d82bb37
fc7d552c915759ab20d9780acac3a1b460f3eb8f
/CourserSite/wsgi.py
0b770fece5d5de0dc20753d87446e6d974fcdce7
[]
no_license
adwojak/courser
de3337fd79ce28c91749edb73a8508d769b780f5
ea94f156c776bbdf721401f989500ad71236c138
refs/heads/master
2020-04-01T07:59:33.222971
2018-11-14T15:01:24
2018-11-14T15:01:24
153,012,945
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for CourserSite 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.setdefault('DJANGO_S...
[ "dwojaka207@gmail.com" ]
dwojaka207@gmail.com
84df639b00d52689ce79b4e4ecbc6317750c2a9d
5f71223206cd63d4ddac6578c80b223924a8d558
/pyladies/PyLadies/bin/python-config
1013e19bdd5af186474fcefd5aa2b45b68f760ad
[ "Zlib" ]
permissive
ankita0000/pyladies
bb08eb1337297525f1b94e110165d8967b53ce77
ca15fad0736b06c4940c129d66d7cea9d51f461d
refs/heads/master
2021-01-17T20:28:16.157085
2016-11-14T08:44:29
2016-11-14T08:44:29
66,218,590
0
0
null
2016-08-21T20:12:24
2016-08-21T20:12:24
null
UTF-8
Python
false
false
2,353
#!/home/yo/pyladies/pyladies/PyLadies/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.versio...
[ "mukherjeeankita60@gmail.com" ]
mukherjeeankita60@gmail.com
fb121a9a3c4898a93a4dd644bb433b8bec45bae3
2ca1720c6fde441a3692fa77fd9d60e8fc9e3a31
/programs/file_owners.py
34c528d98b0364200a31e6931c7d52ae25579164
[]
no_license
navinas33/python_programs
e024c6293a6ff355e98789481e3c23d80b921fb8
18da3c27c08f6a2be52498fe26574e353d0109b2
refs/heads/main
2023-08-24T18:15:10.299426
2021-10-28T13:36:57
2021-10-28T13:36:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
# Implement a group_by_owners function that: # # Accepts a dictionary containing the file owner name for each file name. # Returns a dictionary containing a list of file names for each owner name, in any order. # For example, for dictionary {'Input.txt': 'Randy', 'Code.py': 'Stan', 'Output.txt': 'Randy'} the group_by_o...
[ "navinkumar.a_s@nokia.com" ]
navinkumar.a_s@nokia.com
b89525a6a71b8cc792f2e810cdd2533d6a458e5a
efb5aa8a065d8087690e0302838c66db1e69b8c9
/payments/payments/urls.py
b725c1d1cfb6d46b9458ae5ffc55dc886638f592
[]
no_license
Harivj18/Payment-gateway-integration
721ccfe46c7f91f21e60732d0853df80622b7702
47502f64ef497dbc4ad9a25797135c36fee615d6
refs/heads/main
2023-08-17T15:34:52.639766
2021-09-17T11:52:46
2021-09-17T11:52:46
407,517,861
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
"""payments URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "86662698+Harivj18@users.noreply.github.com" ]
86662698+Harivj18@users.noreply.github.com
c3192ecfb8c725f98b311d74c51bb7580f217753
0764ea1804860e5e373ced6c972342c3be32161b
/package1/enrich.py
7b2a3052eaff10a29a3942d8b9116e6f4a11c4a7
[]
no_license
sacses/Ironhack-Module-1-Project---Pipeline-Project
5fe7d049edc74ef168c913c2a093b77236631e5f
a34ca92cbe2cafc2aa596445ccee27cf4a1f2912
refs/heads/master
2022-12-11T20:45:10.839028
2020-02-28T13:52:49
2020-02-28T13:52:49
226,491,438
0
0
null
2022-07-06T20:27:11
2019-12-07T10:13:10
Jupyter Notebook
UTF-8
Python
false
false
3,014
py
import json import requests import pandas as pd def lowercase_feature(df, col): return df[col].str.lower() def export_csv(path, df, deli): return df.to_csv(path, sep=deli, index=False) def extract_float(df, col, regex): return df[col].str.extract(regex).astype('float64') def enrich(df_cleaned): ...
[ "fcodpaula.tamarit@gmail.com" ]
fcodpaula.tamarit@gmail.com
e04ad62d77e4ef0fac9e099d6f69b7b3bbd9942b
c2ee0110335b7810e8257a67e1260499824b7755
/Car.py
ecbb6c6b0df16a6241f60e71015b54c86b3571e5
[]
no_license
notkevin1/T2V
f0b8c54b9504372f6475935429d61bb0e80f5404
51a57d8dbd290f6f363c55f8d9fb2a2be07c4b11
refs/heads/master
2022-12-01T01:46:00.763940
2020-08-04T22:00:05
2020-08-04T22:00:05
285,109,597
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
import bluetooth class Car: def __init__(self, btAddress, RFIDid): self.btAddress = btAddress self.RFIDid = RFIDid self.btSocket = bluetooth.BluetoothSocket(bluetooth.RFCOMM) def connect(self): try: self.btSocket.connect((self.btAddress, 1)) except Exception...
[ "noreply@github.com" ]
notkevin1.noreply@github.com
4db616cd5fc1beee21a747beae32fd9ffbb06fb1
a282dcc225273e5d4482f8468077007ece25830e
/Engine/src/Core/KeyCodes/KeyCode.py
0ca6785f8ad775443f1dc594a975c75131cf36be
[]
no_license
WolfenGames/unnamed_project_python
8b0d82159613b55651a2397b8906ab21d4ed2864
18630fa017706ad53c46448a840cd3441d663dac
refs/heads/main
2023-03-14T12:02:26.572690
2021-03-10T10:05:01
2021-03-10T10:05:01
327,002,960
1
0
null
2021-03-10T10:05:02
2021-01-05T13:12:12
Python
UTF-8
Python
false
false
2,198
py
from enum import Enum class KeyCode(Enum): Space = 32, Apostrophe = 39, Comma = 44, Minus = 45, Period = 46, Slash = 47, D0 = 48, # /* 0 */ D1 = 49, # /* 1 */ D2 = 50, # /* 2 */ D3 = 51, # /* 3 */ D4 = 52, # /* 4 */ D5 = 53, # /* 5 */ D6 = 54, # /* 6 */ ...
[ "julian.w16@gmail.com" ]
julian.w16@gmail.com
ed0549a98330baa914a7eb5ee44017339d97b6fd
a96548da21c01e63f23f49a6dd88514d6fd8b8ca
/kNN for chapter2.py
8ce4ea0f50b0c651a523c17b93b4c605931c40df
[]
no_license
PureWaterLove/MachineLearningInAction
3e8724db8a6f121a1e2eedd04e7ff1115f6343db
39d833e08f1e5bbbced9683d37a03f9f15b9d161
refs/heads/master
2020-04-20T16:27:45.293354
2019-04-12T00:48:38
2019-04-12T00:48:38
168,959,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,688
py
#coding=utf-8 from numpy import * # ็ง‘ๅญฆ่ฎก็ฎ—ๅŒ…numpy from os import listdir import operator #่ฟ็ฎ—็ฌฆๆจกๅ— import matplotlib import matplotlib.pyplot as plt #from imp import reload #ๆต‹่ฏ•ๆ•ฐๆฎ def createDataSet(): group = array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]]) labels = ['A','A','B','B'] return group,...
[ "noreply@github.com" ]
PureWaterLove.noreply@github.com
2304d18e6fa69e2a6cf6dec70f35a20bf6c01843
e23de36d3d78a6517644f91e562dce8d6d5455ca
/pedidos/views.py
981c048321177c95642d415a8b8432093c5b2f6d
[]
no_license
lyralemos/danubio-DEPRECATED
8f0dab10cb142c25c68b00aa1f6b52daf707af37
d31b3616eba7b3919aec429597cbdf892f21e0bc
refs/heads/master
2021-05-28T06:20:25.296195
2013-08-24T20:33:48
2013-08-24T20:33:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,840
py
from django.utils import simplejson from django.http import HttpResponse, HttpResponseRedirect from django.core.urlresolvers import reverse, reverse_lazy from django.views.generic import TemplateView, ListView, CreateView, UpdateView, DetailView from django.db.models import Q from extra_views import CreateWithInlinesV...
[ "lyralemos@gmail.com" ]
lyralemos@gmail.com
5c2482df35a2b3e2793446e744596a4eff53075d
920ab19b73a7cba21d340a49d9d24e2d1eeabf3d
/idpsreact/bin/automat-visualize
518eafa6739f15f864b7d8624057a1b909d8f1e5
[ "MIT" ]
permissive
DTrafford/IDPS
5fa2b73f2c47cbf50b90a1a786c10f7d69c995b4
1eaccfc218adcb7231e64271731c765f8362b891
refs/heads/master
2022-12-16T16:28:34.801962
2020-03-30T18:08:09
2020-03-30T18:08:09
234,163,829
0
0
MIT
2020-09-10T06:26:02
2020-01-15T20:10:09
Python
UTF-8
Python
false
false
281
#!/Users/sangit/Downloads/django-react-boilerplate-master/idpsreact/bin/python3 # -*- coding: utf-8 -*- import re import sys from automat._visualize import tool if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(tool())
[ "d.trafford@outlook.com" ]
d.trafford@outlook.com
91cf6e1cd22192ef76a60d109e11794b8da0cc6f
419855e4815dce0170e4a791716aee769847b5c7
/social_network/social_network/settings.py
a7edcc7ebc778b2c59d932a6a40b8ef07bc45709
[]
no_license
JanaStepanchak/social-network
e244d335378445aa20850850f38374678cafe7df
4488fbeb8530cdd033adc4e284546ab081f67b44
refs/heads/master
2021-09-01T10:01:58.983269
2017-10-03T21:52:50
2017-10-03T21:52:50
114,982,206
0
0
null
2017-12-26T10:17:29
2017-12-21T08:32:45
Python
UTF-8
Python
false
false
3,276
py
""" Django settings for social_network project. Generated by 'django-admin startproject' using Django 1.11.5. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ im...
[ "dmytro.revak@gmail.com" ]
dmytro.revak@gmail.com
480887a024ca94ee43f737c8c35a5981cb2c8cb4
79f8dde6225a1836ec15cb2c1488be9df368cc9a
/pipeline-code/main.py
f6d859e8d62f2e94f9650b03fae14018dea02aae
[]
no_license
sigamani/technical-test
7c2590459493ce00baec1bddb83d4a2c5304447e
427bead82b46b4ccb3c702f7911e76a73e765133
refs/heads/main
2023-08-29T14:13:58.173156
2021-10-17T14:27:20
2021-10-17T14:27:20
417,606,509
0
0
null
null
null
null
UTF-8
Python
false
false
4,333
py
from argparse import ArgumentParser import pandas as pd from datetime import date from modules.response_processing import load_data, clean_data, add_weights, save_to_output from modules.clustering import kmodes_clustering, process, rules_segmentation from modules.salient_questions import SalientQuestions def preproc...
[ "noreply@github.com" ]
sigamani.noreply@github.com
35735a0f868b7b08da72f3eb034598d7ec4f2e66
76c7687d8ea81b8595b08dbdaf50c38e7757e69f
/app/views.py
3d0deacf75ac2cdb502d8852d8017d61201c2046
[]
no_license
alexkorentsvit/Parser_and_Flask
94285948ba68ceaa2fa00a82ad63e02b276515e2
6d41b78db7028602b8162a838d2f283b9caae808
refs/heads/master
2022-10-21T14:49:20.164036
2017-11-13T23:44:18
2017-11-13T23:44:18
110,615,640
0
1
null
2022-10-07T21:45:12
2017-11-13T23:43:38
Python
UTF-8
Python
false
false
888
py
from flask import render_template, redirect, session, request from app import app import psycopg2 @app.route('/', methods = ['GET']) @app.route('/Table_LE', methods = ['GET']) def Table(): data = [] try: conn = psycopg2.connect("dbname='uo_db2' user='alex_korentsvit' host='localhost' password='qwer...
[ "alex.dota@gmail.com" ]
alex.dota@gmail.com
cd3c7e62cee0966f54c2fdde7eececa025b438f7
ca22e34e15e4bef166adbb3376d89c4f841c9acf
/w7/A3.py
37f12aabaa4a5db589f560c1a3581b3276b8ceaa
[]
no_license
alekseik1/coursera_statistical_mechanics
599ee7252b7779123aa2e237a632aa894f00e470
6f001d41236230dfe15eef3e99d8185e6741031f
refs/heads/master
2022-11-25T22:10:57.903326
2020-07-29T18:25:39
2020-07-29T18:25:39
198,106,837
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
import math, random, pylab def levy_harmonic_path(k): x = [random.gauss(0.0, 1.0 / math.sqrt(2.0 * math.tanh(k * beta / 2.0)))] if k == 2: Ups1 = 2.0 / math.tanh(beta) Ups2 = 2.0 * x[0] / math.sinh(beta) x.append(random.gauss(Ups2 / Ups1, 1.0 / math.sqrt(Ups1))) return x[:] def rho...
[ "1alekseik1@gmail.com" ]
1alekseik1@gmail.com
b567461b2f900459393c25e3cd85fd539ba112be
6a921cd74624ff046c67354d4cb23460f65b6ad2
/data_postp/scores.py
59475e323c6a2eeef90783f58b4a9e4b15ffc39c
[ "MIT" ]
permissive
furushchev/DeepEpisodicMemory
8531db7f80bf3dbfb9ece083c6fd6b0e5161e960
0088f3393de549127cd0739298081637a38fb58a
refs/heads/master
2020-03-21T06:44:55.813040
2018-05-30T18:40:14
2018-05-30T18:40:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,076
py
import numpy as np import pandas as pd import sklearn from data_postp import similarity_computations from tensorflow.python.platform import flags FLAGS = flags.FLAGS def compute_mean_average_precision(df_base, df_query, n_closest_matches=5): """ This function computes the mean average precision (MAP) for a set of...
[ "f4bio.ferreira@gmail.com" ]
f4bio.ferreira@gmail.com
912c36ec729b749cdf5a01caf4cd29055cf3f717
e376062bb68bdd16e285d87103b5ad9b8fea69b7
/balance_weighted_scales.py
6a17d9fdb09e65676b3a5d4ff5358d6460bf149a
[]
no_license
AwotG/QAEngineerAssessment
8146e6091db06aa3d2655d68f6e5cc8d9cdd1ec5
f35408d24aef88a10308b90f479910546164add1
refs/heads/master
2023-07-14T09:23:20.581587
2021-08-18T15:05:25
2021-08-18T15:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,030
py
import sys import re import logging from itertools import combinations from pathlib import Path ######################################################################################################################## # Basic Logging (nothing fancy) ######################################################################...
[ "awotg@Awots-MacBook-Pro.local" ]
awotg@Awots-MacBook-Pro.local
1c633bb83ec340755424794ca77ec8a5cecdcbf1
c253e3c94b66e85d52b1c274e649a8431db0d7d5
/IT-Lab/assignment-6/codes/1.py
ab5c61b8787c25c90e6d39eaf115480cc804383b
[]
no_license
Abhinal/college-assignments
bfecc9d8dd05b7da5348def9990f42ff28329328
a93aeee086eb681f946cc343869610e4588af307
refs/heads/master
2023-08-16T12:04:35.543135
2021-10-22T16:27:33
2021-10-22T16:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
101
py
lst = [] i = 0 while i < 5: player = input() lst.append(player) i += 1 print(lst)
[ "ayushdubey70@gmail.com" ]
ayushdubey70@gmail.com
b5d06007d6975e93010d7ebcf55a08c25e4aa76e
9759218bd38f6fb810d5f4efb0d1c55ca0bfeb2b
/fibonacci.py
e44da1b255f3eec4762a99ebf01a2fbf0a5a17d6
[]
no_license
JoergReinhardt/python_kinematic
692f2d39de2306847589490eb3a57a9ad985254f
c3613f816b85aea52dc6a3a4368d2d9c39189918
refs/heads/master
2021-01-02T08:40:21.962340
2014-05-07T10:51:18
2014-05-07T10:51:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
def recursive(n): result = [] if n == 0: return 0 if n == 1: return 1 else: result.append((recursive(n-1)+recursive(n-2))) return result def iterative(n): result = [] a, b = 0, 1 while b < n: result.append(b) a, b = b, a+b return result
[ "j.p.reinhardt@gmail.com" ]
j.p.reinhardt@gmail.com
c6bf4ec8ef32a6af3ec0f6395c735cbf041f4f92
0536c34638b838b2998064b4b5f13ffa00a14e43
/ass_to_all_two/ass_module_keyword.py
d001ee5b3fc2e93bfd304cc30e5eb8b86451a131
[]
no_license
ichoukou/git_repository
53e319d7df38e052d5509fc0f94efde4f5155f3b
5c4200832076960fd5ef047373e903adba0c5616
refs/heads/master
2020-07-22T02:13:44.806813
2017-01-13T04:57:53
2017-01-13T04:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,133
py
# -*- coding:utf-8 -*- import os import ass_base import ass_report import codecs from ass_module import AssModule from whoosh.highlight import Formatter,get_text from whoosh.index import create_in from whoosh.fields import * from whoosh.qparser import QueryParser from whoosh.index import open_dir from whoo...
[ "415787837@qq.com" ]
415787837@qq.com
4b86928803dc97bc1868161fb7ca4f15f0afe51a
3def2a4168b879dc6f53330d0a72fb0fc5b6fce0
/matrix_approach/a25.py
d2d110fbbd7bcd65d1ee38b64650c9841f675c11
[]
no_license
piyushSTK/learningAI
d67896d8991ec8160928bc6d7488dfa1844f4229
916d5c6e7d220e61364a53006532baeedb66a8ad
refs/heads/master
2020-05-15T16:00:25.272659
2019-04-20T11:27:54
2019-04-20T11:27:54
182,382,389
0
0
null
null
null
null
UTF-8
Python
false
false
1,776
py
import numpy as np import matplotlib.pyplot as plt len=10 def mid(B,C): D=(B+C)/2 return D def normal(AB): return np.matmul(omat,np.matmul(AB,dvec)) def line_intersect(AD,CF): n1=normal(AD) n2=normal(CF) N=np.vstack((n1,n2)) p=np.zeros(2) p[0]=np.matmul(n1,AD[:,0]) p[1]=np.matmul(n2,CF[:,0]) return np.matmu...
[ "piyushkumaruttam@gmail.com" ]
piyushkumaruttam@gmail.com
bd838272251fd61d15841e420f6f1941229fee32
51b439c93e96f1e11be20a5e4cb178f43e13e5cf
/String/lengthOfLastWord.py
5208069ef4bd2c453c9fae1d00abd0fe35a290e1
[]
no_license
mail-vishalgarg/pythonPracticeOnly
20a2aa87d064d737c028a31fb84692e30d07b0fa
8df4016b97b210cdf2ab1266773bc7731b8bcc7b
refs/heads/master
2020-03-17T12:09:45.425438
2019-03-22T04:33:09
2019-03-22T04:33:09
133,576,745
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
class LengthOfLastWord(object): def lenghtOfLastWord(self, s): lastIndexOfSpace = s.rfind(' ') length_of_last_word = s[lastIndexOfSpace + 1:] print 'Length of the last word:',len(length_of_last_word) if __name__ == '__main__': input_str = 'test only please ignore' obj = LengthOfLast...
[ "mail.vishalgarg@gmail.com" ]
mail.vishalgarg@gmail.com
e8611029177ec93e595d82b86b795cbc307b7108
d4ab63e2ff846ff509ab3b8a191381bdf8197325
/project/test_main.py
8544ed907817ff34f90b366519a3db4337d52c5e
[]
no_license
ibrobabs/task
c2c95d8c83340a38be0ff8a1d7d3da55de33a097
82adc4fa54ab9c3606b2770325454916c7f75693
refs/heads/master
2021-01-18T17:45:31.392805
2017-04-01T05:22:24
2017-04-01T05:22:24
86,812,161
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
import os import unittest from project import app, db from project.config import basedir from project.models import User TEST_DB = 'test.db' class MainTests(unittest.TestCase): #Setup and Teardown def setUp(self): app.config['TESTING'] = True app.config['WTF_CSRF_ENABLED'] = False # app.config['DEBUG'] = F...
[ "babskolawole@gmail.com" ]
babskolawole@gmail.com
bb5f53a8add13647f897bea1a962df952eea6bda
77a0721bbc98d0ba7ce6a7a319c744948a0726ac
/app/common.py
8d929450c237188ab5eaeda37ba736f783fcfe3e
[]
no_license
1111mp/flask_init
e37b192f6e38394599405ea8af203d02f4200f02
f64851783b5e53921ea7b7632f1a00c389b948e2
refs/heads/master
2023-05-10T09:31:49.174888
2023-05-02T03:37:49
2023-05-02T03:37:49
231,494,751
1
1
null
2023-05-02T03:37:50
2020-01-03T02:15:23
Python
UTF-8
Python
false
false
2,697
py
# -*- coding:utf-8 -*- from datetime import date, datetime, time import json import uuid from sqlalchemy.ext.declarative import DeclarativeMeta from redis import WatchError from .extensions import xtredis from config import USERAUTHKEY # https://dormousehole.readthedocs.io/en/latest/patterns/apierrors.html class In...
[ "shzhangyifan@corp.netease.com" ]
shzhangyifan@corp.netease.com
59bd26a436c815a1a7ffcd5776a932ae68d492c4
3df1d0d5946b0b8673d509cfb9b6dd99110450fe
/src/util/icons.py
a3d65166465b23ece394e699b39146a6d9558d66
[]
no_license
veveykocute/game_launcher
3374d8069504ed6dcbe844ccb8d725a62699bca4
862e8300af8108ea58d06fa59c2e82086cb8f0fb
refs/heads/master
2021-01-18T08:16:34.661709
2015-08-18T22:19:39
2015-08-18T22:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,867
py
"""Routines for finding a game's icon""" from __future__ import (absolute_import, division, print_function, with_statement, unicode_literals) __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" import os, re from .common import multiglob_compile # Files which should be he...
[ "http://www.ssokolow.com/ContactMe" ]
http://www.ssokolow.com/ContactMe
95e69f614829e398941039bb5e7c6b54d7912473
6a7e9e0e9c08132166f566bd88ae1c46ff8f9c0a
/azure-mgmt-resource/azure/mgmt/resource/policy/v2018_03_01/operations/policy_definitions_operations.py
35d46e882383af32ab876701a41bdc8be7b23c00
[ "MIT" ]
permissive
ashirey-msft/azure-sdk-for-python
d92381d11c48f194ec9f989f5f803db614fb73f2
e04778e13306dad2e8fb044970215bad6296afb6
refs/heads/master
2020-03-23T06:05:39.283442
2018-09-15T00:18:26
2018-09-15T00:18:26
141,188,192
0
1
MIT
2018-07-16T20:02:52
2018-07-16T20:02:52
null
UTF-8
Python
false
false
31,610
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
3a7c5b5f1b703bbb7f47d522088f4a5176a19024
67a4db2b8fe501298196375db5bb12960a7b1d58
/contrib/seeds/generate-seeds.py
2aad6cae958664fbb60ee61d35714c3a342207bf
[ "MIT" ]
permissive
umoguny/supercoll
cc9b4cbc5d358473e8978c1315cadad399b28c30
83b8f68ad308de6659e21219e823e6b2b4632882
refs/heads/master
2020-03-28T21:14:12.639871
2018-09-17T14:10:30
2018-09-17T14:10:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,383
py
#!/usr/bin/python # Copyright (c) 2014 Wladimir J. van der Laan # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. ''' Script to generate list of seed nodes for chainparams.cpp. This script expects two text files in the directory tha...
[ "fastpow@github.com" ]
fastpow@github.com
6684ca9dd67bacb41767bd65a1c0c1f2dd8193ce
e07f6ac5559d09eb6f5393650af135c7474f5003
/recent_news.py
e27c23ffb42fa9cdf553ea3b1d714c6870d9ef68
[]
no_license
Money-fin/backend
21e188f3f59ccaa216d1ea4bb7b78f670831cb6f
909961dc33df84ba3663e622bfdf6ab98f915f5f
refs/heads/master
2022-12-04T08:32:10.094335
2020-08-29T09:57:28
2020-08-29T09:57:28
291,008,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
import requests import sys sys.path.append("/home/jylee/backend") import urllib import os from bs4 import BeautifulSoup import numpy as np import pandas as pd from helper import KafkaHelper def new_crawl(link, kafka=False): url = link item_info = requests.get(url).text soup = BeautifulSoup(item_info, 'html.pars...
[ "hyanghope@naver.com" ]
hyanghope@naver.com
bcf019e36ce418fffe064dbcf90f877fb35e974b
32ce6ae3fd849ec5442cc7fbcb420a25f1f7627d
/impl/CellObjectss.py
aeaba7ea93d500eccfec91a127b99f0ea85774bd
[]
no_license
karaposu/Labyrinth-Game
c73817b74c20ece2c56eaeb97591dd61791660bb
1e1572c7b506eceefda47914413ea772c8e763a3
refs/heads/main
2023-06-04T20:37:29.293096
2021-06-28T04:51:49
2021-06-28T04:51:49
380,907,451
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
from services.Cell import cell class PassiveGameObj(cell): def __init__(self, id, coordinates, designator): self.id = id self.coordinates = coordinates self.designator = designator def CoordinateUpdate(self, c): self.coordinates[0] = c[0] self.coordinate...
[ "noreply@github.com" ]
karaposu.noreply@github.com
2d2c073ecfbd8d904b117c938ab4d01722607f6f
ab57af4f4302160c78147b60ff635876a58bf99d
/pds2/urls.py
9c9a80da505918ca8a6badfb6e87bc2bf3d2032e
[]
no_license
jrthorne/djbraintree
a523c04fbdb137735c1a68f793f6ffdc2b8a512c
ce28592f7927fa9bd06c7f115d672bd544505caf
refs/heads/master
2020-06-22T21:21:35.878756
2019-07-23T09:52:18
2019-07-23T09:52:18
198,402,434
0
0
null
null
null
null
UTF-8
Python
false
false
327
py
from django.contrib import admin from django.urls import path from django.conf.urls import include, url from django.views.generic import TemplateView urlpatterns = [ path('admin/', admin.site.urls), url(r'^$', TemplateView.as_view(template_name='index.html')), url(r'^shop/', include('shop.urls'), name='sho...
[ "jthorne@magiclamp.com.au" ]
jthorne@magiclamp.com.au
d309ba906885b2264436cea4fe7c0b1cb6487058
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/special_equipment_1.py
d0b34a9eefba484eaeb14ea03e11c478e502ee89
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
1,577
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.type_element_status_1 import TypeElementStatus1 __NAMESPACE__ = "http://www.travelport.com/schema/common_v52_0" @dataclass class SpecialEquipment1: """ Parameters ---------- key type_value S...
[ "chris@komposta.net" ]
chris@komposta.net
37e7b65b2eb87e028e91d5e800045af24ea8b6c0
b0a217700c563c4f057f2aebbde8faba4b1b26d2
/software/glasgow/arch/jtag.py
7c4fe835ca1a2bd2417ce6ed37892e998c03caf9
[ "0BSD", "Apache-2.0" ]
permissive
kbeckmann/Glasgow
5d183865da4fb499099d4c17e878a76192b691e7
cd31e293cb99ee10a3e4a03ff26f6f124e512c64
refs/heads/master
2021-09-15T15:59:38.211633
2018-11-15T22:36:04
2018-11-22T21:13:59
157,077,707
3
0
NOASSERTION
2018-11-11T12:33:49
2018-11-11T12:33:48
null
UTF-8
Python
false
false
250
py
# Ref: IEEE 1149.1 from bitarray import bitarray from ..support.bits import * __all__ = [ # DR "DR_IDCODE", ] DR_IDCODE = Bitfield("DR_IDCODE", 4, [ ("present", 1), ("mfg_id", 11), ("part_id", 16), ("version", 4), ])
[ "whitequark@whitequark.org" ]
whitequark@whitequark.org