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
30fae2d3f59753bd1fcccb3c3e55f5caf7f1e023
3f7bd3d8399938f1fefe7a25a2310913250ba6ad
/tape/tape/main.py
f96f7a9c0de0787cc5f4a48a53d78857abcd0690
[ "BSD-3-Clause" ]
permissive
MachineLearningLifeScience/meaningful-protein-representations
e9893667d17e101aa5bfc62afcef7c5ac3a8a0b0
3c4eb46c5badcfca692e82335ad4158bd91a6b43
refs/heads/master
2023-04-11T03:10:48.272329
2022-03-02T16:56:17
2022-03-02T16:56:17
357,120,971
87
9
null
null
null
null
UTF-8
Python
false
false
13,000
py
import typing import os import logging import argparse import warnings import inspect try: import apex # noqa: F401 APEX_FOUND = True except ImportError: APEX_FOUND = False from .registry import registry from . import training from . import utils CallbackList = typing.Sequence[typing.Callable] OutputDi...
[ "skaftenicki@gmail.com" ]
skaftenicki@gmail.com
d4901fbfedfbce16749f96877abc6af30c33b1f5
9c08f48500db81e16d05fd299ac4e57f815fc893
/tests/integration/test_consumers.py
f51820880f4f18b73f853636a45b981e5fa2245b
[ "MIT" ]
permissive
dailymuse/musekafka-py
9886a633ea194091d14e65a7fa773deda46d9d48
3aec3d5ae620d5760733b2d9b73e9ac135dbd875
refs/heads/main
2023-02-02T02:25:49.589972
2020-12-08T21:17:05
2020-12-08T21:17:05
311,790,018
1
0
MIT
2020-12-08T21:17:07
2020-11-10T21:33:23
Python
UTF-8
Python
false
false
10,646
py
from typing import Iterator, List import pytest from confluent_kafka import OFFSET_BEGINNING, SerializingProducer, TopicPartition from confluent_kafka.admin import AdminClient, NewTopic from confluent_kafka.avro import AvroConsumer from confluent_kafka.schema_registry import SchemaRegistryClient from confluent_kafka.s...
[ "ian@themuse.com" ]
ian@themuse.com
f786d674190c6174648ee591d91f22d67c0e17a4
2e71a55ef8cb99eb57b3525f6c365c27ccb5c404
/django_mariadb_travis/urls.py
f71511c1bca858b1f86a0e44856bf4017ebb754a
[]
no_license
OskarPersson/django-mariadb-travis
a6f2b26ae2888ed990fac0c1832c8ef897dfab26
48c4c8a94b292dd5711739cef6b6ef80bf185261
refs/heads/master
2022-04-30T19:50:33.767711
2019-09-01T11:21:56
2019-09-01T11:21:56
205,528,038
0
0
null
2022-04-22T22:16:42
2019-08-31T10:09:50
Python
UTF-8
Python
false
false
763
py
"""django_mariadb_travis 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...
[ "oskar.persson@polken.se" ]
oskar.persson@polken.se
54765f3e4b87157be1e6fcd80c8ddb90a5a8c1f5
394a6e1bd557507fbf41505d9e9bbf36006d6c62
/hubspot_blog/__init__.py
29676a48c1ac4e3b8645fd97426a07c6aba9c371
[ "MIT" ]
permissive
mammuth/djangocms-hubspot-blog
d77b44f6e5c9116cceebb9239a8f2bfcab62d667
53bfad37a2e4e45468ad7373172e25a7a7d17d34
refs/heads/master
2020-03-15T13:15:36.074508
2018-05-04T16:10:31
2018-05-04T16:10:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
# -*- coding: utf-8 -*- __version__ = '0.1.0' default_app_config = 'hubspot_blog.apps.HubspotBlogConfig'
[ "max@blueshoe.de" ]
max@blueshoe.de
5d351eb6deec46f5944082944a1f2379c2ddf7e7
085703b26619cf84a31040e6736a635ef879bf49
/get_usb_string_description.py
61702274f2b73d553d4c9a48704f671954e59c0a
[]
no_license
sunduoze/CP2112_test
5b161c12ff17618aa853735294f203a3643ca344
fd2e642628f84146a326031b7a7e82c5bab33bb4
refs/heads/main
2023-09-03T23:28:32.929386
2021-11-04T02:27:24
2021-11-04T02:27:24
384,299,006
4
1
null
null
null
null
UTF-8
Python
false
false
8,380
py
#!/usr/bin/env python from __future__ import print_function import argparse import string import struct import sys from base64 import decode import win32api import win32file import pywintypes def CTL_CODE(DeviceType, Function, Method, Access): return (DeviceType << 16) | (Access << 14) | (Function << 2) | Method...
[ "sunduoze@163.com" ]
sunduoze@163.com
9862630e7b2d92ec61b1b3fafa2d66bf2c38aecb
f275aead39428664296b54750fdb577799c4a928
/delete_motion_ve_votes.py
ef3cd0d743e0ffee14705b10d041067f11ddfce9
[]
no_license
KohoVolit/scraper-psp.cz
6ec46e8e08e60e9bbc0027c69390af7e70adc51c
f2f05522a758c7115fbe53da5b106f74054b95c5
refs/heads/master
2020-12-24T15:49:52.178424
2018-04-04T22:27:10
2018-04-04T22:27:10
22,727,536
1
0
null
null
null
null
UTF-8
Python
false
false
235
py
import vpapi import authentication vpapi.parliament('cz/psp') vpapi.authorize(authentication.username,authentication.password) vpapi.timezone('Europe/Prague') vpapi.delete("votes") vpapi.delete("vote-events") vpapi.delete("motions")
[ "michal.skop@kohovolit.eu" ]
michal.skop@kohovolit.eu
39b4addcc99726b50837e3fd9fdbcd6e86573415
dd456df9c9e3b327463d8a729ab837ed262e4dce
/venv/Scripts/pip3.8-script.py
f255ad31ef96f95ed32417b9f68fd5e0943f719b
[]
no_license
Lelethu-Ndidi/secondDataTypeExercise
5262f39099fd4895d2e75f66808f5899e7856dcb
64b0c485ed1b56f3d6a25a4fe1196957a453f396
refs/heads/master
2021-03-07T11:20:12.396861
2020-03-10T11:55:24
2020-03-10T12:36:06
246,261,644
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
#!"C:\Users\User\PycharmProjects\DataType Ex2\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.8' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', s...
[ "lelethundidi@gmail.com" ]
lelethundidi@gmail.com
c728711407cbf93363708bc7ebf19bea2a3b104a
6568474f411000b7863ac15071a51136fd0558d8
/ROC-probabilities_Ricardo Zamora Mennigke_Calibracion.py
e9e2fc06654eb836c28e1db43e2a76f365542382
[]
no_license
zamoraricardo15/Python-Model-Calibration-Methods
ea8769751aab72b61c9b12a2fd4e219b9dc655c1
d60a0560bab3c93764428218ee21479d452e8919
refs/heads/main
2023-06-20T08:13:41.747289
2021-07-17T15:52:21
2021-07-17T15:52:21
386,977,037
0
0
null
null
null
null
UTF-8
Python
false
false
15,924
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 23 23:20:41 2020 @author: rzamoram """ ##Pregunta 1 import numpy as np import pandas as pd import random as rd from sklearn.metrics import confusion_matrix from sklearn.metrics import roc_curve from sklearn.metrics import roc_auc_score import matplotlib.p...
[ "noreply@github.com" ]
zamoraricardo15.noreply@github.com
4afad2de190cd0ca1010f308b3adc427836bb9a7
c07ccdeb74abdbf377a5e1de188296524fe1c5d3
/hw3/hw3.py
b8a516726d0b075927fc97d8409918ea1f995552
[]
no_license
emmashie/amath-582
c563bd14a2d026311cbda46188765f295411addf
4b7d55ffa325d2ce48a4d6fc3a8e8ce71af6c169
refs/heads/main
2023-04-03T10:01:34.987983
2021-04-06T18:16:38
2021-04-06T18:16:38
327,985,534
0
0
null
null
null
null
UTF-8
Python
false
false
11,044
py
import numpy as np import matplotlib.pyplot as plt import os import scipy.io as sio import hw3_functions as funct plt.ion() plt.style.use('ggplot') # define data path datapath = '../data/' ########### TEST 1 ############# # define filenames cam11_file = 'cam1_1.mat' cam21_file = 'cam2_1.mat' cam31_file = 'cam3_1.mat...
[ "enuss@CEEs-MacBook-Pro.local" ]
enuss@CEEs-MacBook-Pro.local
0ad6bc7fb125b4c05b355fce78189bb9437fe60e
11b5b1af7cfa74f35e05dd342cd70e2d0a2b3fd7
/model/model.py
296ba0e99f7c72081d25c4c1642c49971ea1d2fd
[ "MIT" ]
permissive
SegunMarcaida/X_RAY_THORAX
e49644633f2a5e194068b9fb4f40bc48d99b821f
35a39761d3b11ce9e47509025054f25e5f26aab9
refs/heads/main
2023-04-09T03:00:48.459693
2021-04-22T21:30:21
2021-04-22T21:30:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,560
py
import torch import torch.nn as nn import sys from torchvision import models from .Global_pooling import GlobalPool from .attention import AttentionMap from efficientnet_pytorch import EfficientNet from torch.autograd import Function import torch.nn.functional as F class ResNet18(nn.Module): """Model modified. ...
[ "alinsteinjose@gmail.com" ]
alinsteinjose@gmail.com
d4629669e16ac320298aefd9df96cf73804d3c4a
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_43033.py
b05910d62650ebad3a06ec9bae8a3e8ca0a1252c
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,839
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
70c0eebdf6fdce12711b9dca5bb4eaf6f545171f
0c6ae006fbcb27f60399917d29084ff42a6a96ad
/app2/populate/test.py
a045fa45611b0f95d6e1c1670cce702ead82834c
[]
no_license
ailan12345/app2
9ac54c287d90b86ca0726dde12d5dec62ae2f6eb
b9a00cb55a0d54198eb2030b158433ad73274a17
refs/heads/master
2020-03-17T09:42:11.457932
2018-05-15T13:47:52
2018-05-15T13:47:52
133,484,796
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
from populate import base, admin, user admin.populate() user.populate()
[ "isccyut@isccyut-M11BB" ]
isccyut@isccyut-M11BB
ac1338440b36fda5674e33b1bf2e2085aaa9d69a
98e6328bc25a81bf2b492127b091e01c0dabb345
/graphs/data/2009-10-08/process.py
22c76d80336cb52792cd7c8f2fd39561badc57ce
[]
no_license
bernardokyotoku/Kyotoku-thesis
7d80bbcf8c93b3610262e4b3e186dbafb0eae29c
548eb33fc60f397f48c4999420e87c20737ee7f9
refs/heads/master
2016-09-06T01:12:54.305113
2011-04-14T14:15:56
2011-04-14T14:15:56
1,613,873
1
0
null
null
null
null
UTF-8
Python
false
false
680
py
#!/usr/bin/env python from numpy import * from matplotlib.pyplot import * import scientific_utils as su T=range(1,11) data = loadtxt('./T1-0.dat') wavelength = data[:,0] figure(10) plot(wavelength,10*log10(data[:,1])) figure(2) mask =wavelength>1483 mask&=wavelength<1493 wavelength = wavelength[mask] data = wavelength...
[ "bernardo@kyotoku.org" ]
bernardo@kyotoku.org
8ad1db408f0ed4b1820869e77505354eb6f528a5
210fb7e5d8b588cb8796acd1699ba184a40566c3
/django/contrib/staticfiles/handlers.py
aba383f07ce604d41bc68f13f45aa78c81e01a6a
[]
no_license
suosuo1930/parse_django
2703f8195c4e0a75f604641b2f264e1f75a9ab86
ffaa299868dc1295aa665ad4b11d3f1e7cf0403f
refs/heads/master
2020-09-11T14:46:12.577076
2019-11-25T13:27:19
2019-11-25T13:27:19
222,100,485
0
0
null
null
null
null
UTF-8
Python
false
false
3,368
py
from urllib.parse import urlparse from urllib.request import url2pathname from django.conf import settings from django.contrib.staticfiles import utils from django.contrib.staticfiles.views import serve from django.core.handlers.exception import response_for_exception from django.core.handlers.wsgi import WSGIHandler,...
[ "1963275449@qq.com" ]
1963275449@qq.com
1ed9fd2930b314df28d115380f4651567df40106
6ca52e73fabce4c2d0b6b9cfb07ef36246c47cc4
/adapted_from_Allen_Institute/LGN_modifications/nwb_copy.py
90919b1118a30df75c771f0109f49f478105c3ab
[ "BSD-3-Clause" ]
permissive
lenamyk/Exploring_the_Allen_model
c1903e36fe5321152bc70d14e54f61040c40233b
2da3a248a0ffc613b8019ba798e88bd2f71348b1
refs/heads/master
2022-04-26T07:26:36.258678
2020-05-02T18:39:01
2020-05-02T18:39:01
258,632,148
1
0
null
null
null
null
UTF-8
Python
false
false
20,032
py
# Copyright 2017. Allen Institute. All rights reserved # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the # following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
[ "noreply@github.com" ]
lenamyk.noreply@github.com
55a7d840491b41f34f563c3ff74aad8e9bf7d2d4
a92ab416bc7116e327a0e744c09169ca362a1f4d
/manage.py
ccdc4875b121897e28fa545475a863a1775951fd
[]
no_license
Himrocks29/News-detection
98d77db05a8b7b7a408bafd9ba787b5e70055244
caeb53185a270c488880db14c7caa57a021fcab9
refs/heads/master
2022-11-14T12:11:41.504264
2020-07-10T10:24:14
2020-07-10T10:24:14
275,581,517
0
0
null
null
null
null
UTF-8
Python
false
false
653
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'web_back_end.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: ...
[ "noreply@github.com" ]
Himrocks29.noreply@github.com
31128be2e863dec1082878d679f57d46b8658064
6178a536e3966d10cded2c2ed79f80a78aa3b65b
/Search_Engine_BG/search_engine/store_name.py
c84d006877d4e043b40006153651dc63c120511b
[]
no_license
HOLMEScdk/SearchEngines
73e82fa28e6404f81c6ead8f5436e936ebc7b95e
bfe5963ad4cb6b4d884a6993d63a812ec2282fb9
refs/heads/master
2021-04-09T11:59:33.169558
2018-10-04T08:30:21
2018-10-04T08:30:21
125,612,866
5
0
null
null
null
null
UTF-8
Python
false
false
1,803
py
# -*- coding: utf-8 -*- # __author__ = 'K_HOLMES_' # __time__ = '2018/4/16 10:45' import pymongo import time import datetime mongo_client = pymongo.MongoClient(host='localhost', port=27017) mongo_crawler = mongo_client.zhihu_crawler def search_all(): collection = mongo_crawler['person_json'] que...
[ "noreply@github.com" ]
HOLMEScdk.noreply@github.com
298a09a0b7bc0ee8a791968bd6fb1a5c26742c0d
8165748e222f1089a8ed648056662813bcbe7f10
/shaDow/para_samplers/pybind11/pybind11/_version.py
fc7a56cc7c5e69faf421939ecc96b03324eac45e
[ "BSD-3-Clause" ]
permissive
DeepGNNShallowSampler/shaDow-GNN-release
034de4c984084ab43c73ce54c43ab4c86f4a5338
4cf3161549750870157e4cd0e3d96603f81102a2
refs/heads/main
2023-03-05T08:09:11.555210
2021-02-22T08:39:31
2021-02-22T08:39:31
338,206,282
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# -*- coding: utf-8 -*- def _to_int(s): try: return int(s) except ValueError: return s __version__ = "2.6.1" version_info = tuple(_to_int(s) for s in __version__.split("."))
[ "deepgnnshallowsampler@gmail.com" ]
deepgnnshallowsampler@gmail.com
f10dd705eaf6c87053ba4c18d83226cfb47d9c1a
f58c6a500b5a2652c7b039d9d7f1eea3c68003b3
/testCase/pypost.py
bccab87c0056eba9aef91eed373287ac6f44b54f
[ "MIT" ]
permissive
zh417233956/pytestdemo
041138a985b98c8db8f4ccb1a733b102c2cd08ba
cea91ce497d6a2f4d6e6e4a53487ddfb23ae04af
refs/heads/master
2022-12-11T13:24:55.294418
2020-02-10T06:42:21
2020-02-10T06:42:21
235,714,327
1
0
MIT
2021-06-02T01:01:30
2020-01-23T03:11:06
Python
UTF-8
Python
false
false
704
py
import requests import json # dataJson={'msgtype':'markdown','markdown':{ # "title":"回家过年了", # "text":"#### 回家过年了\n"+ # "> 我将搭乘今日19:18的高铁回家过年\n"+ # "> 提前祝大家新年快乐!!!\n"+ # "> 鼠年希望您有:\n"+ # "> “鼠”不尽的收获\n"+ # "> “鼠”不尽的幸福\n"+ # "> ![screenshot](http://img1.imgtn.bdimg.com/it/u=1966890294,28...
[ "417233956@qq.com" ]
417233956@qq.com
9c4a630df634091abbd42ba9e66d1838edec4010
ee2dc497c2d4bfa9829a7cdc03cf9dcecb27d0bc
/fortune.py
d4015c6d532e957bab897e6d6e96f83a92f633fe
[]
no_license
secretisdead/cogs
08d484e1585750cf462a66d4207601c3942e6e50
8b5c6e0b1b88a3991764fb04848eaa0df1e3dcdc
refs/heads/master
2020-03-15T19:43:27.478203
2018-06-26T04:35:49
2018-06-26T04:35:49
132,315,845
0
0
null
null
null
null
UTF-8
Python
false
false
3,050
py
import math from random import choice import discord from discord.ext import commands class fortunes: """port of imageboard style fortunes from notsecret irc bot""" def __init__(self, bot): self.bot = bot fortunes = [ 'Bad Luck', 'Average Luck', 'Good Luck', 'Excellent Luck', 'Reply hazy, try again',...
[ "secretisdead@gmail.com" ]
secretisdead@gmail.com
0420534522a09d4ce97b37a8bcc31c5d5a8cea67
1e5a87ca416f5358920656cb7839f162b0b9f796
/setup.py
5132cd80fca29d63eb6c9f970d01d989a053851c
[]
no_license
youjin827/flask_miniter
4361fe0405985896f68fbdc0f298e668ae46889e
c6c77658ff5e5d298e0864175269d1b72cfa1725
refs/heads/main
2023-03-19T21:28:34.904115
2021-03-04T17:35:31
2021-03-04T17:35:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
import sys from flask_script import Manager from app import create_app from flask_twisted import flask_twisted from twisted.python import log if __name__ == "__main__" : app=create_app() twisted = Twisted(app) log.startLogging(sys.stdout) app.logger.info(f"Running the app..") manager ...
[ "reason9827@naver.com" ]
reason9827@naver.com
3ef0ad7ff5b1b6100b5b47882ef07366a21f1ac0
6bce144a2dc9293f290207d1c6c2d08a63763cd2
/examples/swap_dims.py
e46054f2782340d727fbc5325328b16aa891688f
[ "BSD-3-Clause" ]
permissive
tlambert03/napari
0f7b90de5333b520567a7eb9f00dea5c15fa448c
19867df427b1eb1e503618a1ab109e7210ae8a83
refs/heads/main
2023-08-30T21:32:29.433620
2023-05-08T13:58:18
2023-05-08T13:58:18
216,388,440
5
0
BSD-3-Clause
2023-05-01T07:58:42
2019-10-20T16:02:35
Python
UTF-8
Python
false
false
794
py
""" Swap dims ========= Display a 4-D image and points layer and swap the displayed dimensions .. tags:: visualization-nD """ import numpy as np from skimage import data import napari blobs = np.stack( [ data.binary_blobs( length=128, blob_size_fraction=0.05, n_dim=3, volume_fraction=f ...
[ "noreply@github.com" ]
tlambert03.noreply@github.com
4ae9e7730ba0c3caaa877e17749a4dcdd46f6428
c67f2d0677f8870bc1d970891bbe31345ea55ce2
/zippy/lib-python/3/test/test_bytes.py
ae79d8aa9169daa82931977f257491cb8afc15f1
[ "BSD-3-Clause" ]
permissive
securesystemslab/zippy
a5a1ecf5c688504d8d16128ce901406ffd6f32c2
ff0e84ac99442c2c55fe1d285332cfd4e185e089
refs/heads/master
2022-07-05T23:45:36.330407
2018-07-10T22:17:32
2018-07-10T22:17:32
67,824,983
324
27
null
null
null
null
UTF-8
Python
false
false
48,581
py
"""Unit tests for the bytes and bytearray types. XXX This is a mess. Common tests should be moved to buffer_tests.py, which itself ought to be unified with string_tests.py (and the latter should be modernized). """ import os import re import sys import copy import functools import pickle import tempfile import unitt...
[ "thezhangwei@gmail.com" ]
thezhangwei@gmail.com
131d066772fc0f1d32c43fa05e219436d1258eae
ba3d31026d954f1fa9496a712fdbfd213963cb97
/src/lib/urllib3/_version.py
6fbc84b30f205772224053b3d2ccb90102373276
[ "MIT" ]
permissive
skleinei/alfred-confluence
2ed56dc89e1f6d14493278a16eca99baf22fc7c2
4fe667692becd846960c841b3ba8e5aa9adadf6f
refs/heads/main
2022-10-01T21:29:55.716185
2022-09-09T21:50:41
2022-09-09T21:50:41
88,511,852
105
21
MIT
2022-09-06T16:39:32
2017-04-17T13:42:43
Python
UTF-8
Python
false
false
64
py
# This file is protected via CODEOWNERS __version__ = "1.26.12"
[ "stefan@k15t.com" ]
stefan@k15t.com
068feac8406d25ab5bc8ec17f5e12833be281f5d
eda064d83bdc45dfda92ca533f4965babc3a6804
/django_dynamic_path/tests/urls.py
ca30c538b7b4e07542be9ccfa1de1f5598b9e2dd
[ "MIT" ]
permissive
quadrant-newmedia/django_dynamic_path
bcad2138b4ebc8abfe2cc8a4736bb14023882538
c8246cf0bf913f72945e4219d179e55a4c5a1437
refs/heads/master
2021-07-13T08:31:33.340390
2021-06-29T20:13:31
2021-06-29T20:13:31
249,819,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,254
py
from django.http import HttpResponse, HttpResponseServerError from django.urls import path, include from django_dynamic_path import DynamicPath def confirm_args(request, *args, **kwargs): if len(args) == 2 and args[0] == 'a' and kwargs['b'] == 2 : return HttpResponse() raise RuntimeError('did not get ...
[ "alex@quadrant.net" ]
alex@quadrant.net
307eb8462211b543bf7984c50db4be1a64aa8c68
a4a2c9a26087bd3e326269ab689b1fe929997324
/FirstDjangoProj/mysite/mysite/settings.py
3b4d40a5e68ecbd0a2ca8a7e0e099c5546617363
[]
no_license
molaksh/PythonProjects
960813ac054c0bd508ddd027f29ad033be1161f6
5dd6b46d6f17ef44ae2e32fc8a12ec6f832d8eaa
refs/heads/master
2021-06-27T23:41:13.526222
2019-07-04T01:15:14
2019-07-04T01:15:14
142,596,245
0
0
null
null
null
null
UTF-8
Python
false
false
3,473
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.14. 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/ """ import os...
[ "mohan.kris.lakshmanan@gmail.com" ]
mohan.kris.lakshmanan@gmail.com
7f4cf0d59708157a9f67bc9e4e462d9a835f5225
99445b05a6ae648de9d94ed4f059c37620c2eecf
/Audio Keylogger/src/keystrokes.py
fefd4da38c6f18b97f7c830d3c7ffabe8f5efecb
[]
no_license
owenlu552/Hackathon-2017
8f2dfe2b52d8bef14e96395f0f2c188d0ffc5bb5
052170e29806dadfc5e7f08edec24de31aac4d58
refs/heads/master
2021-01-20T05:10:11.803101
2017-04-30T17:01:01
2017-04-30T17:01:01
89,755,835
0
0
null
null
null
null
UTF-8
Python
false
false
1,611
py
from scipy.io import wavfile from scipy import signal from numpy import mean, std from matplotlib import pyplot as plt def keystroke_starts(wav_filename): c_minFreqHz = 400 c_maxFreqHz = 12000 freq, data = wavfile.read(wav_filename) # select only the left channel for now leftData = data[:,0] numSamples = l...
[ "github@harishlall.com" ]
github@harishlall.com
f7a57d8b122354d67e2bc6db33b6b1c566835d37
75ec42b3e07422bd0159e5c27296524cd31c27c2
/app/run.py
56847893e0b922ec02254211d397a4a18dd6a408
[]
no_license
jaescbar/Project_2
b556020734d91aeea00cc3e396f8be0e7c0ff809
53464a1193fa8bf0bbb63a3ca2e990eccc3a0dc7
refs/heads/main
2023-02-27T12:36:33.582938
2021-02-05T01:56:52
2021-02-05T01:56:52
335,058,237
0
0
null
null
null
null
UTF-8
Python
false
false
3,911
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: import json import plotly import pandas as pd from nltk.stem import WordNetLemmatizer from nltk.tokenize import word_tokenize from flask import Flask from flask import render_template, request, jsonify from plotly.graph_objs import Bar from sklearn.externals import jo...
[ "noreply@github.com" ]
jaescbar.noreply@github.com
1178eab42c3b0ccd60dd23924fded6982087b9d5
f97df2ae339368b8b5fe066c0530a273db7e76c7
/importDialogue.py
9ed006cd2e93c41f77c2aef6faf3cdda65e10126
[]
no_license
briceFoundry/flixOps
5fd4612ed980c6a442d5fc921f35cbb11bd6a8d7
c60548d965d4a071f24bcf42fc5c2aab37cb5864
refs/heads/master
2021-01-11T07:59:12.669259
2016-10-27T21:20:52
2016-10-27T21:20:52
72,126,895
0
0
null
null
null
null
UTF-8
Python
false
false
6,114
py
#!/usr/bin/env python #------------------------------------------------------------------------------ # importDialogue.py - Imports a Flix text file and assigns dialogue to the panels #------------------------------------------------------------------------------ # Copyright (c) 2014 The Foundry Visionmongers Ltd. All...
[ "brice@thefoundry.co.uk" ]
brice@thefoundry.co.uk
00aaebefa565e2ae33be7572d88c22ea8abfd2e7
64a444c1583cdb7bfa481b5962720d2522bafa0b
/Amalie_M_week_1.py
ac0df7b3e142e8b6d764ef93b130b05384cc65f6
[]
no_license
amalietm/exam_coding_1
abb22383a95450b946442d1774d04baf249fd4ba
8eca19be4dc1e27a8196a0419441280e88694919
refs/heads/main
2023-03-11T04:17:01.056014
2021-02-18T10:37:39
2021-02-18T10:37:39
340,015,226
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
# Write a program that outputs even if a number is even and odd if a number is odd. Think about what if the value is neither even nor odd (the value can be fractional or it can even not be a number at all). num = int(input("Enter a number")) if (num % 2) == 0: print("number is even") elif (num % 2) == 1: print("nu...
[ "noreply@github.com" ]
amalietm.noreply@github.com
49d9eb798f3e278b4bcf71e58edb75976f1f6147
c42bb5fe3505703e56791c23b5cb838938816833
/arch/task_manager/db/models.py
e6f515616650adfe6159052b1e1da3d52db7abd1
[ "Apache-2.0" ]
permissive
nemirorox/FATE
fe727c1a8bb39e18d0508bdee14745cfb2814d6c
7f4a3e7ca50f24e49090e6c117bfabd1785603f2
refs/heads/master
2020-06-27T03:25:10.342834
2019-07-26T03:08:27
2019-07-26T03:08:27
199,831,026
1
0
Apache-2.0
2019-07-31T10:08:25
2019-07-31T10:08:25
null
UTF-8
Python
false
false
3,773
py
# # Copyright 2019 The FATE Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
[ "jicezeng@gmail.com" ]
jicezeng@gmail.com
36d1d6d6e916c60a5b3f6e02f28a3a6c98c6de8a
6a0589aa1a5f9071cbcee3f84452c880bf96c12d
/src/uw_py220_extras/lesson10/src/mailing_list/send.py
98a46f491654bb836950d44e09294401862efaaa
[ "MIT" ]
permissive
UWPCE-PythonCert/py220_extras
d3203e2fd44ee840d008fac9597a5b0c165e8cc7
57336429fb782c4901e7709c0275242e6af4264a
refs/heads/master
2020-12-01T23:42:58.660565
2020-03-11T02:44:18
2020-03-11T02:44:18
230,816,756
0
1
null
null
null
null
UTF-8
Python
false
false
54
py
def send_message(message, recipient): return True
[ "akmiles@icloud.com" ]
akmiles@icloud.com
66bc0b8b72aae523ac2a80991533a21aa03b8b2d
4dc411c043df8a4c0292e6177e6612ee2a2584a2
/html_downloader.py
74c5e5f314dfb693934d8752e55f0dc1f6dabca1
[]
no_license
Angel-LQ/MySampleCrawler
fb466ca1929486d9941256ee096199afc8906b10
817576106e50cbe47981c2d57cb6c2a818994f15
refs/heads/master
2020-03-10T22:09:40.931131
2018-04-15T13:42:27
2018-04-15T13:42:27
129,612,429
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
from urllib import request class HtmlDownloader(object): def download(self, url): if url is None: return None response = request.urlopen(url) if response.getcode() == 200: return response else: return None
[ "871091822@qq.com" ]
871091822@qq.com
a4d50b7137e189eb5c81b1988335ceb0716eb12a
8c749118797abdbff60fc79624bdca2df340f2a0
/env/lib/python2.7/site-packages/indicoio/utils/image.py
9eb74db0bffe6b08fdf0070a43fa0f71041d0f20
[]
no_license
gmech838/Fakex
bf16cd58955c29b7a290d9886703f4c9de6b2345
af418e4f29c945d37705c54f215e154a0a42eb73
refs/heads/master
2021-01-05T20:21:52.353868
2018-05-09T04:59:10
2018-05-09T04:59:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,280
py
""" Image Utils Handles preprocessing images before they are sent to the server """ import os.path, base64, re, warnings from six import BytesIO, string_types, PY3 from PIL import Image from indicoio.utils.errors import IndicoError B64_PATTERN = re.compile("^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-...
[ "jaykachhadia@hotmail.com" ]
jaykachhadia@hotmail.com
8ad6930e0c50ef4aa984b410b70526a3f7a72fff
1405a87e42a04af6a21e3002a48f9b9687abc83d
/Paper_topography_figures/Figure_S7_D.py
1f58f79ec4bb07ca3423237c3e4189de2a7adf93
[ "CC-BY-4.0" ]
permissive
kavli-ntnu/mini2p_topography
fabefb4f5a79a9f0b74cc51e01e2f97bde2ed740
83c2dfc8597f9b7f4918f27b735420c4a0cc3415
refs/heads/main
2023-04-09T22:24:47.719101
2022-01-27T14:03:47
2022-01-27T14:03:47
452,277,116
2
0
null
null
null
null
UTF-8
Python
false
false
8,415
py
### Figure S7 - Obenhaus et al. # panel D: anatomical masks # Plots an overlay of anatomical masks as # annotated by the experimenter import sys, os import os.path from pathlib import Path from matplotlib.figure import Figure import numpy as np import pandas as pd import datajoint as dj import cmasher as cmr # Ma...
[ "7548928+horsto@users.noreply.github.com" ]
7548928+horsto@users.noreply.github.com
d5ae247878b5808b35c405d5a41e7182c2c8cef2
2e8c210b999f74445d382b6f56fe75766490a40b
/testing/reducer.py
bf1f9bd79e041e65863ca756fbb610d2b9ecccf6
[]
no_license
yzhh029/wikitrending
cc190b8f78022d1e16749a59e36ae603031d054f
158d565d3cb7f292928f81e7c054cec30d9b9354
refs/heads/master
2020-05-30T21:14:54.743763
2014-12-05T05:11:29
2014-12-05T05:11:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
635
py
#!/usr/bin/env python import sys current_name = None current_count = 0 current_date = None word = None for line in sys.stdin: line = line.strip() rd = line.split('\t') if len(rd) != 3: continue name, views, date = rd[0], rd[1], rd[2] try: count = int(views) except ValueError: continue if current_name...
[ "yzhh029@gmail.com" ]
yzhh029@gmail.com
a1f18c3115ef61507d291c92a1fb592e652a1b31
86d7526f06552f0b46d539b41ac147c5daddb1d6
/flipkartgrid.py
8ad77183727fe0149002bdca04fd083497d88e93
[]
no_license
ShrungDN/Flipkart-Grid-3.0
3a6b35317bee6a392f01377a5f23f228c651caa5
b4f9c48606e045d718fbc6ec1d10df254ca969a2
refs/heads/main
2023-08-10T19:09:16.522837
2021-10-03T11:04:52
2021-10-03T11:04:52
405,348,032
0
0
null
null
null
null
UTF-8
Python
false
false
34,307
py
# -*- coding: utf-8 -*- """FlipkartGrid.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/16vpyuFlG8XAHVhG2uDySuP_ilW6S1xLs # Main Code (Run From Here) ## Initial Steps (used to get the start points, checkpoints and destination points) """ # impo...
[ "noreply@github.com" ]
ShrungDN.noreply@github.com
2b3a9e981f42e8a5e6a40afa375a01bcdf8a0d9f
91fae4ffd292fe40c3076d166325174cc3898aeb
/mastool/samples/genexp_as_arg.py
58fe1d4f5d76a40b34dbb4517f12d271bc8338ea
[ "Apache-2.0" ]
permissive
omaraboumrad/mastool
e8d4b29264d340e7d2039ca05683e1f73210a852
0ec566de6717d03c6ec61affe5d1e9ff8d7e6ebd
refs/heads/master
2021-01-19T04:19:39.994448
2017-07-21T12:56:56
2017-07-21T12:56:56
43,903,895
26
1
null
2017-07-21T12:56:57
2015-10-08T16:56:37
Python
UTF-8
Python
false
false
49
py
def foo(x, y=(x**2 for x in range(3))): pass
[ "jhakimra@redhat.com" ]
jhakimra@redhat.com
6c54ce0f3e628cf8b9d687c071a7631a8f6315bd
d83f6ba316a0ff77e1bc50c48ef4b37253f56985
/novathousands/__init__.py
8c254b6aa4cf85b0f2b2b94420e75fc25f004c84
[ "Apache-2.0" ]
permissive
pyKun/nova-thousands
30eba4ab299d1cd3d637bedc9cfed065c72e8238
47533b9b3eb64479a9cc3827a07cd86b2c336591
refs/heads/master
2020-04-05T23:20:20.257163
2014-12-15T04:15:50
2014-12-15T04:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
from novathousands.driver import NovaThousandsDriver as ThousandsDriver
[ "gareth@openstacker.org" ]
gareth@openstacker.org
d0e22a0756c6d98d97f0cc24f0ca2280ad85f0fc
ae7eb58377a11b11ea6372f12e4e8bc94d327145
/script.py
f218ac1bd52b34d83ba2ab095623af39b1b05329
[]
no_license
djangorris/AVdata
3c29d16cce7aff85c549bced8312fdca20e7e68a
1d6de2f839b9fb96f0510cfb29c9e1e19b7eb6a9
refs/heads/master
2021-01-23T08:44:42.401920
2017-09-17T02:15:00
2017-09-17T02:15:00
102,545,322
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
import matplotlib.pyplot as plt import matplotlib.colors as colors import matplotlib.patches as mpatches from matplotlib import style import numpy as np style.use('fivethirtyeight') np_members = np.array(df.Member_Months * .01) col = df.Select.map({'On':'b', 'Off':'r'}) red_patch = mpatches.Patch(color='red', label='O...
[ "lukkyjay@gmail.com" ]
lukkyjay@gmail.com
8e1d85018fcf4384b655f23eef74bda5040402df
850012c4237b778661bde10ae8a8cc21ac01ff70
/classifier/neural_net.py
7d8aeede8adbedd95b2b949058b32a53dad621c4
[]
no_license
jamesmcnamara/ml
cd06fbe0b9f6d3209ce14e65575f1225ee66ff63
491759e108d31377f6fed5f58464de89e6c0b3ec
refs/heads/master
2016-09-11T10:58:01.667822
2015-05-01T00:35:37
2015-05-01T00:35:37
29,793,362
6
0
null
2015-04-30T23:28:49
2015-01-24T22:05:42
Python
UTF-8
Python
false
false
7,956
py
from itertools import count from math import exp from operator import ne from random import random import numpy as np class NeuralNet: def __init__(self, units=None, eta=1, steps=1e6): self.eta = eta self.steps = steps input_count, *hidden_counts, output_count = units self.inputs ...
[ "jamesscottmcnamara@gmail.com" ]
jamesscottmcnamara@gmail.com
df6e073700a543f8342231476d993d8b3541a580
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/macurl2path.py
740baa65096a9e47b3824c0fb53cdbf83200c62d
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,454
py
# 2016.08.04 19:57:02 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/macurl2path.py """Macintosh-specific module for conversion between pathnames and URLs. Do not import directly; use urllib instead.""" import urllib import os __all__ = ['url2pathname', 'pathname2url'] def url2pathname(pathname):...
[ "info@webium.sk" ]
info@webium.sk
e8357eef31591366579a84ab6797d25ad9a08087
f4d2cb9d22bffc1e4e96fe4b6c308a3a9764d630
/Clase 3/ejemplos_comprension.py
564b2021673ecd684c2f1bdbd54dfa0272122e5d
[]
no_license
agustinc24/datascience_unsam
8a1651049d70f4aadf883a3ba1305a8d7779d4ae
93c83ec09f59da177d4a5ced77e5b15ff10581a9
refs/heads/master
2022-12-09T17:24:19.061436
2020-09-15T19:31:10
2020-09-15T19:31:10
295,829,454
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
import csv def leer_camion(nombre_archivo): '''Lee un archivo y lo almacena en un diccionario, tambien calcula el precio y lo devuelve''' f = open(nombre_archivo, 'r') rows = csv.reader(f) next(f) lista_camion = [] for row in rows: camion = { 'Nombre': row[0], ...
[ "agustin.cavalotto@gmail.com" ]
agustin.cavalotto@gmail.com
076d821b7cd0e1afe7ab941c07feea5414608297
b1972ef757274c7e2fcf423cbea9a4a16b879dca
/tests/test_commit_hooks.py
43737fee2c1316ddeecbb3a78f2b1954aa51dc36
[]
no_license
dekoza/commit-hooks
ace73710c8cd2021d22bdf99b853ceb151badd67
d98fbf8479d2bfa75b3721fa50eee58837641b63
refs/heads/master
2020-12-31T09:14:40.845476
2020-02-07T16:23:51
2020-02-07T16:23:51
238,971,354
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from commit_hooks import __version__ def test_version(): assert __version__ == '0.1.0'
[ "dominik@kozaczko.info" ]
dominik@kozaczko.info
1ec1837fa85cf492f7c8202b56defc9e37abbae0
f3ac663df0dab919f50f4c5e68479f683f18bfab
/Fibonacci.py
4b8a1a10b49a05545554387edf28a5a843241403
[]
no_license
IMDCGP105-1819/portfolio-ShmigabornDungiedoo
8df18626a340c37aff6da1f365e7441d215e5981
bcd5688110ee0fd38bfccdcb605b3ce352ac551d
refs/heads/master
2020-03-30T01:18:38.020979
2018-12-31T12:09:27
2018-12-31T12:09:27
150,569,648
1
1
null
null
null
null
UTF-8
Python
false
false
175
py
def fib(n): if n==0 or n==1: return 1 else: return fib(n-1)+fib(n-2) n=int(input("number: ")) print(fib(n)) for n in range (1, 21): print(fib(n))
[ "relonet95@gmail.com" ]
relonet95@gmail.com
06150e110933f3126f5f13e11c1916c41595e6e0
9d7cc513a59b529eb6527040685f84340adab36f
/cheese_doodle.py
d564474066ec5b2b4077d399e3ce400740f0c178
[]
no_license
nagaem/learn-to-git
27a1b7000c99af6db750d9a51151654e9af535f9
6fdc6a3879f3a7fcf28708187799ea88a3c432be
refs/heads/master
2021-12-08T04:02:55.511280
2016-02-12T05:08:26
2016-02-12T05:08:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
def cheese(n): return n**2
[ "stephan@echosec.net" ]
stephan@echosec.net
5cfb68dc1e63a2e8a9db6dc77bd3d747c66c2797
4c3673893e9e70af5de37c715f0b1d39c98a898f
/lispy/lis.py
37b8318445c7e6c4d7473293994bf2798c49a084
[]
no_license
nettee/code_history
949d02367c5d66fdffc2dacbfff948fb39ff2b14
21f7ebfa450a69c1347c7c5c16784d19ab288565
refs/heads/master
2021-01-06T20:38:19.017621
2015-03-19T03:13:31
2015-03-19T03:13:31
23,660,659
0
0
null
null
null
null
UTF-8
Python
false
false
2,929
py
# Peter Norvig # (How to Write a (Lisp) Interpreter (in Python)) import sys import math import operator def add_globals(env): env.update(vars(math)) env.update({ '+' : operator.add, '-' : operator.sub, '*' : operator.mul, '/' : operator.truediv }) return env class Env(...
[ "xf0718@gmail.com" ]
xf0718@gmail.com
a8ba5e193ad1bfb79c7d4bbd5490208ff2efbccc
4a014913e00a3e604922fb1c82d9c54b8498a180
/roughWork/exp7.py
224f490bbc344dc6123084245ec18cbccccb8f80
[]
no_license
meghanads/pydlcs
8ec7e93b199fb54a0048c6beede802fc2e47f2f1
31ee858721bd727b492bf168472acf8595f3cb04
refs/heads/master
2021-01-17T09:31:53.145526
2013-06-22T21:57:14
2013-06-22T21:57:14
32,127,803
1
0
null
null
null
null
UTF-8
Python
false
false
478
py
# CIRCUIT: T flip Flop # from sequence import * sim = SIMU('sim1',start = 0,plots = 1, debug =1, pclk = 1 , step =0, pannotate = 1) I = Istream('IN', fname = 'inp', stream =1) O = Ostream('OUT', stream = 1) TF = TFlipFlop('TF') sim.clk_out.connect([I.clk_in, TF.C, O.clk_in]) I.data_out.connect([TF.T]) TF.Q.connect...
[ "bharat@localhost" ]
bharat@localhost
ed4abd4b848d29771385c7991bdad7cad9d8a89e
e10a6d844a286db26ef56469e31dc8488a8c6f0e
/poly_kernel_sketch/common.py
758b1f1c79fc43357e24285b53d31493fbc6614c
[ "Apache-2.0", "CC-BY-4.0" ]
permissive
Jimmy-INL/google-research
54ad5551f97977f01297abddbfc8a99a7900b791
5573d9c5822f4e866b6692769963ae819cb3f10d
refs/heads/master
2023-04-07T19:43:54.483068
2023-03-24T16:27:28
2023-03-24T16:32:17
282,682,170
1
0
Apache-2.0
2020-07-26T15:50:32
2020-07-26T15:50:31
null
UTF-8
Python
false
false
5,387
py
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
6b5a81a8ab4123fbb88df10243fbfda7a3d694aa
59f13b09fb6f0c92ab516f31bd4f739fe6040441
/vindula/tile/browser/accordion.py
33f5bb2d74538424883a72474d1dc1e3739bc376
[]
no_license
vindula/vindula.tile
f3d6acb0326cb95dad31b2c5dd21cca290525943
1e747e1c7dfda924edb5d4905855ba86deb41b02
refs/heads/master
2016-09-10T22:31:12.217220
2015-11-25T16:26:12
2015-11-25T16:26:12
9,704,661
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
# coding: utf-8 from five import grok from vindula.tile.browser.baseview import BaseView grok.templatedir('templates') class AccordionView(BaseView): grok.name('accordion-view') def get_itens_abas(self): context = self.context current_user = self.p_membership.getAuthenticatedMember() ...
[ "cesaraugusto@liberiun.com" ]
cesaraugusto@liberiun.com
2e698271e5521219a57a30b09eff50ba6a0d081c
506df7a85d0b3b522b24998acda41f5f707b53a4
/chess/player.py
9025ed4b4c892d0a45a43ff14fec01ad32f8d717
[]
no_license
DomhnallBoyle/python-games
25dae160cf1b8bd3882ef5d14f998a7094e22d86
78083f2c6ad8abd01b0689549bcab82c39ece1f7
refs/heads/master
2021-01-18T16:02:20.601949
2017-03-30T13:34:59
2017-03-30T13:34:59
86,705,083
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
class Player(object): def __init__(self): self.name = self._get_player_name() self.pieces = [] self.score = 0 def _get_player_name(self): name = raw_input('Enter a name for player: ') while len(name) <= 0: name = raw_input('Enter a name for player: ') return name def make_move(self): pass
[ "domhnallboyle@gmail.com" ]
domhnallboyle@gmail.com
f644e7ba8eedd7cdef234be96ba7b530e6ca331f
5ef6e49ac75df1f2e8e97ec7f5615d9cdf56f446
/sft/config-sample/old_keras_agents/agents/lasagne_complex.py
c92f0af66b0822eac7723f4ad4ee485947b54ec8
[ "MIT" ]
permissive
kevinkepp/search-for-this
c7915a5cafa50365b608ed89cfd73af8ddcf0520
37a94ae7c7ad780f34792f8098e4a4066c6e097a
refs/heads/master
2021-09-04T02:49:53.551799
2018-01-14T23:11:55
2018-01-14T23:11:55
72,003,710
0
0
null
2017-02-17T15:33:13
2016-10-26T13:03:46
Python
UTF-8
Python
false
false
1,717
py
from lasagne.layers import DenseLayer, ConcatLayer, FlattenLayer from lasagne.nonlinearities import linear, rectify from lasagne.updates import rmsprop import sft.agent.DeepQAgentGpu import sft.agent.model.LasagneMlpModel import sft.eps.Linear import sft.reward.TargetMiddle from sft.log.AgentLogger import AgentLogger ...
[ "dev@kevinkepp.de" ]
dev@kevinkepp.de
bb4db4b87cead04eedd558dd4868e7965573b518
2402d78f985e8dbf907a69294bf89ef7c838618c
/utilities/gitall.py
1f347533b558d140e4dcd7472368eb11a1f78d31
[]
no_license
MetaCell/HNN-UI
d111bf0eaccc78252fd37cd74fef79eac67e59d6
26582dfcae454850e752dc0e276c00887a802684
refs/heads/master
2020-04-01T10:00:33.640897
2019-08-27T08:28:00
2019-08-27T08:28:00
153,098,759
1
2
null
2019-08-27T09:28:01
2018-10-15T11:04:14
Python
UTF-8
Python
false
false
2,923
py
#!/usr/bin/python # # Utility script for mass git operatiosn on HNN-UI # Usage: # gitall branches: print current branch of each repo # # gitall checkout <branch> : checkout <branch> on each repo # # gitall pull <remote> <branch> : execute git pull on each repo # # gitall fetch <remote> <branch> : execute git fetch on...
[ "afonsobspinto@gmail.com" ]
afonsobspinto@gmail.com
647917924cd80707d6b2baa922c9d4558992a1a0
d13c098738df6e94332b84a63beb2e75a7036f7e
/Visualization/conv_filter_visualization.py
54feff0be31e8c595acf57dc5c1b060de47f1065
[]
no_license
ma-xu/DNN
0d4962647f3b2ce0d35d3d50a026a4ad7f6871ee
c05bba778810e61e821bcb9093434a1ff9f0c258
refs/heads/master
2022-03-20T12:15:42.966469
2019-12-05T03:40:00
2019-12-05T03:40:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,759
py
########################################### ### Copy for keras examples at github ########################################### """ #Visualization of the filters of VGG16, via gradient ascent in input space. This script can run on CPU in a few minutes. Results example: ![Visualization](http://i.imgur.com/4nj4KjN.jpg) """...
[ "xuma@my.unt.edu" ]
xuma@my.unt.edu
f419e81f514108bf11109e0849632fd4c5d074f3
d7d25574246fd8585396a02ebd2ca8450e49b082
/leetcode-py/leetcode84.py
1824ee7477f31f88d415aa6aff3453e23e14c6cb
[]
no_license
cicihou/LearningProject
b6b1de2300e574835f253935d0c0ae693b194020
3a5649357e0f21cbbc5e238351300cd706d533b3
refs/heads/master
2022-12-04T06:18:14.856766
2022-11-29T08:54:16
2022-11-29T08:54:16
141,606,471
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
''' 视频:https://www.youtube.com/watch?v=vcv3REtIvEo monostack 1. find the nearest left bar with height < current bar 2. find the nearest right bar with height < current bar 分别从左向右,以及右向左维护两个单调栈,monostack 左边向右边时: 碰到比左边或者比右边小的,就 pop 掉当前的数,单调栈中存且只存比 cur 的 height 小的 index, 我们单独维护一个数组,存 nearest left bar less than cur 的 ind...
[ "houxi_zuel@163.com" ]
houxi_zuel@163.com
6aa93f8ca984578884a7b5542a708073c3d95d26
12289eecb8ad582578e5722a52e519cbd38c3ab3
/app/auth/forms.py
e128e95ec44f4b5d935f2fca9b0a9b7aaef9879a
[ "MIT" ]
permissive
kuangzhehuangjian/TaskScheduler
fde409820f4fdbd9bff36f5c181943dd8f5d1601
18f25ae1b3ffd14d3c9c736e0e63104df13acb8f
refs/heads/main
2023-08-21T00:30:31.184742
2021-10-27T02:29:55
2021-10-27T02:29:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
# -*- coding: utf-8 -*- # @Author: guomaoqiu # @File Name: forms.py # @Date: 2019-03-14 09:51:08 # @Last Modified by: guomaoqiu # @Last Modified time: 2019-05-22 17:59:46 from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import Required...
[ "870709864@qq.com" ]
870709864@qq.com
1d4a746c351655e76b9f92ea08e41692ab68a1fa
9dbb2c18651df570ded1d4a5fd53e1c36c359afa
/基础心法第1层--炼体/计算个人所得税.py
c7e091cbecaf593c6318e4a87949f194d690d8a6
[]
no_license
zhanrui2011/Python-100-Days-Study-Notes
a9ca7ef9dc58b7959329f1db85feaf119ad78005
18bcc3e5905c6c50470d70ba5d3ac41c0cd62556
refs/heads/master
2020-06-26T15:09:18.402828
2019-07-30T14:18:47
2019-07-30T14:18:47
199,668,645
2
0
null
2019-07-30T14:32:03
2019-07-30T14:32:03
null
UTF-8
Python
false
false
683
py
""" 输入月收入和五险一金计算个人所得税 """ salary = float(input('本月收入: ')) insurance = float(input('五险一金: ')) diff = salary - insurance - 3500 if diff <= 0: rate = 0 deduction = 0 elif diff < 1500: rate = 0.03 deduction = 0 elif diff < 4500: rate = 0.1 deduction = 105 elif diff < 9000: rate = 0.2 deduction = 555 elif diff < 3...
[ "Vhzix24@gmail.com" ]
Vhzix24@gmail.com
2e6e6d70f0b9d008c58b9603581611fe2e94b17f
b1b4dc2c530b56a9abbc6b144c3ca3f5a6d11e70
/twisted_/UDP.py
e56e81deb2f409b7f9ab7d7464fe929c25dbbe04
[]
no_license
BorisovDima/_ex
d38cff25575bfc6d1906940d40091fb6946cd829
6c14d661b8e051f8ec385cb09997da1fa781431a
refs/heads/master
2020-05-07T18:13:38.304305
2019-08-23T10:59:09
2019-08-23T10:59:09
180,757,813
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
from twisted.internet.protocol import DatagramProtocol from twisted.internet import reactor class UDP(DatagramProtocol): def stopProtocol(self): print('END') def startProtocol(self): print(self.transport) print('Start') def datagramReceived(self, datagram, addr): print(d...
[ "you@example.com" ]
you@example.com
6eb055534e069a46fb58ca98949e9dd2924f5ec0
87ba91313fb206e8974fcd0be9676eca6f15fb09
/w3.py
fb91c18243898c02ade224ad8576bd3fdb6be77e
[]
no_license
tsly2015/Notes
afd55b806184a3332676c7d15bb485c87d1aa6e3
81b1eaa7c5931798bfeb0f0a48929c5d354d8be8
refs/heads/master
2021-01-19T20:18:34.817264
2014-11-28T03:42:43
2014-11-28T03:42:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,686
py
from collections import namedtuple # make a basic Link class Link = namedtuple('Link', ['id', 'submitter_id', 'submitted_time', 'votes', 'title', 'url']) # list of Links to work with links = [ Link(0, 60398, 1334014208.0, 109, "C overtakes Java as the No. 1 programming language...
[ "zhenw.wang@gmail.com" ]
zhenw.wang@gmail.com
ce3a35be3812760d489066c9e18242b176ff7c97
35da3082f950aff29c309e78567fc4a539ba654d
/ventas_api/ventas_api/settings.py
cc3c4183066291dd26a42700ee910a3ace782dcb
[]
no_license
EdvinCV/E-Commerce
1f125948488f2fde422cc01b30790464629373e9
fbbdc4dbe8d6c28b985be0e20c69323ab98d80b5
refs/heads/master
2023-01-11T15:46:27.494404
2020-11-14T20:54:39
2020-11-14T20:54:39
312,899,904
0
0
null
null
null
null
UTF-8
Python
false
false
3,809
py
""" Django settings for ventas_api project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from path...
[ "edvinc97@gmail.com" ]
edvinc97@gmail.com
34dc5f92471ec178e2a5420ed1d5d28ca9cbbbad
044822487dc3ef7683887ca72ac46f0a361dcd3c
/rateapp/forms.py
7e4ff32f411169f51e3db75fbc79c02ba0437217
[]
no_license
jer1ck0/Currencies
e41ca590e374403227e44eaaf8cdae33dd39192d
794e61fe8d30426c630f26697496d16d33335c9d
refs/heads/master
2023-06-23T11:17:57.454335
2021-05-12T06:55:20
2021-05-12T06:55:20
366,383,469
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
from django import forms class RequestForm(forms.Form): first_currency = forms.CharField() second_currency = forms.CharField() period = forms.DateTimeField(required=False) class CurrencyForm(forms.Form): currency_ident = forms.CharField() currency_rate = forms.CharField() period = forms.DateT...
[ "jer1ck0@lex.lebedev.example.com" ]
jer1ck0@lex.lebedev.example.com
b5054b5f42826f0d2b5346bf1680095877833494
ca31b0082522bd107510946fa4f9acf83536e50b
/biocoder/apps/common/view.py
7e4ee6374d080aaf4cfe532093d0109d368fb299
[ "Apache-2.0" ]
permissive
east301/biocoder-server
3e850d5164f13cdcab1dd06482434666e86643bf
e7b937e99608fa18675c972ec4377d946896cbb1
refs/heads/master
2020-12-04T01:06:12.268189
2016-08-28T12:00:34
2016-08-28T12:00:34
66,765,739
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
# # (c) 2016 biocoder developers # # This file is part of biocoder, # released under Apache License Version 2.0 (http://www.apache.org/licenses/LICENCE). # import jsonschema from braces.views import LoginRequiredMixin, StaffuserRequiredMixin from django.core.exceptions import SuspiciousOperation # ==================...
[ "tadaka@sb.ecei.tohoku.ac.jp" ]
tadaka@sb.ecei.tohoku.ac.jp
37e09223e7074ba03f04238608d482908fc0a19a
62261d7fbd2feab54b1b5f9f0fef33fd784873f9
/src/deepfool.py
8b318f762dff20a8b7b10e9f0e718ca60b020cb4
[]
no_license
ychnlgy/DeepConsensus-experimental-FROZEN
50ebfe25b33ce8715fb9f24285969831cef311f2
904ae3988fee1df20273e002ba53a49a0d811192
refs/heads/master
2020-03-31T06:18:38.029959
2018-12-02T05:04:52
2018-12-02T05:04:52
151,976,523
1
0
null
null
null
null
UTF-8
Python
false
false
2,772
py
import numpy as np from torch.autograd import Variable import torch as torch import copy from torch.autograd.gradcheck import zero_gradients def deepfool(image, net, num_classes=10, overshoot=0.02, max_iter=50): """ :param image: Image of size HxWx3 :param net: network (input: images, output: value...
[ "ychnlgy@gmail.com" ]
ychnlgy@gmail.com
cebbf6f6e8fc9240025c732d1601f9e7e36ed81b
e900ee347f3bb3f7e1f61f3a66a8ea5ca51df354
/javbus/javbus/settings.py
d2432594d0514aa56b24b7f382e4a4fe74997b40
[]
no_license
SakuraMaaya/JavbusScrapy
ff3a269a7a87e4e6c8c33231221b9378637c797b
f714304cd057b38e1f6ef3b37ec25d77e2816979
refs/heads/master
2020-03-13T16:09:41.959870
2018-08-10T02:05:55
2018-08-10T02:05:55
131,190,815
3
1
null
null
null
null
UTF-8
Python
false
false
3,603
py
# -*- coding: utf-8 -*- # Scrapy settings for javbus project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/latest/topics...
[ "czkme@qq.com" ]
czkme@qq.com
77d6bcfd63501931a3dd644c5d7be0143c691f69
82b9c39b136428f5d2e05e14a61c8a535fd7d81c
/net/binary_test.py
c1a09faae0e2446fb973e8cafe0adb994ef9c2f4
[]
no_license
DongminK/python
a6889c4deed48738fbb554b78341315955fe2813
6a88ba11f65d430e2109864ea20a7b6e1632e342
refs/heads/master
2020-03-16T17:21:20.784177
2018-05-29T09:06:17
2018-05-29T09:06:17
132,828,302
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
## STR import struct from insoft.openmanager.message.packet import Packet str_name = "kim dong min" str_bin = bytes(str_name, "utf-8") print("BIN : %s" % str_bin) print("LENGTH : %d" % len(str_bin)) print("STR : %s" % str_bin.decode()) print("") ## INT float_name = 4 float_bin = float_name.to_bytes(4, "big") print...
[ "kdm0228@gmail.com" ]
kdm0228@gmail.com
e98c27e3713f47c89125bc6ab3b5d0e5b25d33b7
bf20eeafee9a9ba4639d3d8c3a917604721dfa20
/cloudy/db/pgpool.py
0226a90aff3c78960e1993481f2cc01de5b2ea15
[ "MIT" ]
permissive
un33k/python-cloudy
2eb2ebfaca4d9546742b0c1fa7f59e5b4c8625d1
fb20f45b782cf81a1924cc93ce61d11c8fc27859
refs/heads/master
2023-03-31T08:57:27.235184
2023-03-19T01:12:21
2023-03-19T01:12:21
6,311,992
1
2
MIT
2018-12-16T02:02:52
2012-10-20T17:59:03
Python
UTF-8
Python
false
false
1,641
py
import os import re import sys import time from operator import itemgetter from fabric.api import local from fabric.api import run from fabric.api import task from fabric.api import sudo from fabric.api import put from fabric.api import env from fabric.api import settings from fabric.api import hide from fabric.contri...
[ "val@neekware.com" ]
val@neekware.com
9d35ed852c0d06a0a8331cb9469ce2bb6b1cce4b
6fa42c2dd3d2fad482e354495ee15616784425e8
/farm_management/lands/models/paddocks.py
ff9517f19bb80fe11a79efe7f6a45050a6e52a78
[ "MIT" ]
permissive
alexanders0/farm-management
ccf74f9a9d99f4d20173e360e6f776288ce636f3
53ed821bbbed312848cf331f8f961ef16c59fb99
refs/heads/main
2023-07-18T08:51:20.876231
2021-09-01T04:22:59
2021-09-01T04:22:59
384,026,009
1
0
null
null
null
null
UTF-8
Python
false
false
716
py
"""Paddocks model.""" # Django from django.db import models # Utilities from farm_management.utils.models import FarmModel class Paddock(FarmModel): """Paddock model.""" name = models.CharField('paddock name', max_length=150) description = models.CharField('paddock description', max_length=150) mea...
[ "alexandersn059@gmail.com" ]
alexandersn059@gmail.com
4867499bf7288a93391ea017ca3fdc81362a0829
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/4/jhm.py
8a63df3857f86c108b49d23e9c21fe4735ab4a02
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
0ff03af25c4cf1f6e46d865b868f3d0af8f04e17
71f8a5841e555d611463fbee6efa1ca2c835455a
/distribution_features.py
20b69589956599b9f64614318f219df7e13d50c8
[]
no_license
bons-ai/NASA
bba28bccc3b793ddae2f18a86aa48a91dcb0a878
bf93d2f0bd05e0740bca66702b0409b8cf697807
refs/heads/master
2020-08-21T09:21:00.597056
2019-10-19T22:09:31
2019-10-19T22:09:31
216,129,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,270
py
import numpy as np from sklearn.decomposition import NMF import matplotlib.pyplot as plt import umap import hdbscan import json filename = "hist_0530_03_09.npy" data = np.load(filename, allow_pickle=True).item() hist = np.array(data["hist"]) h = np.array(data["h"]) pos = np.array(data["pos"]) reducer = umap.UMAP() e...
[ "mohamed.bahdine.1@ulaval.ca" ]
mohamed.bahdine.1@ulaval.ca
ce293f3f21f040c9819e5a37cc9389a60372c6ce
086be2c7d301aee05126964b381ae9a3563183f8
/persistence/memory-map.py
98382a34be776929ddc1304171dd48c29aea34d5
[]
no_license
wkrea/DownTheRabbitHole
fe4ca2aa6141ee482a0f2c649e19243b0431a2f1
60fe7601d1725e7458a882de661fa1412fe37fe3
refs/heads/master
2022-01-29T15:33:53.338936
2019-03-20T19:12:44
2019-03-20T19:12:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,040
py
""" This module writes a matrix of numbers of int and long types to a file in binary format. It mmaps that file, and allows efficient alters-in-place through the api. """ import mmap import struct import os def format_to_size(fmt): if fmt == 'i': return 4 elif fmt == 'l': return 8 def get...
[ "andrew.kelleher@venmo.com" ]
andrew.kelleher@venmo.com
122aa3f61736137c1b3bfcdc6d80491b14a6acbd
e01d9449d415a37f3afa2b20be6ba4fcbfef5650
/Version 2/Menu.py
7d2be37bb7bf944441d923ec5cf9219af0430f8b
[]
no_license
cramos5/Inova-Class-Extraction
082f0c38a48444f9443730a1d127aeb971b4bee0
75e4f2cc4ea16aad13dcdc88cd8b5c85696a00a4
refs/heads/master
2022-02-06T21:46:46.207031
2017-08-03T18:04:28
2017-08-03T18:04:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import os def Menu_Instructions(): print("******************************************************************************") print("Set Up Instructions:\n1) Generate Class Screening Report from Careworks") print("Excel file should have the Class ID in the A Column\n") print("2) Save generated report as ...
[ "cr4mos@gmail.com" ]
cr4mos@gmail.com
a12d1c1d69d2f4a99bc1bedd4191dadd159c9ae1
0d26474cc10de46cfe0dcc45c57ab299c7b515bc
/propagsim/cp/classes.py
825f3b4e324e7af22f83f4d1be99794cdb41fa5e
[ "MIT" ]
permissive
payoto/py-propagsim
3f735283c51764836ae170f391225f7661f57f23
d704796c77bc6c921c5f14fab1e27aaadbdd640e
refs/heads/master
2021-04-20T13:36:42.030817
2020-05-17T01:37:26
2020-05-17T01:37:26
249,688,117
0
0
null
2020-03-24T11:18:35
2020-03-24T11:18:35
null
UTF-8
Python
false
false
26,787
py
import cupy as cp import numpy as np import os, pickle from time import time from utils import get_least_severe_state, squarify, get_square_sampling_probas, get_cell_sampling_probas, vectorized_choice, group_max, append, repeat, sum_by_group class State: def __init__(self, id, name, contagiousity, sensitivity, se...
[ "egregius314@gmail.com" ]
egregius314@gmail.com
224852df1c4b1e762780d1e5dd02015ea14faa4d
5ffd3067814644928625e4dd53323dd8ee986390
/main.py
3dee01369a87bbd63d1859635dcbfc64371e2a7f
[]
no_license
rynkevich/image-filtering
359717b3a60acf7eca317f2de1335fc46241162e
f996b292e7ce4fe76355f2d9d28505f0c591ae9d
refs/heads/master
2020-08-02T00:01:03.453078
2019-09-26T19:41:41
2019-09-26T19:41:41
211,167,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,663
py
import sys import matplotlib.pyplot as plt import imageio import numpy as np from filters import MovingAverageFilter, MedianFilter from filters.EdgeDetectingFilter import EdgeDetectingFilter VALID_ARGC = 3 WINDOW_SIZE = 3 def main(): if len(sys.argv) < VALID_ARGC: print('Usage: main.py <path_to_image> ...
[ "rynkevich@icloud.com" ]
rynkevich@icloud.com
ec886a50104eadb4bb7095b7baddd9867b7f611a
12ac898e8db7ac325e42c9d6c6c875aee78da655
/StockApp/StockQuotes/migrations/0009_buystockmodel.py
5bdc79480f464e464d08fd48054c223caf87ee44
[]
no_license
Teri-Ed/Project-4
121d0e5fcccf89489bbd4d7ec670f57508839dbc
518f47416fe687c8fbc52535fe07a552d969ed9d
refs/heads/main
2023-01-01T20:01:55.988283
2020-10-17T23:13:54
2020-10-17T23:13:54
300,732,534
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
# Generated by Django 3.1.1 on 2020-10-11 23:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('StockQuotes', '0008_auto_20201011_0813'), ] operations = [ migrations.CreateModel( name='BuyStockModel', fields=[ ...
[ "teri.edwards@outlook.com" ]
teri.edwards@outlook.com
ef23d977d1e039a74262aed9f8df4b6a55bfd2df
dd00894931c9d1764bdf129418da1bd7e711fb99
/kb/groups/migrations/0005_group_imported.py
55a4a034ec85004b0eb13c3afd4a5f433d110c36
[]
no_license
johnfelipe/edubox-platform
b8c69112c36d8ec971db1537f18d1e0e1ea7a8c5
d5cdcc351cabb86ae2f36d3eae0921f63d41383c
refs/heads/master
2021-01-18T11:13:20.931521
2016-05-23T15:11:08
2016-05-23T15:11:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('groups', '0004_auto_20160215_1236'), ] operations = [ migrations.AddField( model_name='group', name=...
[ "tim.doolan@gmail.com" ]
tim.doolan@gmail.com
71ad75ed4334334155ffd4dc39edc9241ddd1ede
70ba7a0cf6d1018152fedf2ea1ae3d758eb75571
/bin/python-config
768319652562c971781d1adb69eb490d1dd44575
[]
no_license
alexdsole/venv
a9205d1dd814b44cc5886da26b69c6427e230b93
a8d2f708a33b2ce2bf578d256387b5cc6eff3021
refs/heads/master
2021-01-01T19:14:46.817101
2017-07-27T15:12:50
2017-07-27T15:12:50
98,550,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,363
#!/home/alexis/Documentos/Consensus-master/venv/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 ...
[ "adavisole@gmail.com" ]
adavisole@gmail.com
64111bc8816975c4707095c57cce2ccf946afbdb
39095f7c7fafefcd99589ed77a34d6811c87040f
/scripts/get_south_beach_latest.py
634089860e1d4c42c9cf5c7371ed281e108d4e51
[]
no_license
dlenz/home-assistant-config
03656605e08982f5d851de3c9d9fdca78f6f84d5
19d132ca20a9aabb7b90d115bfd6d499c1fee110
refs/heads/master
2020-03-08T11:30:25.571752
2018-08-10T17:26:21
2018-08-10T17:26:21
128,099,741
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
#!/usr/bin/python3 import urllib3 import json import requests import os http = urllib3.PoolManager() r = http.request('GET', 'http://video-monitoring.com/beachcams/boca/latest.json') latest = json.loads(r.data.decode('utf-8')) base_url = 'http://video-monitoring.com/beachcams/boca/' img_url = latest['s4'...
[ "captainkrypto@gmail.com" ]
captainkrypto@gmail.com
1f93a53a75605cde0bdc649c9dc7878d4fb215bb
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve-8.51.857815/encodings/cp1258.py
f667aa8a98b642a6aa031749d9cd65a1e7e5b80d
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,058
py
#Embedded file name: encodings\cp1258.py """ Python Character Mapping Codec cp1258 generated from 'MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1258.TXT' with gencodec.py. """ import codecs class Codec(codecs.Codec): def encode(self, input, errors = 'strict'): return codecs.charmap_encode(input, errors, encoding_ta...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
8b52332672b8f363f40ce770b90d8da2b98dcd3f
b30a1c6298191571cbfbd9a0be20e1654625e621
/브루트포스/2231_분해합.py
4e7977d8f99e2cc0de4793a366bfca1e2db47b1e
[]
no_license
ChoneungSon/BeakJoon
5b07d58f97b377984d205d6b481289dc2e6041fe
a313848cb657dfa7c63a8ad86789e92f7a491748
refs/heads/master
2021-01-04T16:28:05.892412
2020-07-18T14:43:26
2020-07-18T14:43:26
240,634,502
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import sys n = int(sys.stdin.readline()) for i in range(1, n+1): m = i s = i while m != 0: s += m % 10 m //= 10 if s == n: print(i) break else: print(0)
[ "thschsmd@naver.com" ]
thschsmd@naver.com
d31974c2a03e29a8f1c935202d55f90607461b20
9fac825a83f90b98702f150fbce6a4e5bc06ed1e
/test_mining.py
2593e63dff302ddf63fa57e8a7fda5f087743bba
[]
no_license
jiatujiashuai/PRP
ab3a235e1c8120685a870bdcc0dfdcfe102f6d9b
df7a9507e7d72cc20f9772387b35a65a4e9c3889
refs/heads/master
2020-03-16T15:28:20.695212
2018-05-09T10:48:03
2018-05-09T10:48:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from pymongo import MongoClient def test_mining(Ix,Iy): client=MongoClient('mongodb://172.17.0.3:27017/') encrypted=client.testdata.encrypted N=encrypted.count() transaction=encrypted.find() support_x,support_xy=0,0 for i in range(N): sub_support_x=1 for item in ...
[ "noreply@github.com" ]
jiatujiashuai.noreply@github.com
21a83673b88c2aef4df0eb031e6282b87c5895e0
fbf832e1aafdd6382f11b0e736faf98765acfe6b
/deployRiaz/deployRiaz/urls.py
b6b75d584789a217db9b86723795f79da64ff753
[]
no_license
rashedoz/DeployRiaz
6c8d1f2dcfc782c59b652b219e21dc504ad60591
10465f5c73906417b934acb25c444d6d64074b67
refs/heads/master
2020-03-17T09:09:34.483087
2018-05-15T05:47:06
2018-05-15T05:47:06
133,463,655
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""deployRiaz URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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-ba...
[ "noreply@github.com" ]
rashedoz.noreply@github.com
bf1597e673d16b97b990e25232920df6cf6c03d1
914bfe0f3e735d954436398bd1aa814ba340a6d2
/TubesSA_2Bot.py
d1775ac7906a99fa4c87be4516befd7bca53bab4
[]
no_license
azrielnaufal/Tic-Tac-Toe
d19d86f15499d7642c710bafe5693c3a306851bc
ee6144d715c2cc4cb35e7d149694546e90829123
refs/heads/master
2023-06-05T21:48:18.960345
2021-06-18T10:53:50
2021-06-18T10:53:50
378,116,529
0
0
null
null
null
null
UTF-8
Python
false
false
7,612
py
# MODULES import pygame, sys import numpy as np # initializes pygame pygame.init() # --------- # CONSTANTS # --------- WIDTH = 600 HEIGHT = 600 LINE_WIDTH = 15 # tebal garis WIN_LINE_WIDTH = 15 # tebal coretan garis yg menang BOARD_ROWS = 3 BOARD_COLS = 3 SQUARE_SIZE = 200 # ukuran masing2 kotak -> square_size^2 CIRC...
[ "azrielnaufal31@gmail.com" ]
azrielnaufal31@gmail.com
458d22ef66eb568298b9ede4ccd4c4756804db67
267a5abf4bbff8a1ed3d5732f48e25e105e11b78
/blogsite/blog/templatetags/blog_tags.py
cd97b844e4613a8fc5ee85ffaac3ed2dc7e2cf38
[ "Unlicense" ]
permissive
ch1huizong/dj
e2a32bddd7995b004e9607e35e48601e7f721fce
12009375fc2113acb0a6cb17f6c2146c83595de8
refs/heads/master
2021-01-16T00:56:39.105625
2019-09-08T12:29:02
2019-09-08T12:29:02
99,985,586
21
14
null
null
null
null
UTF-8
Python
false
false
765
py
from django import template from django.db.models import Count from django.utils.safestring import mark_safe import markdown from ..models import Post register = template.Library() @register.simple_tag def total_posts(): return Post.published.count() @register.inclusion_tag('blog/post/latest_posts.html') def...
[ "ch1huizong@gmail.com" ]
ch1huizong@gmail.com
5fa96337586ca8c93425d826c1dcece908de6780
24e44e66561001db25dcb946e74e9a20d0b5744b
/todo/views.py
731477bcf0c3694f001a24ed480b029a52db63ca
[]
no_license
akiyoko/django-todo-sample
07b59c8307caa761be4a87a54da6f61cf9fd7b56
24750c720606e0bc9ad66eeb616727d0e9fd22d6
refs/heads/master
2022-11-07T21:23:16.709629
2020-06-18T10:06:10
2020-06-18T10:06:10
272,105,141
1
0
null
null
null
null
UTF-8
Python
false
false
4,102
py
from django.http import HttpResponse, HttpResponseRedirect from django.http.response import Http404 from django.template.response import TemplateResponse from django.utils import timezone from django.views import View from .forms import TodoForm from .models import Todo # Step 1. はじめての画面表示 # def todo_list(request): ...
[ "akiyoko@users.noreply.github.com" ]
akiyoko@users.noreply.github.com
38e8670b3376dd79368bcd57907d6295d77a0c9f
3bfd1525e55766b02221329020eab0baa09036ff
/examples/constant_inpainting.py
74551ef7f754e323c608aa20c30fee9801db97ea
[ "MIT" ]
permissive
xuanhan863/HyperGAN
937814af8a44412e95386a8bd17833af58f056e3
fa190dba9860a41950f8d769996ebd919e9697c2
refs/heads/master
2021-01-09T07:02:41.761250
2017-02-06T07:45:15
2017-02-06T07:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,756
py
import argparse import os import tensorflow as tf import hypergan as hg import hyperchamber as hc from hypergan.loaders import * from hypergan.samplers.common import * from hypergan.util.globals import * def parse_args(): parser = argparse.ArgumentParser(description='Train a colorizer!', add_help=True) parser...
[ "mikkel@255bits.com" ]
mikkel@255bits.com
ec76c3ab15308cd45355cd44f238050244620355
4f99836d06cc71ad4888acfc21361a3ded073999
/Game_kivy/exceptions.py
8440461635a6d5d566813b8fcb5bf5073838abcd
[]
no_license
akhipachi/Sequence
103d099ace2a959ccb84dd3486f2f137f9214384
6b802a5fac67a3d972c4c7dfbe3239c515e696c7
refs/heads/master
2023-02-15T16:31:13.837885
2021-01-19T06:50:18
2021-01-19T06:50:18
308,256,405
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
class ErrorResponse(Exception): def __init__(self, error): self.error = error def __str__(self): return self.error
[ "akhilesh.pachipulusu@inviz.ai" ]
akhilesh.pachipulusu@inviz.ai
ee10c81d914c61ceb8313da18a0149fd2e9da506
c7930b3f227c73c30d267ab6118cca41cd0af049
/models/vgg.py
79633828e36d218a17b34ee161671f4792bf8132
[ "MIT" ]
permissive
YiteWang/sanity-checking-pruning
bdf7e601a9c16e82605ec3c22e51852adbc02b3f
43d7d81e599365453989319ff163fcefe96166ce
refs/heads/main
2023-01-21T06:39:03.537273
2020-11-14T04:54:48
2020-11-14T04:54:48
312,670,511
0
0
MIT
2020-11-13T19:54:28
2020-11-13T19:54:27
null
UTF-8
Python
false
false
4,334
py
import math import torch.nn as nn import torch.utils.model_zoo as model_zoo import torch.nn.init as init __all__ = [ 'VGG', 'vgg11', 'vgg11_bn', 'vgg13', 'vgg13_bn', 'vgg16', 'vgg16_bn', 'vgg19_bn', 'vgg19', ] model_urls = { 'vgg11': 'https://download.pytorch.org/models/vgg11-bbd30ac9.pth', 'vgg13'...
[ "jtsu@pku.edu.cn" ]
jtsu@pku.edu.cn
3116576a3a811e44915121c8f565c2f67f5a76ce
f23e5cb1e2fdaff2f4a00cdd42ab90ebc5ed05b6
/inst/scripts/fix-realign-cigars
63a711989c4d69dd6c12791294ac922e8e5dc3e1
[]
no_license
lianos/TagSeq-original
9bf5811a50d17b0d64af63223e6e8390cc0f655b
533c5e351d96ff958e2bc1b1ed7828df402cf881
refs/heads/master
2021-01-21T11:09:14.368272
2013-03-18T15:25:45
2013-03-18T15:25:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
#!/usr/bin/env python import sys, os, time, re from optparse import OptionParser ## The hela passeq always has screwed up cigars, so look for alignments with ## X0:i:N (>1) and ghetto-fix the CIGAR (turn it into *) ## 11M1D24M ATTTTTTAAAACCAGAACATTTATGCATGACTAATCGTTG csplit = re.compile('[MIDNSHP=X]') def cigar...
[ "slianoglou@gmail.com" ]
slianoglou@gmail.com
89b392ee7ff15d286ddd6e816437aaed10e248ec
84dc6e07be02942ea837a4c69625dc29a0b09a7d
/support/Text2vec/text2vec.py
1ec19f887b31cb889440a1de3c38f14e21a4bd98
[]
no_license
brandeis-machine-learning/InfectionMechanismSpectrumPrediction
d5cd8724656d431edda7fad95422a6bbbea76bf7
b9f23974e616bca28647060fd7f0e26eeb60f456
refs/heads/main
2023-04-26T18:51:12.443787
2021-05-17T04:25:46
2021-05-17T04:25:46
368,052,954
6
0
null
null
null
null
UTF-8
Python
false
false
5,020
py
import spacy from gensim.corpora import Dictionary from gensim.models.tfidfmodel import TfidfModel from gensim import models from gensim.matutils import sparse2full import numpy as np import en_core_web_sm # text2vec methods class Text2vec: def __init__(self, doc_list): # Initialize self.doc_list ...
[ "43837579+SupremeEthan@users.noreply.github.com" ]
43837579+SupremeEthan@users.noreply.github.com
38417b16bf7a59d6354080a44d9600c00253fe21
ae89c2bade1b22fff40e95f3381627bcbe787c6d
/v1/transactions/migrations/0001_initial.py
08c5b75b49d01afe7a2e516dc42ff6f32a371aef
[]
no_license
kdaang/DigiWallet
c050bc7c865decd912cea9c59434443cf61f2aad
de35b4c974d32d1a09e61a345b83aa541b2b4390
refs/heads/master
2022-04-11T18:22:03.879781
2019-11-24T21:16:11
2019-11-24T21:16:11
250,458,800
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
# Generated by Django 2.2.7 on 2019-11-24 21:00 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...
[ "k9dang@uwaterloo.ca" ]
k9dang@uwaterloo.ca
fe87873efdf8ddedf99385dac9968b5ca8a5cc81
5988e4ff0aa5ce00c99a01baa4a2443730702f85
/neo_browser.py
ac7b343e6d8e04312480c443d0dfa43f6c22aadb
[ "MIT" ]
permissive
bhavyejain/Gtk-Web-Browser
83309c1671d4c248fbc11837b823e195cbbe17e7
26679a6df8d244fa1cca8ef081a874b02e3a8abc
refs/heads/master
2021-04-13T14:00:55.806585
2020-04-14T16:05:55
2020-04-14T16:05:55
249,167,167
14
0
null
2020-04-14T16:05:57
2020-03-22T11:16:21
Python
UTF-8
Python
false
false
6,946
py
import sys, gi gi.require_version("Gtk", "3.0") # GUI toolkit gi.require_version("WebKit2", "4.0") # Web content engine from gi.repository import Gtk, WebKit2 as wk, Gdk class BrowserTab(Gtk.VBox): def __init__(self, *args, **kwargs): super(BrowserTab, self).__init__(*args, **kwargs) self.web_view = wk.WebVie...
[ "bhavyej@gmail.com" ]
bhavyej@gmail.com
a0be47879aef7af642c28d7f1fe56f99159dcbc8
959c99759d3d3193214014be1afa34139f71a6d8
/Final Version of Files For Submission/Final Project/BS/bp_searching_cs.py
13e6a2c2ff1eaf3f0cfa7a7089e1410bf561edf6
[ "MIT" ]
permissive
tmstew/BIOPHYS535_FinalProject
1d45ae572834c5960839b38811ed8ee5709e8994
bf9e01061c069a7e4fb3b6b914aea252281a6026
refs/heads/master
2020-09-25T05:58:24.320811
2019-12-19T22:19:53
2019-12-19T22:19:53
225,932,968
0
0
null
null
null
null
UTF-8
Python
false
false
10,595
py
## Import Module import matplotlib.pyplot as plt import seaborn as sns; sns.set() import pandas as pd import numpy as np import io from sklearn import datasets, svm, metrics from sklearn.preprocessing import StandardScaler from sklearn.metrics import recall_score, precision_score #####################################...
[ "tmstew@umich.edu" ]
tmstew@umich.edu
13fd535e5dd8e09176eba5070f563b0da2312211
8f6fcca948676e9d4a4c362aec0256370a1f398b
/map_render.py
7d33e019be00c73f7ae7356cb22d0342b14b1de6
[]
no_license
MishaBlin/openworld
f537fdefdbf5df8ee0c0ddab5554153cd40abbf7
bf154dedf50ed082110f8823c77c61df6274ed63
refs/heads/main
2023-02-20T00:48:20.054869
2021-01-19T12:35:08
2021-01-19T12:35:08
321,373,496
0
0
null
null
null
null
UTF-8
Python
false
false
1,807
py
import pygame as pg import pytmx # rendering tiled map using pytmx class TiledMap: def __init__(self, filename): tm = pytmx.load_pygame(filename, pixelalpha=True) self.width = tm.width * tm.tilewidth self.height = tm.height * tm.tileheight self.tmxdata = tm self.players = p...
[ "wildline007@gmail.com" ]
wildline007@gmail.com
156e0b33b99981c5f144b23232e2749c57a87a7e
e1384aec11135fa637e71c5d36da0b206f1b07fa
/contacts/models.py
fdfd2cceda8ccd5bf74ce81df7403e311194f6b5
[]
no_license
kartik6314/job-portal
4ff88a62e9101e5f1e611bbd4825cf4e3874a5aa
84066ca90fbade4d05996c30e8e155cb01129db7
refs/heads/main
2023-08-03T19:03:08.516253
2021-09-14T18:04:45
2021-09-14T18:04:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
from django.db import models from datetime import datetime class Contact(models.Model): name = models.CharField(max_length=200) company = models.CharField(max_length=200) email = models.CharField(max_length=100) phone = models.CharField(max_length=11) message = models.TextField(blank=True) contact_date = m...
[ "carishmashukla28@gmail.com" ]
carishmashukla28@gmail.com
507b1409dc6c2548f529d93f171e1fdb6ae4e318
453d7073cdc9879d956121153f497a83ec19163e
/kpis/tests/test_informe_diario.py
5f5c2f3e41a4590b79384e58f598426454ecfa6b
[]
no_license
Amalio769/kpis_mto
3a3c876e1a426b229d3d2f0e2509d531d06b335e
3f6349305375fb1f8c83fbc1171af9fdd8b3a098
refs/heads/master
2023-08-12T16:42:44.312130
2021-10-18T07:40:48
2021-10-18T07:40:48
338,812,564
1
0
null
2021-03-07T16:35:04
2021-02-14T13:33:30
Python
UTF-8
Python
false
false
809
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 19 07:44:50 2020 @author: C48142 """ def main(): import kpis.informes.diario.salida_datos as ids import kpis.sap.zpm_report_mwo as sap import kpis.configuracion.config as cfg import webbrowser as wb FECHA_INI = "01.1.2021" FECHA_FIN = "26.1.2...
[ "amalio.rete-campos@airbus.com" ]
amalio.rete-campos@airbus.com
766956fc40e2c93a1afa43d910b29d9b6d749831
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-websecurityscanner/samples/generated_samples/websecurityscanner_v1_generated_web_security_scanner_update_scan_config_async.py
bcab5c5d095e78bf4ae184ce23a736eefcdfd98a
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
1,919
py
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
googleapis.noreply@github.com
55db07ef1eae861e716bde77d0c564237dfd8e5d
7247081afd8bb48f7986667682c71f80d3e07282
/aula1_3.py
5f532e692ed152efff0f4dacba5d7c87e8e6b591
[]
no_license
flaviogpacheco/python-520
7518acb86ff76f3fda16bf9e6efdda9aca8f22d9
b89592135536386f0505e5cdc9ec3623fd5f67a8
refs/heads/master
2020-04-22T18:56:04.116634
2019-02-21T01:28:15
2019-02-21T01:28:15
170,592,243
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#!/usr/bin/python3 # ==, !=, <, <=, >, >= # Se o numero resultado da soma for maior 100 # Escrever: "Que numero grandão..." # Caso contrário: "Que numero pequeno..." n1 = int(input('Digite o primeiro número: ')) n2 = int(input('Digite o segundo número: ')) n3 = n1 + n2 print(n3) if n3 > 100: print('Que número...
[ "flaviogpacheco@hotmail.com" ]
flaviogpacheco@hotmail.com
667b07d36ccd852870139d650b98432ed3d4a7dd
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2600/60667/294166.py
b8720ad05b9b04434393c63233f70af47f569c70
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
553
py
n = int(input()) nums = list(map(int, input().split())) sequence = list(map(int, input().split())) temp = [] for i in range(n): temp.append(sequence.index(i+1)) temp.sort() nums[sequence.index(i+1)] = 0 maximum = 0 first = sum(nums[:temp[0]]) if first > maximum: maximum = first last ...
[ "1069583789@qq.com" ]
1069583789@qq.com
a4abc79e2a76dcc110d7c8a6cf7736b6fad9ebb6
92e290932cba0e045c86b26de13fcc902e920d83
/demo/bbxpy/image.py
6728dda0528de2685e0e0386dbf68267b1cce8f6
[]
no_license
HorizonXP/blackberry-py
4f9615f2637c1e9bc81b712172c41d13ce6e1726
ee9823b5f1ce1efa6531005df60b246a4147c4a2
refs/heads/master
2020-05-27T13:08:56.497247
2013-08-30T06:56:03
2013-08-30T06:56:03
7,714,244
2
1
null
2013-08-29T08:57:05
2013-01-20T08:27:19
Python
UTF-8
Python
false
false
4,595
py
'''Image class to load and render bitmaps.''' from ctypes import byref, cast, c_int, c_void_p, POINTER void_pp = POINTER(c_void_p) from bbxpy.wrapped.screen import * from bbxpy.wrapped.img import * __all__ = ['Image'] class Image: def __init__(self, context): self._context = context self._pixma...
[ "peter@engcorp.com" ]
peter@engcorp.com
0dac028769558b54b1030538c2ae3e7f30479254
2713e8a47e68d82907a4cedc6434ef1cd72d85e7
/fluo/utils/deprecation.py
8f56b3a293d5e5bcbba61f25294e1dd2bf7c043e
[ "MIT" ]
permissive
rsalmaso/django-fluo
a283b8f75769ac6e57fa321c607819899e0c31c8
24b9f36e85b247ea209b9c40b17599e7731f5ded
refs/heads/main
2023-01-12T01:37:06.975318
2022-12-30T22:08:40
2022-12-30T22:08:40
48,948,936
1
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
# Copyright (C) 2007-2022, Raffaele Salmaso <raffaele@salmaso.org> # # 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 rights # to use, cop...
[ "raffaele@salmaso.org" ]
raffaele@salmaso.org