blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
9bb974b43dbf910daa6e0fcf9b42a790f7401030
6e031aee02b421c449a30017172a76e62773dc5d
/incleair/urls.py
c63599d46f449850231b70a1d443a97fca70c8de
[]
no_license
armstrong-series/analytics-django
729b30f03cf0bd87010a3e24ef1113b7afdd34c3
e5fb00572f1bf04dd2a0f04aa3f6c7f36b574fd9
refs/heads/master
2023-03-09T14:52:57.461873
2021-02-19T10:40:34
2021-02-19T10:40:34
339,766,521
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
from django.conf import settings from django.contrib import admin from django.conf.urls.static import serve from django.urls import path, include, re_path urlpatterns = [ re_path(r'^media/(?P<path>.*)$', serve, {'document_root': settings.MEDIA_ROOT}), # path('admin/', admin.site.urls), path('', include('a...
[ "enefearmstrong@gmail.com" ]
enefearmstrong@gmail.com
b318f9c75980357087885a134e83e6072a2f6bbe
337c1df60759192247f3d2570928b29566d71153
/Longpoll/info_lp.py
876de0dd6a51b79c14ad477901dcd78fdc3cbb88
[ "MIT" ]
permissive
cergey2205/IDM6
2e392f13d81bb564f3ba2e41532022ca310131ba
fc1df2adfc6166f63f14d314c00c71206c2d9fa5
refs/heads/master
2022-11-05T13:26:35.131081
2020-06-29T15:05:08
2020-06-29T15:05:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,844
py
import asyncio import json import re import vk_api from vk_api.longpoll import VkLongPoll import messages import online import friends_lp finished = True async def info(delay, peer_id, command): global onl await asyncio.sleep(delay) if "!н инфа" in command or "!н инфо" in command: if peer_id > 2...
[ "noreply@github.com" ]
noreply@github.com
6dd0be9d6b07dba30423d4ecfba393cefadaf205
5234bc430c83d616a8214d7f77c2c081543b6b26
/src/Python/1-100/96.UniqueBinarySearchTrees.py
6c59f9a19ecaa76aa1eae5a23d0e85ffde46d062
[ "Apache-2.0" ]
permissive
AveryHuo/PeefyLeetCode
3e749b962cadfdf10d7f7b1ed21c5fafc4342950
92156e4b48ba19e3f02e4286b9f733e9769a1dee
refs/heads/master
2022-04-26T06:01:18.547761
2020-04-25T09:55:46
2020-04-25T09:55:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
349
py
class Solution: def numTrees(self, n: int) -> int: dp = [0] * (n + 1) dp[0] = 1 dp[1] = 1 for i in range(2, n + 1): for j in range(1, i + 1): dp[i] += dp[j - 1] * dp[i - j] return dp[n] if __name__ == "__main__": solution = Solution() pr...
[ "xpf6677@163.com" ]
xpf6677@163.com
fea6f964339fb23f6f9a008d7407e6133306cc04
3740de0d6e43ea140fc09ab314e4c492603ba185
/scripts/sources/S_EllipsoidTestWaitingTimesACDres.py
af9ab8366b01c94bbb1df7f27d3b20251e3c79dd
[ "MIT" ]
permissive
s0ap/arpmRes
29c60c65fd3e11be1cc31d46494e5b3ebf6e05ab
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
refs/heads/master
2022-02-16T05:01:22.118959
2019-08-20T16:45:02
2019-08-20T16:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,056
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.4 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # S_El...
[ "dario.popadic@yahoo.com" ]
dario.popadic@yahoo.com
2bb70d6a6695aea5c1b72fc92e57b6b8eb639e23
66dd1a87c257c1b02a85e0bf0ff38c2da84d5cba
/order.py
2dd59897baa368189d4bd1f451de24d3033d8531
[]
no_license
Ofekroz10/Restaurant-Simulator
2c4c5cd2da25d074cca7392de98f813856290512
cc015b12cbd32ec27df875fedcab13463603c1ef
refs/heads/master
2021-01-25T23:32:19.399671
2020-03-04T12:07:56
2020-03-04T12:07:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
import sys from enum import IntEnum from heapq import * import exceptions class Priority(IntEnum): NORMAL = 2 PLUS = 1 VIP = 0 class Order: """ represent an order, id is class variable """ id = 0 def __init__(self, priority, ): self.meals_lst = list() self.order_id = Order....
[ "ofekrozenkrantz@gmail.com" ]
ofekrozenkrantz@gmail.com
43d41fd4f5157f53f333ca113a52693267e38d94
b00fc84e34bde330dc6439e7e96a394add7a73d8
/TicTacToeBoard.py
e58a4a5a571c3092b3e61b382e0c12f3ca020937
[ "Unlicense" ]
permissive
ivaneduardomv/Q_Learning
940faedb96794cd1a9baddaf4bddf979201ef5d3
d8f642252dea446d985c9626bbb37194d79e43c1
refs/heads/master
2020-12-27T18:36:57.229093
2020-02-03T16:13:21
2020-02-03T16:13:21
238,006,843
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
class TicTacToeBoard(): """docstring for TicTacToeBoard""" def __init__(self): for x in range(9): self.boardArray.append('-') M = 3 N = 3 boardArray = [] def ThrowX(self, coordX, coordY): self.boardArray[coordX * self.M + coordY] = 'X' def ThrowO(self, coordX, coordY): self.boardArray[coordX * self....
[ "ivaneduardomv@msn.com" ]
ivaneduardomv@msn.com
53fe24223fbffd0f694c4f4c0faf15c15b2809c4
fdce456e2f0ea12f854e98583cfda95955b9a36b
/manageusers/apps.py
dca42b37dd05993510c3c0ba37e95721d15238d8
[]
no_license
atifasr/jobportal
e5fdc8058759311e8d4ca2c0291066ad86059fb6
3fe211598daa66f2a76c2b3d4d26d73459ac7457
refs/heads/master
2023-08-05T02:01:00.870360
2021-09-29T11:59:29
2021-09-29T11:59:29
388,807,519
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.apps import AppConfig class ManageusersConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'manageusers' # def ready(self): # from .schedulers import scheduler # scheduler.start()
[ "atifshafi63@gmail.com" ]
atifshafi63@gmail.com
f9363a95cf7c89213c5d653650782b71e0865a47
abcfd22028defe9e33610bc89dcbdb73ead10fc1
/gene/models/CNN3.py
0b68d695f928ca5d61d7f53eb45dcd542ea2faeb
[]
no_license
jheo4/gene_classification
e46b6443ec4a10e0ce27da88054d6cd3c713e4a9
2f85678f6f87433758269ae8720f4d689e40d87c
refs/heads/master
2020-04-11T20:23:37.080596
2019-02-14T02:36:11
2019-02-14T02:36:11
162,069,064
1
0
null
null
null
null
UTF-8
Python
false
false
739
py
import torch import torch.nn as nn class CNN3(nn.Module): def __init__(self): super(CNN3, self).__init__() self.c1 = nn.Conv2d(1, 16, kernel_size=3, padding=1) self.b1 = nn.BatchNorm2d(16) self.p1 = nn.AvgPool2d(kernel_size = 2, stride=2) self.c2 = nn.Conv2d(16, 32, kernel_size=3, padding=1) ...
[ "jin993@gmail.com" ]
jin993@gmail.com
8d4e56953936aaa921286a1937fac5ff0b20f0c1
ea9ad8d33bafcac691abd4f258e689cfac2ca87a
/leetcode/algo/foobar_1_1.py
376f6f2fe9f743ae88890ee1e9f99eab7572ce72
[]
no_license
wduncan21/Challenges
97aa1937e4ba5c290df16b7ca6d4e9528b02af70
391328c7c601b5c77ff250ad173600d4d1dd7f57
refs/heads/master
2021-01-22T07:42:51.462562
2017-09-21T03:45:51
2017-09-21T03:45:51
102,243,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 31 22:36:11 2017 @author: Mr.Wang There's some unrest in the minion ranks: minions with ID numbers like "1", "42", and other "good" numbers have been lording it over the poor minions who are stuck with more boring IDs. To quell the unrest, Commander Lambda has tasked ...
[ "wluducan@gmail.com" ]
wluducan@gmail.com
a094b4dd3338e52ec549cceaad1e8a759808677c
3d111a528f451103439f2ae4af095a670fa8028f
/ailabeling/sort.py
20639b09ccd84fa1a0c0b8459827e3a470bb383f
[]
no_license
jiugegelaile/pipeline
b15d375ee9cf6c589181fa40769944762e5c154c
7cc18a826c5fd38648b464ca6304bd5e7642f955
refs/heads/master
2023-02-21T14:55:59.813620
2021-01-07T02:41:59
2021-01-07T02:41:59
327,483,070
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
def sort(list): list.sort(key=lambda x: (int(x.split('_')[0]), int(x.split('_')[2]))) print(list) if __name__ == "__main__": list = ["1_front_1_038-23011016201202092437539.jpg", "1_front_4_038-23011016201202092443539.jpg", "1_front_3_038-23011016201202092441539.jpg","1_front_30_038-23011016...
[ "790013422@qq.com" ]
790013422@qq.com
04d3f7f57b86f9d53dc66b09133701d70ba362a7
1720de4f3fd52d8d398ed5a498d49bf781847e3e
/learning_python/week3/wk3_exercise5.py
2471ebdcfbdaba77985a9a18609fd3a9b4e2d15d
[]
no_license
alexDEaraujo/pynet
f5b2629eaeed7e6bf2b9c40a5d183d8e614ffe1b
bb234643a4269b3886f230963044e0acbbdcb81b
refs/heads/master
2021-06-30T14:34:33.804413
2020-12-21T21:50:13
2020-12-21T21:50:13
204,849,327
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
import os WINDOWS = True base_ip = "10.142.86." base_cmd_linux = "ping -c 2" base_cmd_win = "ping -n 2" base_cmd = base_cmd_win if WINDOWS else base_cmd_linux ip_list = [] for last_octet in range(1, 255): new_ip = base_ip + str(last_octet) ip_list.append(new_ip) for i, ip_addr in enumerate(ip_list): pr...
[ "aaraujo@corp.gluenetworks.com" ]
aaraujo@corp.gluenetworks.com
e68d2f4f4ab44a3e822c784d73212b4ce73eb25e
02b0d49b2dce19636088a9726decbf226be33b0b
/projects/migrations/0001_initial.py
c51df14e3fe22287e9cb14c4acec96a399af3e72
[]
no_license
minhch-git/devsearchlive
083c0b6a8d9dea83e25300867138e7926b297c6d
e4fe082f553ea693dfac5fcf9e2f5780a62d3c38
refs/heads/main
2023-07-27T12:54:53.896540
2021-09-13T10:15:29
2021-09-13T10:15:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
# Generated by Django 3.2.7 on 2021-09-13 02:26 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', models.BigAutoFie...
[ "minhch.vn@gmail.com" ]
minhch.vn@gmail.com
47bfc9032bf7353361b1818c44b2797b13363154
04d8f0b5a291ec6c3470f4498dd64ab9c1845f96
/library/third-party/file_formats/pypdf2/pdf_file_merger/info.py
50f3b155bd7f0b74923a56b302593acd731e7e98
[]
no_license
volitilov/Python_learn
8c0f54d89e0ead964320d17eeddeacd5b704b717
f89e52655f83a9f1105689f0302ef5b0ee30a25c
refs/heads/master
2022-01-10T13:39:59.237716
2019-07-17T11:39:10
2019-07-17T11:39:10
70,601,503
3
2
null
null
null
null
UTF-8
Python
false
false
1,223
py
from PyPDF2.PdfFileMerger import * # Инициализирует объект PdfFileMerger. PdfFileMerger объединяет # несколько PDF-файлов в один PDF-файл. Он может конкатенировать, # нарезать, вставить или любую комбинацию из вышеперечисленного # ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PdfFileMerger( stri...
[ "volitilov@gmail.com" ]
volitilov@gmail.com
23fd4c7bce265fa37358d997c2af125abc82efb2
b5802f3419cec6cfe19f2f5e0d658179ce6db096
/stocks/validators.py
4ac6467b3b85e073725bf81f05fb24f650405670
[]
no_license
fjbsantiago/ivalue
0f137ec663575f8814eb10b6213a36445cb8fc17
b03bcf472dd6d804d1b862641dbdcb59c1c8e2fa
refs/heads/master
2021-01-19T14:21:05.948255
2017-04-13T15:30:29
2017-04-15T20:53:17
88,149,548
1
0
null
2017-04-15T20:54:05
2017-04-13T09:41:22
JavaScript
UTF-8
Python
false
false
191
py
from django.core.exceptions import ValidationError def no_abc(value): content = value if content == "abc": raise ValidationError("Content cannot be abc") return content
[ "asdkavir@gmail.com" ]
asdkavir@gmail.com
255997393c11703c927617a467958a7455c0b86b
c85b91bfdd7eb2fa5a7d6c6a9b722c8548c83105
/vscode/extensions/ms-python.python-2020.3.69010/languageServer.0.5.31/Typeshed/third_party/2and3/Crypto/Hash/SHA256.pyi
0469b7cb2b4e995bbd9b60c74f5c7d1c887412a6
[ "MIT", "Apache-2.0" ]
permissive
ryangniadek/.dotfiles
ddf52cece49c33664b56f01b17d476cf0f1fafb1
be272baf6fb7d7cd4f4db1f6812b710196511ffe
refs/heads/master
2021-01-14T07:43:12.516127
2020-03-22T20:27:22
2020-03-22T20:27:22
242,632,623
0
0
MIT
2020-09-12T17:28:01
2020-02-24T02:50:06
Python
UTF-8
Python
false
false
399
pyi
from typing import Any, Optional from Crypto.Hash.hashalgo import HashAlgo class SHA256Hash(HashAlgo): oid = ... # type: Any digest_size = ... # type: int block_size = ... # type: int def __init__(self, data: Optional[Any] = ...) -> None: ... def new(self, data: Optional[Any] = ...): ......
[ "ryan@gniadek.net" ]
ryan@gniadek.net
e48c796d23da7fc3771a12c15b168dc2b66ca289
04578408c11fc2f0ce9ab79d396bb9a4fe8d941d
/Models/Segmentation/Parser.py
d13b158f49b6675ad2622d99863a155a6184fccd
[]
no_license
Abdullah-Alrefaey/Automatic-CaScoring-From-Chest-CT
7724d12699f33f38e18f959748bd9423c6a51fdf
a00015f0a7c9255d17351bb0b78ad5dbb63220e8
refs/heads/main
2023-08-29T14:40:14.644677
2021-07-25T00:21:43
2021-07-25T00:21:43
420,287,658
0
0
null
null
null
null
UTF-8
Python
false
false
6,097
py
# # Parser.py # Author: Ahmad Abdalmageed # Date: 5/21/21 # import nibabel as nib from scipy.ndimage import zoom, rotate from skimage.transform import resize import numpy as np import cv2 import os training = 'Data/Training/' validation = 'Data/Validation/' train_target_image = 'Data3/Training/image' train_target_mask...
[ "ahmedmageed19@gmail.com" ]
ahmedmageed19@gmail.com
38a7e2ff822b6908a35de1dc748a80913365b95a
853bb5bafbd8c0d7dfcc3430a87052d12b8406c0
/Challenge 4/Question 1/solution.py
9ddbd30a847903a133e5b9cf709733baa5f7e80f
[ "Apache-2.0" ]
permissive
Rishit-dagli/Google-FooBar
3be2945d90b919c8283664f1d2b89f9262de1653
85dc2dbb880bffa4568fa84657fc0d1bcd6b8974
refs/heads/master
2022-11-11T13:27:13.517662
2020-06-30T17:51:13
2020-06-30T17:51:13
263,262,892
5
2
Apache-2.0
2020-06-04T04:19:33
2020-05-12T07:19:49
Python
UTF-8
Python
false
false
2,835
py
import math def generate_dist_vector(size, start, tot_length, length): tmp = [start] count = 0 l, r = -length, tot_length - length for i in range(size): left, right = tmp[0], tmp[count] left += (l*2) right += (r*2) l, r = -r,-l tmp = [left] + tmp + [righ...
[ "noreply@github.com" ]
noreply@github.com
3c489724580fee1cff01e9a6d5af9cf6c8e318b5
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/inbox/tests/test_move_items.py
61144957b42114b41d7ac357bcc9e2fa1a33ec6d
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
1,116
py
from Acquisition import aq_inner from Acquisition import aq_parent from ftw.testbrowser import browsing from ftw.testbrowser.pages.statusmessages import assert_no_error_messages from opengever.testing import IntegrationTestCase from plone import api from plone.uuid.interfaces import IUUID class TestMoveItemsWithBrows...
[ "pablo.verges@4teamwork.ch" ]
pablo.verges@4teamwork.ch
f3ff80e06ffa6e5b066bd4f24b990dfee599e6f1
6d891f7ddfc582e4419825d77dc83023e77c2d43
/phrase-vec/phrase-interactive.py
47312f684c0ebdca2d549d580b2f10f06f0f7827
[]
no_license
SnakeHunt2012/word2vec
2f2916398279ea5f895b6bec67ae4508af457e73
d259f790f0a0c55c1ab85529ab49c387ed458091
refs/heads/master
2021-01-09T20:49:33.414213
2016-06-14T07:56:35
2016-06-14T07:56:35
52,870,978
0
0
null
null
null
null
UTF-8
Python
false
false
5,355
py
#!/usr/bin/env python # -*- coding: utf-8 from sys import stdin from codecs import open from numpy import array, zeros, dot, sqrt from argparse import ArgumentParser from theano import tensor, function tensor_vector = tensor.vector() tensor_scalar = tensor.dscalar() normalized_vector = tensor_vector / tensor.sqrt(ten...
[ "SnakeHunt2012@gmail.com" ]
SnakeHunt2012@gmail.com
7569f83cf194ab98454b91e6f75242aa4184ba9a
bd0bdc24b8bd9d132f3dcd735c32977b4bc77489
/Phasing_and_Imputation/imputation_pipeline.py
f5b5695b3fd50af7ab9241919cd35201bf51bc10
[]
no_license
scleland01/BIOL-8803-IGen
f6769b53e18d2ab1b75d8e03cceae5160f60b951
95c9475c46296af57a731a2d0e65819989c94801
refs/heads/main
2023-02-25T13:19:43.450691
2021-02-04T03:10:08
2021-02-04T03:10:08
332,613,242
0
0
null
null
null
null
UTF-8
Python
false
false
5,578
py
import argparse import subprocess from multiprocessing import Pool parser=argparse.ArgumentParser() parser.add_argument("-i", required=True) parser.add_argument("-t", required=True) parser.add_argument("-d") args=parser.parse_args() #convert 23andme file to vcf subprocess.call(["bcftools", "convert", "--tsv2vcf", ...
[ "noreply@github.com" ]
noreply@github.com
8581bebb0515d9f6f5077ab898a270199551fc0a
48f58a3cbf6ce5f4f6ac0d14486ede6e69310820
/fastreid/modeling/meta_arch/baseline.py
bbad7de46794558331d2b95973a6fb164e93f649
[]
no_license
AsuradaYuci/CCFP
00455fadb3f414352da667fd00454f0ab7e67e65
858f57997ce688779d2abe31ee93ca86730f7949
refs/heads/main
2023-08-03T12:48:26.975345
2021-09-11T07:54:51
2021-09-11T07:54:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,490
py
# encoding: utf-8 """ @author: liaoxingyu @contact: sherlockliao01@gmail.com """ import torch from torch import nn from fastreid.modeling.backbones import build_backbone from fastreid.modeling.heads import build_heads from fastreid.modeling.losses import * from .build import META_ARCH_REGISTRY from fastreid.modeling...
[ "noreply@github.com" ]
noreply@github.com
59e5bfc5a438f06bf596e960a06c30425b19e745
59d5139282681ccd9316d051833517302778f880
/Python/Cool things/test.py
b0c4fa3e67ad73823cd0ec9df365b2537771bdc5
[]
no_license
Nikita-bsu/Something
66ce86387f7865adb4da8b420a7e4743f5deb6fe
0fa0328e08e45b86453a3984dd4ad99f38ad9f4d
refs/heads/master
2023-04-16T04:20:53.899131
2021-04-30T12:39:39
2021-04-30T12:39:39
363,136,465
0
0
null
null
null
null
UTF-8
Python
false
false
6,818
py
import random import numpy as np import _pickle as pickle count = 16 a = np.zeros(count) first_time = True class _Getch: """Gets a single character from standard input. Does not echo to the screen.""" def __init__(self): try: self.impl = _GetchWindows() except ImportError: ...
[ "nik.mikbsu@mail.ru" ]
nik.mikbsu@mail.ru
3f49d4200ab4388cbd1e35a2df376979efb51f35
d2ee3c418332d6121642ccecafb6e3f47fe08889
/src/dataset.py
415915aa776bc671388dc63b3e5d3481e6f909a5
[]
no_license
DJever23/DyReLU
afa1e19694884ed076c81c6a78740298af14aaee
4515c4407262c0bc2e61b8bfee61ce698836f8f0
refs/heads/master
2023-01-14T01:59:39.962499
2020-11-14T10:30:43
2020-11-14T10:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
from torchvision import transforms from torch.utils.data import Dataset, DataLoader from PIL import Image from utils.load_config import Config def default_loader(path): return Image.open(path).convert('RGB') class MyDataset(Dataset): def __init__(self, txt, transform=None, target_transform=None, loader=def...
[ "luanshiyinyang@gmail.com" ]
luanshiyinyang@gmail.com
13dd7d3399da40bf1282af9a068f620e9bd21560
44c196d74c51cbc66c05c97b9d9a377c8aa6bb40
/grocerybag/grocery/migrations/0005_additem_user.py
b4f1617d15798b505887f9168404897d14d71d42
[]
no_license
Pratik-ahirrao/grocerybag
02ee6d438a4df5785c88d8cbeba8df269ec1ba23
4d59da4a9a4abeba764c6b32aa3b9a2f3e5e05b7
refs/heads/master
2023-08-04T21:28:35.098707
2023-07-31T19:21:25
2023-07-31T19:21:25
403,706,514
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
# Generated by Django 3.2.7 on 2021-09-06 07:15 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), ('grocery', '0004_alter_ad...
[ "pratikahirrao0@gmail.com" ]
pratikahirrao0@gmail.com
d429933954f17bdb29a27618c00bf37a8a9ead4c
335ca7ca235630e6ec4970241af8abefad61b80c
/curso/models.py
40274cbf67d98c73eb2f12d234c55357c9e287f7
[]
no_license
VitoriaIzaine/django-escola
3d99802616f237ec1c3c1f518a840ba3c3b75131
1a85d93f6bb56c29ad7a011395c97df60b3055c8
refs/heads/main
2023-09-04T19:09:52.449679
2021-10-13T14:14:12
2021-10-13T14:14:12
416,768,489
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
from django.db import models class Base(models.Model): create = models.DateTimeField(auto_now_add=True) update = models.DateTimeField(auto_now=True) active = models.BooleanField(default=True) class Meta: abstract = True class Curso(Base): titulo = models.CharField(max_length=50) url ...
[ "vitoriaizaine@gmail.com" ]
vitoriaizaine@gmail.com
84b968169382602afa62062f76d42932913fbcd8
c0238b72eb5432dcf4100d459bdb954591631d6c
/demo_shared_with_weight_copy_each_time.py
164d790305efbbae2f95f84bb8da6a1e3bb5a0ad
[]
no_license
edmBernard/mxnet_example_shared_weight
6419779182b400a31e9097e156cacfc667bff5bc
88c598a44019906f41e391b3cc064274c064c15b
refs/heads/master
2021-01-19T12:44:12.298200
2020-12-31T16:29:50
2020-12-31T16:29:50
100,804,769
14
4
null
null
null
null
UTF-8
Python
false
false
3,642
py
import logging import mxnet as mx logging.getLogger().setLevel(logging.DEBUG) # logging to stdout mnist = mx.test_utils.get_mnist() batch_size = 100 train_iter = mx.io.NDArrayIter(mnist['train_data'], mnist['train_label'], batch_size, shuffle=True) val_iter = mx.io.NDArrayIter(mnist['test_data'], mnist['test_label'...
[ "bernard.erwan@gmail.com" ]
bernard.erwan@gmail.com
8f70da36be4bad5f57453e846ac2e05538819700
850c82ae7aead2e7e54234798c47de3952a4b234
/net/mobilenet_v2.py
7ee58ae0106c484dda063be448e94e75499a6358
[]
no_license
lishanlu136/knowledge_distillation
934c7b818a9e3ce1067d6007171d3a7efee8ca31
ba65ec350af88e891756761fae43f0c9a3980123
refs/heads/master
2022-10-21T16:18:47.729467
2020-06-16T10:43:25
2020-06-16T10:43:25
272,681,165
2
0
null
null
null
null
UTF-8
Python
false
false
10,014
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 2018 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/licen...
[ "1078872918@qq.com" ]
1078872918@qq.com
dd188a89cf6826811e25abf70f7d5db8ca841c50
50f3206dc7e4db6864473a59eaf598a48210f4b3
/chapter-07/eg4.py
e37e4a873f42391385c68bc09be549c803a606c7
[]
no_license
macyapp/python-for-everybody
335626aa1c244c703079e647fa5bb0dbbb345d97
3ea0c4e2c62392e26d60c3c4eb9e8244cbece24f
refs/heads/master
2022-11-22T23:16:14.383098
2020-07-29T12:28:27
2020-07-29T12:28:27
263,840,594
0
1
null
2020-07-29T12:28:28
2020-05-14T07:03:36
Python
UTF-8
Python
false
false
131
py
fhand = open('mbox-short.txt') count = 0 for line in fhand: line=line.rstrip() if line.startswith('From:'): print(line)
[ "sidhantn99@gmail.com" ]
sidhantn99@gmail.com
14f8bc1f60b9b03ebcd2a95145df7573d739d188
1fee0eaa0950488fc473d7d5ab2cffb10aa076be
/mdls/mode13/v13_na_ri_8r64dr_ver101_config/read_snap_quantreout.py
196ff0eae444ddf505f766a77abab3390aa79e9a
[]
no_license
demorest/vegas_devel
19a9a18890ffeebb426521c0cc53d31a5c26cd80
43633271af6dd1e01b73de5b12bacc40740886ce
refs/heads/master
2021-01-21T00:07:48.109003
2013-03-25T18:31:45
2013-03-25T18:31:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
#!/usr/bin/python2.6 ################################################################## # Script Information # This script can be used as iADC(2GSps) board testing # Connect the input I+ with a frequence such as 13MHz and clock # as 200MHz # 20120517@CASPER.Berkeley ###################################################...
[ "jayanthc@gmail.com" ]
jayanthc@gmail.com
f6c63ede371e0271643d28518bd43b3d85636c61
0547d1826e99eedb959a3463520d73985a3b844e
/Data Scientist with Python Track Github/22-Statistical Thinking in Python (Part 2)/05-Putting it all together a case study/08-Beak length to depth ratio.py
ee9d31d8f9a75fbdc075f31112ca552fb4842913
[]
no_license
abhaysinh/Data-Camp
18031f8fd4ee199c2eff54a408c52da7bdd7ec0f
782c712975e14e88da4f27505adf4e5f4b457cb1
refs/heads/master
2022-11-27T10:44:11.743038
2020-07-25T16:15:03
2020-07-25T16:15:03
282,444,344
4
1
null
null
null
null
UTF-8
Python
false
false
1,654
py
""" Beak length to depth ratio The linear regressions showed interesting information about the beak geometry. The slope was the same in 1975 and 2012, suggesting that for every millimeter gained in beak length, the birds gained about half a millimeter in depth in both years. However, if we are interested in the shape...
[ "abhaysinh.surve@gmail.com" ]
abhaysinh.surve@gmail.com
c84ce134627ed330def481a073c53077edbf1216
7eb915eb06ea731ea56d3825153cbb3d669ab0d5
/cs/subsites/tests.py
093a02d4da1e0cc4cb3952c99e19ff1910d06def
[]
no_license
codesyntax/cs.subsites
67a8fb475c70639685169ca6e497ffbc160e3a64
465f34ac27401a227ad5f1dd47ef36403db3ca54
refs/heads/master
2022-07-10T14:24:07.995052
2016-09-05T11:08:15
2016-09-05T11:08:15
45,188,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
import doctest import unittest from Testing import ZopeTestCase as ztc from Products.Five import zcml from Products.PloneTestCase import PloneTestCase as ptc from Products.PloneTestCase.layer import PloneSite from Products.PloneTestCase.layer import onsetup import cs.subsites OPTION_FLAGS = doctest.NORMALIZE_WHITES...
[ "libargutxi@codesyntax.com" ]
libargutxi@codesyntax.com
cc2f09eee84765b5427e394a66b9788ab5cd8916
9de1095afb20c2a9067e4a39e0f4ad87bfc17558
/warrior/WarriorCore/testcase_steps_execution.py
29cb2f53c9a06edf830a4152e2f78c4cae5c951e
[ "Apache-2.0" ]
permissive
kaheichan/warriorframework
1c44992b98d99189b9ba25b4c4e8195a1a0c7862
c18e305ea9d187debf29168876a1fee6b8836239
refs/heads/master
2021-01-21T15:26:44.533158
2018-01-09T21:53:06
2018-01-09T21:53:06
85,851,056
0
0
null
null
null
null
UTF-8
Python
false
false
9,853
py
''' Copyright 2017, Fujitsu Network Communications, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
[ "sathya.radhakrishnan@us.fujitsu.com" ]
sathya.radhakrishnan@us.fujitsu.com
7cf4e6b83b9d8709b7cfff6e799f4f578f8f78e8
0b8b460606052e3011705d79e25e80c2fc9ce65e
/KNN_Results/KNN_four_feat_model/score.py
8c10f52525ddc976fb4e7516cfd1690cf24fa3c2
[]
no_license
gitvivekgupta/Sentiment-Analysis
e0c152efdce227d3827cdd033c7bc1828789d0fb
891b582d4df8ca2709491c6d80fa84987385489f
refs/heads/master
2020-03-28T12:09:42.380444
2019-10-17T09:20:46
2019-10-17T09:20:46
148,274,187
0
0
null
null
null
null
UTF-8
Python
false
false
11,825
py
import csv import json import time from textblob import TextBlob from features import build_vocab from google.cloud import translate from spellchecker import SpellChecker neu_features = "neu_features.txt" neu_feature_file = open(neu_features, "r") neg_features = "neg_features.txt" neg_feature_file = open(neg_feature...
[ "vivek.gupta.blue@gmail.com" ]
vivek.gupta.blue@gmail.com
311455831162a04dc4f76165796faeede2cf28cb
30d5409a4bd75199b7225aa4e2fd34c2117d6382
/template.py
a2a9853cbdf468e331418348c7c35c5fb0ab24ae
[]
no_license
jerry-peng/advent-of-code-2018
260159646931a12765d79b9eed5d87e0d3fb6bea
b0d00ce515ad38237786a2c387b3372055865f00
refs/heads/master
2020-04-11T13:28:00.468222
2019-12-11T06:17:36
2019-12-11T06:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
def main(): data = readFiles() print(data) def readLine(line): return line def readFiles(): data = [] file = open('input.txt', 'r') for line in file: data.append(readLine(line)) file.close() return data if __name__ == '__main__': main()
[ "jerrypeng0112@hotmail.com" ]
jerrypeng0112@hotmail.com
daface475f5b0ebaca1216489715e0ecde64d1d3
a9375ae0cecba2f70e01fe9455af7173dab6a3da
/scheduled_tasks/reddit/stocks/AutoDD.py
96dd32db152c51dc9f3397d42fd14a80b105b866
[ "MIT" ]
permissive
kannavue/Stocksera
ca3c2680371fb106e7850ed7a1b956f64e56c8a0
80fbbfb7d38cf8bf09367d67bda85bdc0c7801d4
refs/heads/master
2023-09-04T01:59:27.353642
2021-11-04T13:13:09
2021-11-04T13:13:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,029
py
import sys import os import re import locale import praw from collections import Counter from datetime import datetime, timedelta import matplotlib.pyplot as plt import yfinance.ticker as yf from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer import sqlite3 from scheduled_tasks.reddit.stocks.fast_yaho...
[ "tanguanquan@yahoo.com" ]
tanguanquan@yahoo.com
63d18cf1b9a01df87b841db87908955f4e15253d
f480cba49c272f52a9e9fb3d21da6dc59aeb0e01
/lenders/models.py
1f0a9981f3706ec93f5eca962882ffe7f952b65c
[]
no_license
RomaneGreen/lambada
3fc2fa9847a7850fc7251a8554999b3951fe4c32
c037a65a5eadebe38958891691fb8232e9556106
refs/heads/master
2022-11-23T07:21:18.687785
2020-07-26T17:09:20
2020-07-26T17:09:20
250,838,222
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
from django.db import models from datetime import datetime # Create your models here. class Lender(models.Model): name = models.CharField(max_length=200,blank=True) photo_main = models.ImageField(upload_to='photos/%Y/%m/%d/',blank=True) phone = models.CharField(max_length=20,blank=True) programdate = m...
[ "romaneg@Romanes-MacBook-Pro.local" ]
romaneg@Romanes-MacBook-Pro.local
16c262e541fc9403bd1ef644a22792cbce34c815
3554ec3d9be85b6c66d3ea05828089c20860539f
/qubot/utils/errors.py
7368b671c59849ed2d4306fba2edc6509313009f
[ "MIT" ]
permissive
anthonykrivonos/qubot
715b426f058b45b0ffe09114697083f4a46a41e5
0cc9623a22fe75a0c8d4a08ac8adc96184dc2ae7
refs/heads/main
2023-04-05T09:08:32.801349
2021-04-16T06:29:08
2021-04-16T06:29:08
338,516,226
2
1
MIT
2021-04-14T19:13:17
2021-02-13T06:56:30
Jupyter Notebook
UTF-8
Python
false
false
1,201
py
from typing import Callable, Optional from time import sleep def inline_try(func: Callable) -> Optional[Exception]: """ Try to execute an inline function without throwing an error. Useful when the Exception thrown is trivial. :param func: A function to call. :return: None if no exception is thrown or ...
[ "abkrivonos@gmail.com" ]
abkrivonos@gmail.com
d0fdb6c1f4e03fc9e0b45dacec33247b3402dc7b
30d5be10d92bf713874122b6a7676459c3056f4a
/MatchActivity.py
147efbe7dde6b75aac1f709a80259ba335f52ee6
[]
no_license
ajaymonga20/Projects2016-2017
c7b586bc8c6240a55e696164b101d8c0a173ef9e
ca7eea78b0eddd2dbc783470f3a5d638054b3e48
refs/heads/master
2020-04-07T06:21:27.098805
2018-11-29T17:03:52
2018-11-29T17:03:52
158,131,715
0
0
null
null
null
null
UTF-8
Python
false
false
2,075
py
from gettext import gettext as _ import sys from gi.repository import Gtk import pygame import sugar3.activity.activity from sugar3.graphics.toolbarbox import ToolbarBox from sugar3.activity.widgets import ActivityToolbarButton from sugar3.graphics.toolbutton import ToolButton from sugar3.activity.widgets import Stop...
[ "noreply@github.com" ]
noreply@github.com
bd6f19cc309ca96b8337ed2d79752fead8b00ed9
3346669e5b8bfb5318179819ec46dbe2011d1619
/Policy Gradient Methods/discretize.py
df79b800c7579d2e851da3e571df2f45185b95da
[]
no_license
alidzhikov/reinforcement-learning
1d9c5560a66ca7b22e1eb5bc23c6ef2b26e4539b
83db4325a8d0f034e977d5359d7e825baac7ed74
refs/heads/main
2023-07-01T13:14:23.245919
2021-08-07T06:59:12
2021-08-07T06:59:12
357,237,289
0
0
null
null
null
null
UTF-8
Python
false
false
4,629
py
# -*- coding: utf-8 -*- """ Created on Fri Jul 16 22:43:58 2021 @author: Mustafa """ import sys import gym import numpy as np import pandas as pd import matplotlib.pyplot as plt # Set plotting options plt.style.use('ggplot') np.set_printoptions(precision=3, linewidth=120) # Create an environment and set random s...
[ "m.alidzhikov2630@gmail.com" ]
m.alidzhikov2630@gmail.com
8593611db4f020a4c49e00ff63f8707ff98d10bb
9849f3d4ee33f3c3cbad8fd056eeeb38bbdc5e46
/sv.py
f7830428fdd0620eb379d17a9cc2579c35e15d67
[]
no_license
Sawa543/kNN
7db0cc77f273e59594b528a553e12659192eec47
969fb8c3a38119f754c59e92cf72bbc36333c326
refs/heads/master
2022-10-31T05:06:11.674702
2020-06-17T14:13:02
2020-06-17T14:13:02
261,052,659
0
0
null
null
null
null
UTF-8
Python
false
false
6,752
py
#程序简述: #前提: # 从MNIST官网上下载手写数据集(四个),保存在d盘的文件夹(名字为AI)中 #实验环境: # Windows操作系统,python 3.8.2,Visual Studio Code 1.44版 #程序运行过程: #1.程序运行时,首先读取这四个数据集 #2.输入一个k值(整数)作为kNN算法的k值 #3.程序会计算前1000个测试数据集利用KNN算法所得分类结果,计算正确率并显示 #4.输入一个i值(整数)来代表想要测试的数据 #4.对测试集中第i个数据利用kNN算法进行标签分类 #5.在中端显示区会显示测试数据的k个近邻数据的标签,测试数据的实际标签以及利用KNN算法所得的标签 ...
[ "noreply@github.com" ]
noreply@github.com
affcd8ba90bbca8974ab39aaac6fd5ac494f3abd
337dcb11099d411264d6cef29036157c977df5f8
/shunqiwang/spider/根据地区获取数据.py
4ec2bf1111bf918b8e7b4e4bb54572c7a55b3e04
[]
no_license
j38472/worksproject
980a580318416be9f9de76cab6a40ee0500ea348
5182fd49c424bb5c36c6457d04d3020b05fb4b9f
refs/heads/main
2023-05-13T19:04:36.430107
2021-03-30T06:57:40
2021-03-30T06:57:40
352,859,327
0
0
null
null
null
null
UTF-8
Python
false
false
8,464
py
from time import sleep import pymysql from lxml import etree import requests import re from fake_useragent import UserAgent class ShunQi: # 数据库链接 def __init__(self): self.conn = pymysql.connect( host='127.0.0.1', port=3306, user='root', password='97655...
[ "34500603+j38472@users.noreply.github.com" ]
34500603+j38472@users.noreply.github.com
55fbb25fa35077570bd924c3688a57ee9546dea2
fa5e22528ab8308c4a2bfa902d9ee288aa977233
/nfb_studio/signal_nodes/signal_node.py
8abce727dfe358b4ec2b0fb5b8396c0216aa2857
[]
no_license
bioelectric-interfaces/nfb_studio
4aa506c27ad693810fad6e884834949b24d6dde8
397605cb6beb4d35f0b2dc14dd1efa3d81976461
refs/heads/master
2023-04-23T10:27:27.957674
2021-05-23T20:17:08
2021-05-23T20:17:08
237,448,419
1
0
null
null
null
null
UTF-8
Python
false
false
2,318
py
"""NFB main source signal.""" from PySide2.QtWidgets import QWidget, QComboBox, QLabel, QFormLayout, QLineEdit, QCheckBox, QDoubleSpinBox, QHBoxLayout from ..scheme import Node, Input, Output, DataType class SignalNode(Node): """A node representing part of the signal in the signal designer. In the model-view...
[ "andres.zhukov@gmail.com" ]
andres.zhukov@gmail.com
43fdac89fbc88fa12bff6d89944aeae8645420fc
98e6b1aca114160168cc1e98fc52880121dededd
/blog/migrations/0012_auto_20200924_1506.py
9d232a9007b7626e1b5e537c912e06b89a9b4e33
[]
no_license
tidders2000/screenpop
423cf0133052500aaf3dea9c539ab1523f1cba79
0e920fbe32db6c3cc755182b70b6e55e1443d7a9
refs/heads/master
2023-08-23T20:53:00.219377
2021-10-18T20:04:06
2021-10-18T20:04:06
288,985,602
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# Generated by Django 3.1 on 2020-09-24 15:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0011_post_category'), ] operations = [ migrations.AlterField( model_name='comment', name='active', ...
[ "simontidman@Simons-MacBook-Pro.local" ]
simontidman@Simons-MacBook-Pro.local
6eb5b62fea02661d05c4422bddc8745ab2c8aa81
213558636cd89f2105ec0b2e385dcaaf899e41ce
/visualisations.py
2641985c6f9113be38bf2bdd282814cf0f9fbedc
[]
no_license
Hazarrrd/Books-ONOS
a340c11b71968be84b17f0579a95beb8752857d6
dca2d0eb7e2bf57870efb2142fe3d30e5b5bdea1
refs/heads/master
2022-10-27T15:25:48.919076
2020-06-14T18:28:03
2020-06-14T18:28:03
265,900,204
0
0
null
null
null
null
UTF-8
Python
false
false
8,077
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import KBinsDiscretizer import data_preprocessing as proc from igraph import * from wordcloud import WordCloud, STOPWORDS import matplotlib.pyplot as plt stopwords = set(STOPWORDS) def discretize_data(data, strategy="...
[ "jannsieradzki@gmail.com" ]
jannsieradzki@gmail.com
4de7ce33e34de4de06b6dfe1dfa17082a880d8c8
f0987e17aea6668158cd334c1fbacfe6286d3c77
/NITA/lib/jnpr/toby/services/cgnat.py
ef4120ad53cc1879e9dad7d03399915732161de7
[]
no_license
fengyun4623/file
00bf21f952ea3f95ffc9fe18448b244b26b7fadb
3966c63d48557b0b94303896eed7a767593a4832
refs/heads/master
2023-04-02T05:01:25.066052
2020-07-29T16:15:31
2020-07-29T16:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
110,053
py
# pylint: disable=undefined-variable # p-ylint: disable=invalid-name """Module contains methods for CGNAT""" __author__ = ['Sumanth Inabathini'] __contact__ = 'isumanth@juniper.net' __copyright__ = 'Juniper Networks Inc.' __date__ = '2017' import re from jnpr.toby.utils import iputils from jnpr.toby.services import u...
[ "srigupta@juniper.net" ]
srigupta@juniper.net
8ac81263617350772c63aee79f5fba52be9fd4f0
7b98ba19faceb53363c05945e9ea2d4f14c8e75e
/insightFinderToServiceNow/ifobfuscate.py
9233e617bb90381e1d5ed20d17943d536a01cdac
[ "Apache-2.0" ]
permissive
insightfinder/InsightAgent
9327b93fb42c58040373b8a18aa8d26aeeac4d18
bcd5d207d19c06d2aa9a916419e69972173ceafb
refs/heads/master
2023-08-16T23:01:58.598609
2023-08-16T20:01:08
2023-08-16T20:01:08
58,421,337
27
134
Apache-2.0
2023-09-13T01:32:54
2016-05-10T01:53:33
Python
UTF-8
Python
false
false
544
py
#!/usr/bin/env python import base64 from getpass import getpass def decode(obfuscated): """ decode an obfuscated string """ return base64.b64decode(obfuscated).decode('utf-8') def obfuscate(to_obfuscate): """ obfuscate a string """ try: return base64.b64encode(to_obfuscate).decode('utf-8') ...
[ "noreply@github.com" ]
noreply@github.com
cb23cbdec39f4a8f003a927370f9f122fac7582d
0f99b01353d72cff537c02da616428da5da3f11f
/ftp.py
78ea912dad4aa9ff8b746a5669569d0e32cbba5c
[]
no_license
TENSIILE/Activator
ad752f85597ab645ca25f326b0707ca73acc97ec
e75012b8a1885f17d96ee909b60f521105e5502c
refs/heads/master
2023-07-19T14:35:02.803304
2021-09-19T17:53:41
2021-09-19T17:57:29
408,197,475
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
from ftplib import FTP as Ftplib class FTP: def connent(self): self.ftp = Ftplib('host') self.ftp.login('login', 'password') self.ftp.cwd('public_html') def disconnent(self): self.ftp.quit() self.ftp.close() def delete(self, file): self.ftp.delete(file) ...
[ "laptev-vlad2001@yandex.ru" ]
laptev-vlad2001@yandex.ru
ceb111a17835bacfc317ed1ec8d49d557761eac2
fe2ca07ef1d9033de6bfe05f5a54307ccad034b4
/src/data/binaural.py
a9922e82510373852d1fc0447e296272ea2dd440
[ "MIT" ]
permissive
ZSL373656560/facing-the-music
8cef7ff6cd2866e6e17c8c68921b85822efbfe62
d72cf71e46b652b004d8e1a784adb9e5066a7691
refs/heads/master
2023-03-20T13:31:33.433528
2020-03-27T14:36:05
2020-03-27T14:36:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,275
py
import numpy as np from pyroomacoustics import ShoeBox, MicrophoneArray import matplotlib.pyplot as plt from celluloid import Camera class Binaural: def __init__(self, room_dim, max_order, speed_of_sound, inter_aural_distance, m...
[ "kevin@lumkani.com" ]
kevin@lumkani.com
be99bb4d4453b8822acfbb8a234da77e526ecca5
7ba76a05a8bf2578610df2487972a5c4e77767e3
/GetDepartures.py
f4127b81962df4a11f73fb81cc0fb54f44c9c84a
[ "MIT" ]
permissive
jixuqianxing/tpg-offline
432f2b9a5f31c368fff12b7f7bb469e2b144e0de
e6ef65d8984e15fac18689adb2fca271704f45b2
refs/heads/master
2021-05-15T02:46:02.326062
2017-08-18T12:37:25
2017-08-18T12:37:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
from datetime import datetime import json import requests from tqdm import tqdm from time import sleep from urllib.parse import quote import sys import argparse class A: def waitHour(self, path="Departures/", jour="LUN"): while 1: if datetime.now().time().hour == 4 and datetime.now().time().minute == 20: bre...
[ "remy@dacostafaro.com" ]
remy@dacostafaro.com
ac86219e5e676b4b236828df5e98a6e165f62b41
d63ca2513aa992d8c44de9e7c1df8c28d1f46e7e
/Semester1/FP/Seminar/S7/Entities/Punkt.py
9469256eac97f80f68e7d21c4fbbee2d5c97d369
[]
no_license
ImCODEX/Uni
36c3c29931b0779f74ea718aedc5f867a295a7d5
3aa784e650e1d1b5ef6ee4b23e1a900d7821f877
refs/heads/main
2023-08-20T22:43:25.880304
2021-10-20T19:13:15
2021-10-20T19:13:15
352,299,556
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
class Point: def __init__(self, x, y): self.__x = x self.__y = y def __str__(self): return "x = " +str(self.__x) + " y= " +str(self.__y) def __repr__(self): return "x = " + str(self.__x) + " y= " + str(self.__y) @property def x(self): return self.__x @...
[ "razvanpostescu@gmail.com" ]
razvanpostescu@gmail.com
a126c5828114c77e9155a5b1a8ba6140d6156f49
d615af58892756054cf78758d0f4312cac3f79cb
/Real-Time Data Plotting.py
d42210798df02953b291e9aeced4b6fde545f5c9
[]
no_license
bky201/Auto-Temperature-Sensor
93a29409a93cbd8ceccf33e08a39a3508c819de2
433743aa4572a554c5e63925d74b21c092a4d69d
refs/heads/main
2023-08-25T15:07:50.029807
2021-10-17T12:51:10
2021-10-17T12:51:10
418,128,525
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 27 17:08:18 2020 @author: nyunu """ import serial # import Serial Library import numpy # Import numpy import matplotlib.pyplot as plt #import matplotlib library tempC= [] ser = serial.Serial('COM3', 9600) #Creating our serial object named arduinoData plt.ion...
[ "noreply@github.com" ]
noreply@github.com
15d426a7e4643fabc70e15e94441389afefc2ce9
a6e4a6f0a73d24a6ba957277899adbd9b84bd594
/sdk/python/pulumi_azure_native/network/v20200701/get_azure_firewall.py
3e936ac33077dad9aa63947bf571cfffcc65267b
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
MisinformedDNA/pulumi-azure-native
9cbd75306e9c8f92abc25be3f73c113cb93865e9
de974fd984f7e98649951dbe80b4fc0603d03356
refs/heads/master
2023-03-24T22:02:03.842935
2021-03-08T21:16:19
2021-03-08T21:16:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,805
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! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "noreply@github.com" ]
noreply@github.com
b06e31be6a8735c81eac773e462ed242c4b888bc
201a822666c2de47549ced7e34898fbca8eec7c4
/arcrest/admin/__init__.py
f4e509e7e0ec61a44c562f619eedffcf25c86327
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Esri/arcpy-server-util-rest
e4ad08b41ce18b90e7d1d1d97013f282ce642dc7
198c9526f41ab742da36d0eff467475bca7da2fe
refs/heads/hg/default
2023-08-27T22:31:41.596734
2013-02-22T18:09:23
2013-02-22T18:09:23
5,786,743
10
5
Apache-2.0
2018-07-26T22:19:37
2012-09-12T22:21:04
Python
UTF-8
Python
false
false
73
py
from arcrest.admin.admin_objects import * import arcrest.admin.cmdline
[ "jason.scheirer@gmail.com" ]
jason.scheirer@gmail.com
22b832220ce71eec1a82530e92846372878a2f92
5e6b357c1f1efc45b64983c369fe98ea9bbe4e1b
/wakerfarmer/admin.py
4c800b9748c982413400dff77aa6d0a92f7c3575
[]
no_license
tanakrit1998/mysite
6376af9ba04e8f30e496d9f54dc7a277968d88aa
3b31f67f0e52d25971042a384053f28307471857
refs/heads/master
2022-11-25T01:10:10.649501
2020-04-13T07:32:53
2020-04-13T07:32:53
223,328,133
0
0
null
2022-11-22T05:14:02
2019-11-22T05:12:08
JavaScript
UTF-8
Python
false
false
225
py
from django.contrib import admin # Register your models here. from .models import * admin.site.register(Queue) admin.site.register(Price) admin.site.register(Mill) admin.site.register(Farmer) admin.site.register(Ownermill)
[ "tanakrit.ja.59@ubu.ac.th" ]
tanakrit.ja.59@ubu.ac.th
49ad7b9ec62effec50730302d0ffcd1b97497993
763fcbe6ceba0219067b2abed78493e36c923254
/gym/wsgi.py
c9629a058113531c16c017ee41680255e5567c8e
[]
no_license
darshil19978/cec
2f69e271c5fa1ff37e47f9c6e47f427779b1ac65
85dcd0e7f965fc42ee3e526ae93cc60790ad394f
refs/heads/master
2020-05-02T19:02:26.505030
2019-03-29T05:27:36
2019-03-29T05:27:36
178,147,216
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for gym 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_SETTINGS_...
[ "darshiljoshi2025@gmail.com" ]
darshiljoshi2025@gmail.com
a4e63e88d09e336d2cdf92464b792bd2dd67f833
36a1e5889323776d9aa646b0beccae9d2d52d51b
/learn_functools/understand_new.py
2aba5cb763cf5c1d007fd7eef3a5a698d0563932
[]
no_license
make-process-everyday/learn_Python
d23ae93b89e618c41ac817156afab59dda7656fe
469f333d82022d3edffcce404415df6f499b18de
refs/heads/master
2023-03-19T02:03:56.304131
2021-02-27T11:14:25
2021-02-27T11:14:25
256,760,574
0
0
null
null
null
null
UTF-8
Python
false
false
896
py
import logging logging.basicConfig(level=logging.INFO) class Foo(object): def __new__(cls, x, *args, **kwargs): self = object.__new__(cls) self.x = x return self def __init__(self, *args, **kwargs): self.args = args self.kwargs = kwargs class LoggedAgeAccess: def...
[ "838727522@qq.com" ]
838727522@qq.com
66c5235e59c54e4a6b7c1bc1964d4c95051166fc
60ea084ad04d882daf234e07cdba5d1d73041887
/3.django/my_first_django/product/migrations/0002_product_category.py
ee8e62fe1d55895acd73217138b4241a49fde070
[]
no_license
zzz-gh/Assignment_Week7
fdc842cd69c83b5b7003d1da0ebeb0606a3f1a0a
9034b62f2511a35a0cf437b2e164a13d91f0f0e8
refs/heads/master
2020-12-08T20:56:25.246891
2020-01-10T18:06:14
2020-01-10T18:06:14
233,093,099
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
# Generated by Django 3.0 on 2020-01-04 08:36 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('product', '0001_initial'), ] operations = [ migrations.AddField( model_name='product', name='category', fi...
[ "zinpaing00999777@gmail.com" ]
zinpaing00999777@gmail.com
df840439989d5650df6e6a7988fa5b59caa9850d
88994e2e840a70ec702cee09e1a13813aa6f800c
/tests/meta/upload/scout/test_scout_config_builder.py
811298718aac85b422b13148020a410369823810
[]
no_license
Clinical-Genomics/cg
1e9eb0852f742d555a48e8696914ebe177f7d436
d2ec6d25b577dd6938bbf92317aeff1d6b3c5b08
refs/heads/master
2023-09-01T02:04:04.229120
2023-08-31T13:50:31
2023-08-31T13:50:31
82,567,026
19
8
null
2023-09-14T15:24:13
2017-02-20T14:29:43
Python
UTF-8
Python
false
false
7,857
py
"""Tests for the file handlers.""" import logging from housekeeper.store.models import Version from cg.meta.upload.scout.balsamic_config_builder import BalsamicConfigBuilder from cg.meta.upload.scout.hk_tags import CaseTags from cg.meta.upload.scout.mip_config_builder import MipConfigBuilder from cg.meta.upload.scout...
[ "noreply@github.com" ]
noreply@github.com
50c839027554a107c32ed44afee3203ca1a24947
e850175853111fe2ddb7db1b9dd4b6d28be5619c
/src/users/auth/serializers.py
f9d2c6b0cb8b13feaf8d9ccae0b3f9105d071f9a
[ "MIT" ]
permissive
gutsytechster/RemindMe
a8fbbf3c1bbf3fd71102ad6b6aea687a5484fc95
f37b707308d1328979ea1f8b4705e82365644b7e
refs/heads/master
2021-07-19T01:31:39.377171
2020-07-11T13:59:28
2020-07-11T13:59:28
188,368,562
0
3
MIT
2020-07-10T17:08:56
2019-05-24T06:51:22
Python
UTF-8
Python
false
false
3,570
py
from django.contrib.auth import get_user_model, password_validation from rest_framework import serializers from rest_framework_simplejwt.exceptions import TokenError from rest_framework_simplejwt.tokens import RefreshToken from src.base import exceptions as exc from ..managers import CustomUserManager from ..serializ...
[ "prashantsharma161198@gmail.com" ]
prashantsharma161198@gmail.com
e1b06b52231c9bcd3a40ec3a68471706dc7781ed
b471470126befc48d61bf3e17c8231b33e8d3e33
/1117-mid-term-6.py
ff3fe16f7e1178ab27682245ea8b118fe673391a
[]
no_license
Xi-Plus/KUAS-DIIWS-Code
5ccd5ff512b3aad5fcf9ca37c7ca095e796aca9d
60e0e6c8c80847b5270d4d0f45028becabd08230
refs/heads/master
2021-09-03T21:48:31.755611
2018-01-12T08:37:51
2018-01-12T08:37:51
105,234,371
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from urllib.request import urlopen from bs4 import BeautifulSoup url = "http://www.books.com.tw/activity/gold66_day/?loc=P_021_1_more_001" f = urlopen(url) html = f.read() obj = BeautifulSoup(html, "html.parser") days = [] for i in obj.findAll("div", {"class":"day"}): days.append(i.get_text()) names = [] for i in ob...
[ "huangxuanyuxiplus@gmail.com" ]
huangxuanyuxiplus@gmail.com
ad0ab0035e26b4cb01dd68bd59e54c98f8298d0d
ed4aca22fc193022cf31279d0561a5846f100609
/python/scikitklearn_OneClassSVM/OneClassSVM/AnomalyDetection.py
dfbba8a99b46d1127685b8e64d046d3fc49164fa
[]
no_license
otoanX/git
078cb20229b73b7d7af9d1e9dde2edba8fc0eda5
4a692d746df279fd6c9f68edd3d16cfdd6f38400
refs/heads/master
2023-03-08T16:26:58.584118
2021-02-22T17:19:42
2021-02-22T17:19:42
255,944,311
0
0
null
null
null
null
UTF-8
Python
false
false
3,703
py
#データをOneClassSVMで学習する。 #フォルダを監視して、新規画像をOneClassSVMで予測して結果を返す import numpy as np import matplotlib.pyplot as plt from PIL import Image #画像表示 import os #「Qiita」One Class SVMを使ってMNISTの数字画像の異常検知がしたい@satoshi_y # https://qiita.com/satoshi_y/items/5573cacb64168a7a73ed # https://github.com/mituki-suzu/OneClassSVM.git #scik...
[ "otoan701090@yahoo.co.jp" ]
otoan701090@yahoo.co.jp
85ece0b4ef9146f7a9b5cf1aeb1f73bf17fc9587
41fa379d2c47ac740a0a904c44aa073eef8f7520
/venv/Lib/site-packages/fitdecode/cmd/fittxt.py
120af8f4e6b0ad70463381feb1eb25bd0a37ce47
[]
no_license
macdet/WahooDataAnalysis
b290d49dca0a7cd1b3c6752520fbfd45cdf1f30c
16762d42674cd3099b33d9621d5d63a3babc9cf5
refs/heads/master
2023-08-18T03:50:45.540497
2021-09-19T15:59:56
2021-09-19T15:59:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,668
py
#!/usr/bin/env python3 # Copyright (c) Jean-Charles Lefebvre # SPDX-License-Identifier: MIT import argparse from collections import OrderedDict import datetime import decimal import os.path import sys import traceback import fitdecode echo = None def txt_encode(obj): """ Convert a given *obj* to either a *...
[ "tmetzger8@gmail.com" ]
tmetzger8@gmail.com
b1be3d7732abb60ca769f757e92d34af8bb96a42
773c115c45b8f2d356ddd6c13af97457e93684f4
/myapp/migrations/0001_initial.py
199d717ad16bcc04cc3cedce08df9130fffa6073
[]
no_license
AmirSohail151/Studydoorway
e02acee2cc897c7e72d03e445dd6d7f1b5decac9
26fa6e7c80306c6a5494894a21d9e7ff421c53d4
refs/heads/master
2023-01-08T17:31:35.533966
2020-11-11T23:39:48
2020-11-11T23:39:48
306,153,387
0
0
null
null
null
null
UTF-8
Python
false
false
795
py
# Generated by Django 3.1.2 on 2020-10-08 20:41 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Classroom', fields=[ ('id', models.AutoFiel...
[ "amiriiui566@gmail.com" ]
amiriiui566@gmail.com
72fd0fbf13da481b25826bed1e553261679655c5
c340835e4444c664fc2b261238e3738cf5bf7196
/combination_sum.py
58093ee3ed445d253ce8b136bea5e6b489626c29
[]
no_license
z-o-e/LeetCode_OJ_Python
49f2a7378eb98f707c97d7757cc19ef19622db42
ad7f5152fe404bdd4e91710d9a719f392bec7a96
refs/heads/master
2021-03-12T22:39:44.898502
2014-10-16T05:30:25
2014-10-16T05:30:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
class Solution: # @param candidates, a list of integers # @param target, integer # @return a list of lists of integers def combinationSum(self, candidates, target): candidates = sorted(candidates) self.res = [] self.dfs(candidates, [], target) return self.res ...
[ "hyzhang22@gmail.com" ]
hyzhang22@gmail.com
aed24ef6f0151dc3d0b0297909366181b8fe4ca0
6bc2de83baa55a1d6f4371aa37da862ef8431b22
/Main Tests/Wisconsin breastcancer/mycode_cancer_KMeans.py
1fbfb716dbd4340928f7355ca41e5b0d613a0400
[ "CC0-1.0" ]
permissive
nsid10/Hybrid-CRO-for-clustering
6a83e51e49b4e4792847d93c63c28d2fe8b51d7e
8adf309e6418e00720cb704d6fb35a54693ae92e
refs/heads/main
2023-06-28T22:46:00.716254
2021-07-28T15:44:18
2021-07-28T15:44:18
384,775,670
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
import numpy as np import pandas as pd from time import time from HybridCRO import * from utilities import * t1 = time() sum_scores = [0, 0, 0] runs = 30 for seed in range(runs): data = pd.read_csv('breastcancer.txt', sep=',', header=None) data = data.sample(frac=1, random_state=seed).reset_index(drop=True) ...
[ "nsid10@hotmail.com" ]
nsid10@hotmail.com
4f99ed09da5d84107d097947ebe99d1fab1629b7
7d1fe1979bccfbe78308c047d40cb50fe87e6fdf
/Data Structure and Algorithms/bricks.py
f4674374a8b555593e6ec20702fc49294f9afc75
[]
no_license
hbenr/pycookbook
ddd13ae13be94438efd20cf4376fe9fbde1da095
52e313eaa7b0d28f1accd7794aa323ab62647b9c
refs/heads/master
2021-08-06T06:41:10.553534
2017-11-03T21:59:42
2017-11-03T21:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
def length(sizes, goal): remainders = [] containers = [] container = [] fill = goal for size in sizes: qty = min(fill // size[0], size[1]) fill = fill - (qty * size[0]) remainders.append((size[0], size[1] - qty)) container.append((size[0], qty)) if any([size[1] ...
[ "homero.hbr@gmail.com" ]
homero.hbr@gmail.com
bc00dc511cc641182e6e0f77d4976d1b1b3a07ca
9471259e3cf5d6772e553dd847d23a4fef7d7fe7
/customer_phonecall_feedback/models/__init__.py
926e3b5eea574f2f44b776d5ef1e68f8db13407a
[]
no_license
TranPhucDang/translate_module
16e0bae287f83d174f73d2271c4a343f012e0b5e
9135913921240594babe51362fd5f5fd37803d9f
refs/heads/master
2020-08-03T13:36:58.899783
2019-12-31T15:39:28
2019-12-31T15:39:28
211,767,714
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
# -*- coding: utf-8 -*- ################################################################################# # # Odoo, Open Source Management Solution # Copyright (C) 2017 Ascetic Business Solution <www.asceticbs.com> # # This program is free software: you can redistribute it and/or modify # it under the terms...
[ "youremail@example.com" ]
youremail@example.com
9b329bf9c03eb7fd5e50cebfbbc7e2fca726f262
fbc0d5c081dbfead483a1e1e226a380446bcd56e
/TDT4117 - Informasjonsgjenfinning/exercises/2/subtask2.2.py
88a2dba3adc75dd1a6e69012d2e012ad9648eba4
[]
no_license
blauks/ntnu-2
58eec17a8f6db7424a6cb44d74e029b68256320a
38fa0ddfaa726408f087d1792fd0e00810f9243c
refs/heads/master
2020-08-16T11:01:10.946232
2019-08-08T11:28:48
2019-08-08T11:28:48
215,494,235
0
1
null
2019-10-16T08:15:48
2019-10-16T08:15:48
null
UTF-8
Python
false
false
242
py
#!/usr/bin/python3 d1 = 'an apple a day keeps the doctor away.' d2 = 'the best doctor is the one you run to and can’t find.' d3 = 'one rotten apple spoils the whole barrel.' q1 = 'doctor' q2 = 'apple orange' q3 = 'doctor apple' λ = 0.5
[ "nikasmh@hotmail.com" ]
nikasmh@hotmail.com
3c2f3531c1a09c01e8483053385c05a29bacc7a6
00db40a9a8536cec4b7a6322feba47b44972e9c8
/food.py
667551b5a11a3abc9c722351e0432b6e202abc60
[]
no_license
avagners/snake_game
4678795695439307e7fbc3434a6c54ceb77bb0c6
9de0a044e04602f09f5e702dc69fdfa43bb0eba2
refs/heads/main
2023-07-26T19:23:43.985284
2021-09-09T20:01:17
2021-09-09T20:01:17
404,852,790
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from turtle import Turtle import random class Food(Turtle): def __init__(self): super().__init__() self.shape("circle") self.penup() self.shapesize(stretch_len=0.5, stretch_wid=0.5) self.color("blue") self.speed("fastest") self.refrash() ...
[ "onemybox@gmail.com" ]
onemybox@gmail.com
4929911771b44fa32b45f7d6a4c614f3e2f8f8d3
27b25669c0110baa38378c1bb220dcebd5a4fcc8
/desing of fpu/экономика ятц/дз/ввэр/Tepl.py
d5fa74901391e527691b62550d904a21302bacd7
[]
no_license
kapibaara/diplom
aca5366f765b7741276c95e7e527a5f6cf03489b
0de88fd74ff75d3514b0f609d3b36834973eaedd
refs/heads/master
2020-04-24T19:37:23.121305
2019-08-17T13:38:35
2019-08-17T13:38:35
172,217,825
0
0
null
null
null
null
UTF-8
Python
false
false
5,381
py
import math Nel = 1000 brutto = 0.36 Kcn = 0.06 K = 1.05e-3 Go = 70 n = 3 Go5Go9 = 1.0 Xn = 4.4 * 1e-2 Zn = 0 KH = 0.25 B = 40000 Xk = 1.3 * 1e-2 z0 = 0.25 c = 0.714 * 1e-2 y = 0.2 * 1e-2 Ei = 0.01 * 1e-2 Ti = 0.25 Tckl = 0.5 Txp = 0.5 Tvyd = 1 Tcl = 50 Cu = 100 Craz = 140 Cizg = 300 Creg = 1000 fi = 0.85 Aren = 3.7 *...
[ "kapibaara@mail.ru" ]
kapibaara@mail.ru
56c5b231ef1cce10af065f3892362b6d80a678c3
6f48788473bb8b9282ea5e26474b6d57fe2b5e11
/vagrant/itemCatalog/test/puppypopulator.py
f2d2c14bcddc2b9cbaa1436957f3a1ff6f90c331
[ "MIT" ]
permissive
MFry/pyItemCatalog
c37f25af0ace16ef5d9b90f52ce9fe109a26e64c
0354cff516c513dfc7ebdbf63dd588be3b8a79d0
refs/heads/master
2021-01-17T05:09:26.775400
2017-04-25T06:42:00
2017-04-25T06:42:00
58,516,502
1
0
null
null
null
null
UTF-8
Python
false
false
4,552
py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from test.tutorial_shelter import Base, Shelter, Puppy # from flask.ext.sqlalchemy import SQLAlchemy from random import randint import datetime import random engine = create_engine('sqlite:///puppyshelter.db') Base.metadata.bind = engine D...
[ "Michal.Frystacky@gmail.com" ]
Michal.Frystacky@gmail.com
4e8f97eaf2956bf074e6ceac2cc2df3ac9c2adc3
0c8a5b8aa6ecacd8a65f4b7d8319bdc2d0f14fe8
/waveshare-144inch-lcd-hat/driver/line.py
f02816a5819f0e2a02a912456ce6fb461624dc7a
[ "MIT" ]
permissive
drivebadger/ext-mobile-drivers
38b9868abc667a722da5bd9ce45dd34c1f50e223
2b0ea644d7c48399d7ef2b96417cbd5337ae6b50
refs/heads/master
2023-08-15T19:51:16.314183
2021-10-09T11:34:12
2021-10-09T11:34:12
407,441,416
0
0
null
null
null
null
UTF-8
Python
false
false
2,649
py
#!/usr/bin/env python # ''' ## License The MIT License (MIT) Copyright (C) 2021 Tomasz Klim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
[ "github@tomaszklim.pl" ]
github@tomaszklim.pl
1ae967345f5a4499343c6861634d2ec3b7bd5ccc
1c0487807fb8f72814ece56688456315d0e88caf
/function.py
64d934a1205e97e577a601a275100956609280bc
[]
no_license
kennypanjaitan/first
bf61fb5bffaf45fd7cd9ed455390b3fd2fe5054e
e756902f2f058c92063c625407a6815cfdee94e1
refs/heads/master
2023-03-07T13:26:51.999464
2020-06-09T06:24:27
2020-06-09T06:24:27
270,920,034
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
#def luas_segi4(p,l): #luas_segi4 = p * l #print(luas_segi4) #p_input = int(input("Panjang: ")) #l_input = int(input("Lebar: ")) #luas_segi4(p_input, l_input) print("YOUR SALARY\n–––––––––––––––––––––––") name = input("Enter your name: ") def gaji(work_hour, salary_hour): if work_hour <= 40: gaji...
[ "kenny_bnp@TUNASs-MacBook-Air.local" ]
kenny_bnp@TUNASs-MacBook-Air.local
29659cb2a431301eaa1d979a85e3acb47598d4c3
92fca9ad364b4417a4f5e2cb6b25267dcaa46dc8
/words/migrations/0003_auto__add_wordphrase__add_wordphraseword.py
3ef258682c2ab2301961fabbd8d1f8357616e31c
[]
no_license
mrge/GsConcordance
ec2c90b4bd4a568f9db174697136fb7f007478cc
4621debaf07b4f665efc6504da78a22de1cd6af7
refs/heads/master
2016-09-05T23:27:57.813910
2014-10-28T10:04:44
2014-10-28T10:04:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,847
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'WordPhrase' db.create_table(u'words_wordphrase', ( (u'id', self.gf('django.db.mo...
[ "gilad@feedsme.com" ]
gilad@feedsme.com
7c3bfba8a7948d4ff06e505d2951d585e938c6e7
3b55fd0857992fd82b33b5638ae9b48610fbbdef
/backend/src/entities/consumer.py
86bb91f03090c80928d9e1ade926efb1068ca06f
[]
no_license
RafaIzu/RafaIzu-Jogos-tabuleiro-TheCatInTheBox
c1c0e9e57b5b504ef9ec35ed54051ccd55532c53
549b3c191e25afcd1a487d5c6974f717c3bf0db1
refs/heads/master
2023-07-13T08:32:21.953665
2021-08-22T22:11:53
2021-08-22T22:11:53
398,910,958
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from sqlalchemy import Column, String from .entity import Entity, Base class Consumer(Entity, Base): __tablename__ = 'cliente' name = Column(String) email = Column(String) password = Column(String) cpf = Column(String) def __init__(self, name, email, password, cpf): self.name = name ...
[ "bomizukawa@gmail.com" ]
bomizukawa@gmail.com
1690c3f498ea17c32f7baadb624686212ee4fa47
692c651b7995ec227c6a3510c7df324983fd176a
/traffic_samr/venv/bin/wheel
195b4ab0cd8060c575ce622f3eb55583073b89bf
[]
no_license
nehalb123/TrafficDetectionSentimentalAnalysis
2cb5f3582a4d5b80dfbad4217a9aa2261667e69c
745fb1c174b694d60821777a1eef0b848708d510
refs/heads/master
2021-01-20T07:23:40.149025
2018-03-02T15:35:48
2018-03-02T15:35:48
89,993,290
0
0
null
null
null
null
UTF-8
Python
false
false
245
#!/home/nehal/Desktop/Num_SciPy/venv/bin/python3.3 # -*- coding: utf-8 -*- import re import sys from wheel.tool import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nehal.borole@gmail.com" ]
nehal.borole@gmail.com
ed7b4e5fa4f2c9918c8db347fea79999c5cd4034
99a29f80d4ff7a8ac8aafb4b83ac128366824238
/credit_integration/enums.py
fcf559428e29110e0feb4326ac858dca4d65933c
[ "MIT" ]
permissive
City-of-Helsinki/mvj
850ff85539186217112cddc0ea2a3ccb0a8ff842
af8f297ff3c86a6045ec5290e0477029cc3917b8
refs/heads/develop
2023-09-02T17:44:50.616714
2023-08-30T07:50:36
2023-08-30T08:29:17
87,910,985
2
9
MIT
2023-09-14T12:12:28
2017-04-11T08:43:59
Python
UTF-8
Python
false
false
458
py
from django.utils.translation import pgettext_lazy from enumfields import Enum class CreditDecisionStatus(Enum): """ In Finnish: Luottopäätöksen tila """ YES = "yes" NO = "no" CONSIDERATION = "consideration" class Labels: YES = pgettext_lazy("Credit decision status", "Yes") ...
[ "tomi@jarvi.pro" ]
tomi@jarvi.pro
9b53c96323a0353b9d8abbe2050a618c3fefeb15
d785876f2070e264cd4fc000c6cf3c46820f3045
/utils.py
2978dcd87111da41afa01dc83bcc6a1f1a74421b
[]
no_license
Damanpreet/ClassificationDataset
5959b407eae9d5652263888557f6f0e353961c3a
160b357a2ced0b4c9287913ab8a7962cb7f12cfd
refs/heads/master
2021-05-18T10:13:52.715613
2020-03-30T05:05:34
2020-03-30T05:05:34
251,206,464
0
0
null
null
null
null
UTF-8
Python
false
false
3,049
py
""" Utility functions for finding the missing explants. """ import os import numpy as np import cv2 import math import matplotlib.pyplot as plt import config as cfg class RGBPreprocess: def __init__(self, crop_dims): self.tw, self.th, self.bw, self.bh = crop_dims def process_img(self...
[ "noreply@github.com" ]
noreply@github.com
95ded74008ac385af34d46695aded4ae823915ff
d2305f41745172d3789736bdd31dcca9a848b4d8
/rango/views.py
b1cccf4d23299090134812a7b9463ed695bed0e2
[]
no_license
WangJintaoWJT/tango
7257b00246c4dce86f656aa12102cef2860b3aeb
7e6f91f86ab825ee23bd4131c3a85185666a3303
refs/heads/master
2020-04-22T06:47:54.455744
2019-02-15T03:59:40
2019-02-15T03:59:40
170,180,645
0
0
null
null
null
null
UTF-8
Python
false
false
5,456
py
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth import authenticate, login from rango.models import Category,Page from rango.forms import CategoryForm, PageForm, UserForm, UserProfileForm from django.core.urlresolvers import reverse from django.con...
[ "2359479w@student.gla.ac.uk" ]
2359479w@student.gla.ac.uk
a2f848312032887fa4de5e6bd40fdf075a03f451
a27d6e43ec8a4b1bbe6d7c93b6dd2a77c1384ab4
/task4_mqtt_publish.py
9f0e2e467285f2c81cc22fbb84c80c1afba9e218
[]
no_license
AbhinandanVellanki/Raspberry-Pi---MQTT-GPIO
40130b9142aead2eb05ba4a343a35796c1c3761a
b65a8eee73a518fccc5cba05c7e5608005cdba1a
refs/heads/master
2020-05-30T16:23:29.233695
2019-06-02T12:31:17
2019-06-02T12:31:17
189,843,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
import paho.mqtt.publish as publish import paho.mqtt.client as mqtt import time hostname = "iot.eclipse.org" # Sandbox broker port = 1883 # Default port for unencrypted MQTT topic_emergency = "PC000/traffic_light/emergency" # '/' is used as the delimiter for sub-topics def on_connect(client, userdata, flags, rc):...
[ "noreply@github.com" ]
noreply@github.com
f9475a30a8a9b70b7b251e01f37f24e6f7ff506c
e36fa29323b1c1e465e3f22620204d77b98776e3
/envtools/django/__init__.py
948797e66485452d5274034a7082b7d0840173a0
[ "MIT" ]
permissive
pedroburon/python-envtools
467deac445c2e64da133fc508ff119b898a6957a
c1f00c2f2df3cb01e55a31c3616ebd8f6bd8dda9
refs/heads/master
2021-08-24T02:27:57.330182
2017-12-07T17:10:50
2017-12-07T17:10:50
112,273,882
3
0
null
null
null
null
UTF-8
Python
false
false
107
py
# encoding=UTF-8 from __future__ import unicode_literals from .database import configure_database # noqa
[ "pedro@cornershopapp.com" ]
pedro@cornershopapp.com
3b5ce6f7873fbadb067a0f107b62d44ea9c5c06e
75dbf493c64532514efa1ed5a0a54e6bb59a891b
/examples/churn-rate/main.py
f8bc619fd96ae085856540ab3244a2ebd283b822
[]
no_license
ans-ari/annhub-python
e73c6664cf3fabcd8bede9764e653d6160f9653d
83aef254ab8d10059554f2054630a601c2c39863
refs/heads/master
2023-08-23T02:30:14.864537
2021-10-23T14:35:07
2021-10-23T14:35:07
410,797,783
0
1
null
2021-10-05T08:01:52
2021-09-27T08:12:34
Python
UTF-8
Python
false
false
207
py
from annhub_python import PyAnn pyann = PyAnn() pyann.set_model(".\Customer_Churn_TrainedModel_c++.ann") pyann.set_model_id(5122020) pyann.set_input_length(30) if __name__ == "__main__": pyann.run()
[ "noreply@github.com" ]
noreply@github.com
885bba253544091cd8f74e4b0acecbf3e9333f67
4f634179ea8cd9912c7ae0a0213bc57074cd4128
/campo_minado_django/campo_minado/views.py
bebd3a5c4c331d17c158cdfb62305032f4125e79
[]
no_license
andrelimabessa/sd2017.1
365a3fb75eea05ee3ad55361e26aa41fab4eaacd
7df423f5cd3df5b6b687de3ea154a9215dfc211e
refs/heads/rodrigo
2021-01-09T05:25:42.108646
2017-06-11T17:49:30
2017-06-11T17:49:30
80,764,585
0
3
null
2017-05-17T00:56:57
2017-02-02T20:15:25
Python
UTF-8
Python
false
false
696
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render, redirect from django.utils import timezone from campo_minado.form import JogadaForm def post_list(request): if request.method == "POST": form = JogadaForm(request.POST) if form.is_valid(): ...
[ "bbchagas@gmail.com" ]
bbchagas@gmail.com
c7e78f2dac8332929ecfb36ca5f2b834af0e9d86
15d0e5f6528c817396062f5af5029e0241127573
/recognizer/crnn/lib/utility.py
a44714afde54e24f3f3fbbc80a3143be21206ead
[ "MIT" ]
permissive
happog/ocr-toolkit
a3db7d71c4324f2afcb9b99185096e2c354ac2f7
78a327637e0925a960d34aa4227989564a479960
refs/heads/master
2020-04-18T05:33:44.484302
2019-01-23T08:49:57
2019-01-23T08:49:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,149
py
#import dataset import cv2 import os import torch from torch.autograd import Variable import random def scale_image(img, height, width, keep_ratio=False): if not keep_ratio: result = cv2.resize(img, (width, height)) else: fy = float(height)/float(img.shape[0]) result = cv2.resize(img, ...
[ "lijunshi2015@163.com" ]
lijunshi2015@163.com
96cd5e74289dadeea430e3920b049093288eb0a1
fcb628087b05031f2ffec5d6719714d210a9ebd2
/sukonbu/json_schema_parser.py
53b2420adf760f6b16937f06af94f854c676e54e
[ "MIT" ]
permissive
ousttrue/sukonbu
165b4aa0dcbb416367fa51bd2cfb0724dcaa475f
aca6121c3afa1fe404e6208553070895829df780
refs/heads/master
2023-08-29T17:30:28.099703
2022-03-15T17:21:01
2022-03-15T17:21:01
224,555,772
1
0
null
null
null
null
UTF-8
Python
false
false
6,741
py
from typing import Optional, NamedTuple, List import json import pathlib from .json_schema import JsonSchema class JsonSchemaItem(NamedTuple): key: str item: JsonSchema parent: Optional[JsonSchema] = None class JsonSchemaParser: def __init__(self, dir: Optional[pathlib.Path] = None): ...
[ "ousttrue@gmail.com" ]
ousttrue@gmail.com
af95107c113f78235f9d81ecb9566795ad6dc883
8135b7684b95f28fb249ffe8b844fe2a2b026845
/test_roles.py
b4cc8aba7f38ac772a3ee9f71ea9c1ad8bf2ce48
[]
no_license
igorthedci/Python_02
cafca3fabfa37f805439bcf8bb98c6e2e40a331c
5ae159fce26c9b44702be359d890bd3a7392c740
refs/heads/master
2020-04-03T15:03:53.493084
2018-11-10T17:30:57
2018-11-10T17:30:57
155,348,670
0
0
null
null
null
null
UTF-8
Python
false
false
8,665
py
import requests import unittest from HtmlTestRunner import HTMLTestRunner """ HW06_01 Тестовое приложение с REST API ​ ttp://pulse-rest-testing.herokuapp.com/ Создаём один скрипт: 1● Создаёт персонажа POST /roles/, вы запоминаете его id. 2● Проверяете, что он создался и доступен по ссылке GET /roles/[id] 3● Проверяете,...
[ "foumart@ukr.net" ]
foumart@ukr.net
09a9c8f77464fbbf47ba9706a453552096fbc09c
baa793689613f514e6ab2bbb8c5cbf6f8ee28895
/axis-bank-hackathon/scripts/tablextract.py
5d07096fa3388284ca59ad9bf25baf4ed2585dc5
[]
no_license
jvcrao/hackathons
747a7e7a6689a1583bba1aac16a850ee4c9a072c
4bb707fed400e1f193e07cfc288dfecbcb52ffcc
refs/heads/master
2020-04-19T19:52:09.236255
2019-01-28T15:06:50
2019-01-28T15:06:50
168,399,960
1
0
null
2019-01-30T19:15:46
2019-01-30T19:15:46
null
UTF-8
Python
false
false
16,220
py
import os import re from math import ceil, degrees, floor, radians import cv2 import numpy as np from pdf2image import convert_from_path from pdftabextract import imgproc from pdftabextract.clustering import (calc_cluster_centers_1d, find_clusters_1d_break_dist, ...
[ "pratik.bhavsar@morningstar.com" ]
pratik.bhavsar@morningstar.com
e4e91a1a3b9cd057958b90fad9fccdda23600bbd
7e35f0e5406bb857744099922abaeb6094927c2f
/web/note/urls.py
c2ac1dfad879b82613fa20a734557f484126e59a
[]
no_license
estebie/Django_Rest_React
cc1c42eed328699f676697ab5d900f6d13123e04
dc03a7dbf77f2c206453e201eb233d343d501cf5
refs/heads/master
2022-11-14T08:27:27.848886
2019-10-11T07:50:28
2019-10-11T07:50:28
214,325,063
0
0
null
2022-11-04T19:37:44
2019-10-11T02:21:58
Python
UTF-8
Python
false
false
197
py
from django.urls import path from . import views urlpatterns = [ path('', views.NoteList.as_view(), name='note_list'), path("<int:pk>/", views.NoteDetail.as_view(), name="note_detail") ]
[ "ceniza.sjs@AD.SPROBE.PH" ]
ceniza.sjs@AD.SPROBE.PH
eeb481a942ad5c995cacbebbd26dab2ef0510fce
8c85e3f83d7db6ef4c508f8fddd7dd39fb23a07f
/evaluate_vg.py
547364bd77e84e57e04db2941f6107dd3c3ed2f7
[]
no_license
SarG93/interactive_scene_generation
b278a50ff097f402712ae3afd9f21efe0fa29344
f7940b81b3a1d219a039d4578a36bcb482f34004
refs/heads/master
2023-03-03T07:32:12.006738
2021-02-15T22:31:36
2021-02-15T22:31:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,847
py
import numpy as np import torch import os import yaml import tqdm from addict import Dict from collections import defaultdict from matplotlib import pyplot as plt import matplotlib.patches as patches import pickle import random import pytorch_ssim from skimage.measure import compare_ssim as ssim from train import buil...
[ "azadefarshad@gmail.com" ]
azadefarshad@gmail.com
211c8d1dea0a1292702ddbbba2d36831e4da68c5
eb1d01e91c6ac367768b5492eed8797b22b3b67e
/loggers_control/scripts/solo_escape_keyboard.py
bb16a4a76384f66fcce21cc7f389b7eec82ce5b9
[ "MIT" ]
permissive
IRASatUC/two_loggers
f98e8c4e003f9fa7efefd92ae03221d95ffbceb7
c5c99868a9c896aa2fdb940f2f7b7173abed9e00
refs/heads/master
2021-07-07T11:49:48.219574
2020-01-01T17:55:42
2020-01-01T17:55:42
191,430,727
0
1
MIT
2020-09-16T22:22:15
2019-06-11T18:41:49
Python
UTF-8
Python
false
false
1,497
py
#!/usr/bin/env python from __future__ import absolute_import, division, print_function import sys sys.path.insert(0, "/home/piofagivens/ros_ws/src/two_loggers/loggers_control/scripts/envs") sys.path.insert(0, "/home/piofagivens/ros_ws/src/two_loggers/loggers_control/scripts/utils") import termios import tty import os ...
[ "linzhank@gmail.com" ]
linzhank@gmail.com
fa71f8b6ce5d0fd4a486b6ab4164e7262e7a129c
ba9c40b70aa2d2471821a976176a61f7962c7e1b
/microblog/microblog_web/migrations/0002_auto_20161227_1515.py
e5928cc9350c297b40ad494272393e7dcc2c4593
[]
no_license
matijaklj/SP_repo
40e99b167b1e697fb9c1416e573af4c689d03133
2a4e4e11bec3b1f08a4989c502e854ae9710e1ba
refs/heads/master
2021-01-11T04:43:49.425594
2017-01-15T16:18:18
2017-01-15T16:18:18
71,132,774
1
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-27 15:15 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.s...
[ "matija.kljun@gmail.com" ]
matija.kljun@gmail.com
f78e5c01d33232dbfcf0b3cd0d2fba6a70e7875e
c20fc15dc845142c1837f8dec6f1b8e0abfd0023
/django/serenade/settings/base.py
643f32522fe1daa5e9d3d3bf6b864691db278531
[]
no_license
dyxcode/reminisce
4d634a46b99a7bc1efb408ff9edc6fc963538dbf
f62a821f8535166d3b03979d5641f925801ce98c
refs/heads/master
2023-07-11T19:31:48.418837
2021-08-24T10:37:06
2021-08-24T10:37:06
320,478,737
0
0
null
null
null
null
UTF-8
Python
false
false
2,687
py
""" Django settings for serenade project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathli...
[ "dengyuxuan@kuaishou.com" ]
dengyuxuan@kuaishou.com
e8a00afe7300225787e0a52fc29f1d00652f9011
dabc3231a879d4d3350f95096fdd019f64f4e6a4
/src/ScrapingLearning/MysqlExample.py
f682aa5c12fc5c9f31fc951482024af8c7a19d19
[]
no_license
riskaamalia/python-project
1aee4a43b53031c49596e3a0944b7689513c9cf9
c1b948ec2ad29d191b25a8a31a73ccafc492640f
refs/heads/master
2021-01-01T18:40:44.428836
2017-08-01T08:54:49
2017-08-01T08:54:49
98,404,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# from urllib.request import urlopen # from bs4 import BeautifulSoup # import datetime # import random # import pymysql # # conn = pymysql.connect(host='127.0.0.1', unix_socket='/tmp/mysql.sock', # user='root', passwd=None, db='mysql', charset='utf8') # cur = conn.cursor() # cur.execute("USE scraping") # random.seed(d...
[ "riska.amalia@mainspring.technology" ]
riska.amalia@mainspring.technology
045f2d16f48e868bd52b4458696469aa7ecd8b37
87563f4f941f9aca6bc75517af935a64f624c256
/programmers/괄호변환.py
93356493207151c8e579b80365e9acbbc9fae386
[]
no_license
easyfordev/algorithm
d981b55703d7566fc7c10d6994f53cdceddcf397
70fda15698c5da15e9140b6974be70172677b7cc
refs/heads/main
2023-06-29T10:43:09.554495
2021-07-27T23:29:44
2021-07-27T23:29:44
326,327,678
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
""" Programmers - 괄호 변환 - 처음에 일부 TC 틀렸다. 정확성 52밖에 못 받음 - 틀린 이유) 문제 해석을 잘못했다 ... 나머지 문자열의 **괄호 방향을 뒤집어서** => 이걸 reverse()로 해석했는데, ( 와 ) 를 바꾸라는거였다.. ㅠㅠ """ def is_correct(p): # p가 올바른 문자열인지 리턴 stack = [] # push는 append(), # pop은 pop(), top은 [-1] for c in p: # 스택이 비어있으면 넣는다. if len(stack) == 0: ...
[ "easyfordev8@gmail.com" ]
easyfordev8@gmail.com
f07e060a7ec708135a805bb6d422a5e2b35e1ef9
1f75352f6dcce73bb0318f8dfa13fce31e52594a
/util/loss_function.py
375f786f06d6db8102b9d3d96d4200ab3e9369ec
[ "MIT" ]
permissive
PeterZhouSZ/cuboid_abstraction
45f2e94296527b5cfedf64cc710f8a703274de02
b0410d1cc574fef1fa77bf4d6428a5c46e755723
refs/heads/master
2020-08-01T05:07:13.000279
2019-09-24T14:10:19
2019-09-24T14:10:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,893
py
import os import sys import numpy as np import tensorflow as tf sys.path.append('..') # initial training from cext import primitive_coverage_loss_v2 from cext import primitive_cube_coverage_loss_v3 from cext import primitive_consistency_loss_v2 from cext import primitive_mutex_loss_v3 from cext import primi...
[ "sunchyqd@gmail.com" ]
sunchyqd@gmail.com
e53b96bda612a0b0b46bc71765c908df882f82d6
3aad460b37d565e963a9ac99e032fce0f774a379
/inputsheet/inputsheet/urls.py
4c1cf854a4c277447c193c564e11801c5ebe4328
[]
no_license
shajikantar/Inputsheet
c49cabfe18227cad40bb3bcd44a55114555a5cdc
f40404c803ccbad6b76f79df542e07a85578d019
refs/heads/master
2020-06-22T20:50:33.108228
2019-11-17T19:00:24
2019-11-17T19:00:24
198,395,882
0
0
null
null
null
null
UTF-8
Python
false
false
860
py
"""inputsheet URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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') ...
[ "noreply@github.com" ]
noreply@github.com
37da069b7c6ef3f24016d280af692713c215486b
202de3034ee3b159970d10e61ddfefe72bebce25
/checklist/wsgi.py
5af59d824254d963526b3917eacf8ee0aab29c84
[]
no_license
floradsilva/checklist
ca4f2fdf1573629a37e775025537da1ed32f0e9e
fc9655fb29d783b850dd42abdf8915d2cd5119f9
refs/heads/master
2021-01-22T22:39:40.962571
2017-03-20T10:51:18
2017-03-20T10:51:18
85,566,009
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for checklist project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SET...
[ "dsilvaflora@github.com" ]
dsilvaflora@github.com
1461437e9ebeb4c81603608e67f1504f0e628c17
ad5b72656f0da99443003984c1e646cb6b3e67ea
/tools/mo/openvino/tools/mo/back/offline_transformations.py
d4615aeb524e518a1b292b6c45fd267a8d1ac306
[ "Apache-2.0" ]
permissive
novakale/openvino
9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae
544c1acd2be086c35e9f84a7b4359439515a0892
refs/heads/master
2022-12-31T08:04:48.124183
2022-12-16T09:05:34
2022-12-16T09:05:34
569,671,261
0
0
null
null
null
null
UTF-8
Python
false
false
3,184
py
# Copyright (C) 2018-2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 import argparse from typing import List from openvino.tools.mo.front.extractor import create_params_with_custom_types from openvino.tools.mo.utils.cli_parser import parse_transform from openvino.tools.mo.utils.error import Error from op...
[ "noreply@github.com" ]
noreply@github.com
b1bc73b155ebdac0957e3171c68cc0331e10766f
7f77a5e08f88d5fddfe8baa575081952a319258a
/fs/inodebitmap.py
886865bb0d2bccaa5e9b964e8dd631823f91d057
[]
no_license
fuxy97/Ext2Emu
26fc29b35c7fad56bf0092fa478445bcf286e01f
d06573cbcbb86ddcd953ece202d4e1c0b3c8c15b
refs/heads/master
2021-05-06T17:49:25.559929
2017-12-08T14:39:53
2017-12-08T14:39:53
111,847,846
4
0
null
null
null
null
UTF-8
Python
false
false
576
py
__author__ = 'fuxy' from fs import fs from fs import sysblock inode_bitmap = sysblock.SysBlock(fs.IB_TYPE) def find_first_free_inode(): for i, b in enumerate(inode_bitmap.block_buffer): if b != 255: return fs.find_first_zero_bit(b) + i * 8 def set_used_inode(group_in): byte = group_in ...
[ "dellight55@gmail.com" ]
dellight55@gmail.com
2fb0abfa71d37f8abf1c16dd7463a18cb37eee05
f585e1f1e4bd28056a7cba7d6582cbb4ef8719fa
/src/UQpy/Surrogates/PCE/MomentEstimation.py
1e480ddfd4e3dd24388e11b342d1d24b8d286912
[ "MIT" ]
permissive
dimtsap/UQpy
78af38b903dc000b16965be0280d1b435209950e
c19f4841499d12b3bbe0d98b5d32780199153a32
refs/heads/master
2023-07-06T19:20:56.973577
2021-08-04T07:33:37
2021-08-04T07:33:37
301,998,431
0
1
MIT
2021-02-10T22:42:14
2020-10-07T10:14:56
Jupyter Notebook
UTF-8
Python
false
false
1,032
py
import numpy as np class MomentEstimation: """ Class for estimating the moments of the PCE surrogate. **Inputs:** * **surr_object** ('class'): Object that defines the surrogate model. **Methods:** """ def __init__(self, surr_object): self.surr_object = surr_object de...
[ "dgiovan1@jhu.edu" ]
dgiovan1@jhu.edu