code
stringlengths
1
1.72M
language
stringclasses
1 value
#!/usr/bin/env python2.5 __author__ = "Fabian Rothfuchs" __license__ = "GNU General Public License v2" __version__ = "$Revision: 1.03 $" import MySQLdb import os.path from optparse import OptionParser from shutil import copyfile class NFOgen: def __init__(self): """constructor""" self.writeCo...
Python
#!/usr/bin/env python2.5 __author__ = "Fabian Rothfuchs" __license__ = "GNU General Public License v2" __version__ = "$Revision: 1.03 $" import MySQLdb import os.path from optparse import OptionParser from shutil import copyfile class NFOgen: def __init__(self): """constructor""" self.writeCo...
Python
"""Search for lines >= 80 chars or with trailing whitespace.""" import os import sys def main(): args = sys.argv[1:] or os.curdir for arg in args: if os.path.isdir(arg): for dn, dirs, files in os.walk(arg): for fn in sorted(files): if fn.endswith('.py')...
Python
"""Test service that accepts connections and reads all data off them.""" import argparse import os import sys from asyncio import * ARGS = argparse.ArgumentParser(description="TCP data sink example.") ARGS.add_argument( '--tls', action='store_true', dest='tls', default=False, help='Use TLS with a self-signed...
Python
#!/usr/bin/env python3 """Example showing how to attach a read pipe to a subprocess.""" import asyncio import os, sys code = """ import os, sys fd = int(sys.argv[1]) os.write(fd, b'data') os.close(fd) """ loop = asyncio.get_event_loop() @asyncio.coroutine def task(): rfd, wfd = os.pipe() args = [sys.executab...
Python
"""Client for cache server. See cachesvr.py for protocol description. """ import argparse import asyncio from asyncio import test_utils import json import logging ARGS = argparse.ArgumentParser(description='Cache client example.') ARGS.add_argument( '--tls', action='store_true', dest='tls', default=False, he...
Python
#!/usr/bin/env python3 """Example showing how to attach a write pipe to a subprocess.""" import asyncio import os, sys from asyncio import subprocess code = """ import os, sys fd = int(sys.argv[1]) data = os.read(fd, 1024) sys.stdout.buffer.write(data) """ loop = asyncio.get_event_loop() @asyncio.coroutine def task(...
Python
""" Example of asynchronous interaction with a child python process. This example shows how to attach an existing Popen object and use the low level transport-protocol API. See shell.py and subprocess_shell.py for higher level examples. """ import os import sys try: import asyncio except ImportError: # async...
Python
#!/usr/bin/env python3 """UDP echo example.""" import argparse import sys import asyncio try: import signal except ImportError: signal = None class MyServerUdpEchoProtocol: def connection_made(self, transport): print('start', transport) self.transport = transport def datagram_receive...
Python
"""Like source.py, but uses streams.""" import argparse import sys from asyncio import * from asyncio import test_utils ARGS = argparse.ArgumentParser(description="TCP data sink example.") ARGS.add_argument( '--tls', action='store_true', dest='tls', default=False, help='Use TLS') ARGS.add_argument( '--io...
Python
"""Fetch one URL and write its content to stdout. This version adds URL parsing (including SSL) and a Response object. """ import sys import urllib.parse from asyncio import * class Response: def __init__(self, verbose=True): self.verbose = verbose self.http_version = None # 'HTTP/1.1' ...
Python
"""Simplest possible HTTP client.""" import sys from asyncio import * @coroutine def fetch(): r, w = yield from open_connection('python.org', 80) request = 'GET / HTTP/1.0\r\n\r\n' print('>', request, file=sys.stderr) w.write(request.encode('latin-1')) while True: line = yield from r.rea...
Python
#!/usr/bin/env python3 """Fuzz tester for as_completed(), by Glenn Langford.""" import asyncio import itertools import random import sys @asyncio.coroutine def sleeper(time): yield from asyncio.sleep(time) return time @asyncio.coroutine def watcher(tasks,delay=False): res = [] for t in asyncio.as_co...
Python
"""Print 'Hello World' every two seconds, using a coroutine.""" import asyncio @asyncio.coroutine def greet_every_two_seconds(): while True: print('Hello World') yield from asyncio.sleep(2) if __name__ == '__main__': loop = asyncio.get_event_loop() try: loop.run_until_complete(g...
Python
import asyncio @asyncio.coroutine def echo_server(): yield from asyncio.start_server(handle_connection, 'localhost', 8000) @asyncio.coroutine def handle_connection(reader, writer): while True: data = yield from reader.read(8192) if not data: break writer.write(data) loop =...
Python
""" Example of a simple TCP server that is written in (mostly) coroutine style and uses asyncio.streams.start_server() and asyncio.streams.open_connection(). Note that running this example starts both the TCP server and client in the same process. It listens on port 1234 on 127.0.0.1, so it will fail if this port is ...
Python
"""A simple memcache-like server. The basic data structure maintained is a single in-memory dictionary mapping string keys to string values, with operations get, set and delete. (Both keys and values may contain Unicode.) This is a TCP server listening on port 54321. There is no authentication. Requests provide an...
Python
"""Examples using create_subprocess_exec() and create_subprocess_shell().""" import asyncio import signal from asyncio.subprocess import PIPE @asyncio.coroutine def cat(loop): proc = yield from asyncio.create_subprocess_shell("cat", stdin=PIPE, ...
Python
"""Fetch one URL and write its content to stdout. This version adds a Request object. """ import sys import urllib.parse from http.client import BadStatusLine from asyncio import * class Request: def __init__(self, url, verbose=True): self.url = url self.verbose = verbose self.parts = ...
Python
#!/usr/bin/env python3.4 """A simple web crawler.""" # TODO: # - More organized logging (with task ID or URL?). # - Use logging module for Logger. # - KeyboardInterrupt in HTML parsing may hang or report unretrieved error. # - Support gzip encoding. # - Close connection if HTTP/1.0 response. # - Add timeouts. (E.g. ...
Python
import asyncio END = b'Bye-bye!\n' @asyncio.coroutine def echo_client(): reader, writer = yield from asyncio.open_connection('localhost', 8000) writer.write(b'Hello, world\n') writer.write(b'What a fine day it is.\n') writer.write(END) while True: line = yield from reader.readline() ...
Python
"""Crude demo for print_stack().""" from asyncio import * @coroutine def helper(r): print('--- helper ---') for t in Task.all_tasks(): t.print_stack() print('--- end helper ---') line = yield from r.readline() 1/0 return line def doit(): l = get_event_loop() lr = l.run_until...
Python
#!/usr/bin/env python3 """TCP echo server example.""" import argparse import asyncio import sys try: import signal except ImportError: signal = None class EchoServer(asyncio.Protocol): TIMEOUT = 5.0 def timeout(self): print('connection timeout, closing.') self.transport.close() ...
Python
""" A variant of simple_tcp_server.py that measures the time it takes to send N messages for a range of N. (This was O(N**2) in a previous version of Tulip.) Note that running this example starts both the TCP server and client in the same process. It listens on port 1234 on 127.0.0.1, so it will fail if this port is...
Python
"""Fetch one URL and write its content to stdout. This version adds a primitive connection pool, redirect following and chunked transfer-encoding. It also supports a --iocp flag. """ import sys import urllib.parse from http.client import BadStatusLine from asyncio import * class ConnectionPool: # TODO: Lockin...
Python
"""Print 'Hello World' every two seconds, using a callback.""" import asyncio def print_and_repeat(loop): print('Hello World') loop.call_later(2, print_and_repeat, loop) if __name__ == '__main__': loop = asyncio.get_event_loop() print_and_repeat(loop) try: loop.run_forever() finally...
Python
"""Example writing to and reading from a subprocess at the same time using tasks.""" import asyncio import os from asyncio.subprocess import PIPE @asyncio.coroutine def send_input(writer, input): try: for line in input: print('sending', len(line), 'bytes') writer.write(line) ...
Python
"""Test client that connects and sends infinite data.""" import argparse import sys from asyncio import * from asyncio import test_utils ARGS = argparse.ArgumentParser(description="TCP data sink example.") ARGS.add_argument( '--tls', action='store_true', dest='tls', default=False, help='Use TLS') ARGS.add_a...
Python
import os try: from setuptools import setup, Extension except ImportError: # Use distutils.core as a fallback. # We won't be able to build the Wheel file on Windows. from distutils.core import setup, Extension extensions = [] if os.name == 'nt': ext = Extension( 'asyncio._overlapped', ['ove...
Python
import os if __name__ == '__main__': while True: buf = os.read(0, 1024) if not buf: break os.write(1, buf)
Python
import os if __name__ == '__main__': buf = os.read(0, 1024) os.write(1, b'OUT:'+buf) os.write(2, b'ERR:'+buf)
Python
import os if __name__ == '__main__': while True: buf = os.read(0, 1024) if not buf: break try: os.write(1, b'OUT:'+buf) except OSError as ex: os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))
Python
"""Run Tulip unittests. Usage: python3 runtests.py [flags] [pattern] ... Patterns are matched against the fully qualified name of the test, including package, module, class and method, e.g. 'tests.test_events.PolicyTests.testPolicy'. For full help, try --help. runtests.py --coverage is equivalent of: $(COVERAG...
Python
"""Selectors module. This module allows high-level and efficient I/O multiplexing, built upon the `select` module primitives. """ from abc import ABCMeta, abstractmethod from collections import namedtuple, Mapping import math import select import sys # generic events, that must be mapped to implementation-specific...
Python
"""Base implementation of event loop. The event loop can be broken up into a multiplexer (the part responsible for notifying us of IO events) and the event loop proper, which wraps a multiplexer with functionality for scheduling callbacks, immediately or at a given time in the future. Whenever a public API takes a ca...
Python
""" Various Windows specific bits and pieces """ import sys if sys.platform != 'win32': # pragma: no cover raise ImportError('win32 only') import socket import itertools import msvcrt import os import subprocess import tempfile import _winapi __all__ = ['socketpair', 'pipe', 'Popen', 'PIPE', 'PipeHandle'] #...
Python
__all__ = ['coroutine', 'iscoroutinefunction', 'iscoroutine'] import functools import inspect import opcode import os import sys import traceback import types from . import events from . import futures from .log import logger # Opcode of "yield from" instruction _YIELD_FROM = opcode.opmap['YIELD_FROM'] ...
Python
"""Event loop using a selector and related classes. A selector is a "notify-when-ready" multiplexer. For a subclass which also includes support for signal handling, see the unix_events sub-module. """ __all__ = ['BaseSelectorEventLoop'] import collections import errno import socket try: import ssl except Import...
Python
"""Stream-related things.""" __all__ = ['StreamReader', 'StreamWriter', 'StreamReaderProtocol', 'open_connection', 'start_server', 'IncompleteReadError', ] import socket if hasattr(socket, 'AF_UNIX'): __all__.extend(['open_unix_connection', 'start_unix_server']) from . import co...
Python
"""Synchronization primitives.""" __all__ = ['Lock', 'Event', 'Condition', 'Semaphore', 'BoundedSemaphore'] import collections from . import events from . import futures from .coroutines import coroutine class _ContextManager: """Context manager. This enables the following idiom for acquiring and releasin...
Python
"""Queues""" __all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'JoinableQueue', 'QueueFull', 'QueueEmpty'] import collections import heapq from . import events from . import futures from . import locks from .tasks import coroutine class QueueEmpty(Exception): 'Exception raised by Queue.get(block=0)/...
Python
"""A Future class similar to the one in PEP 3148.""" __all__ = ['CancelledError', 'TimeoutError', 'InvalidStateError', 'Future', 'wrap_future', ] import concurrent.futures._base import logging import sys import traceback from . import events # States for Future. _PENDING = 'PENDING'...
Python
"""Logging configuration.""" import logging # Name the logger after the package. logger = logging.getLogger(__package__)
Python
"""Selector and proactor event loops for Windows.""" import _winapi import errno import math import socket import struct import weakref from . import events from . import base_subprocess from . import futures from . import proactor_events from . import selector_events from . import tasks from . import windows_utils f...
Python
import collections import subprocess from . import protocols from . import transports from .coroutines import coroutine class BaseSubprocessTransport(transports.SubprocessTransport): def __init__(self, loop, protocol, args, shell, stdin, stdout, stderr, bufsize, extra=None, **k...
Python
"""Constants.""" # After the connection is lost, log warnings after this many write()s. LOG_THRESHOLD_FOR_CONNLOST_WRITES = 5 # Seconds to wait before retrying accept(). ACCEPT_RETRY_DELAY = 1
Python
__all__ = ['create_subprocess_exec', 'create_subprocess_shell'] import collections import subprocess from . import events from . import futures from . import protocols from . import streams from . import tasks from .coroutines import coroutine PIPE = subprocess.PIPE STDOUT = subprocess.STDOUT DEVNULL = subprocess.D...
Python
"""Abstract Protocol class.""" __all__ = ['BaseProtocol', 'Protocol', 'DatagramProtocol', 'SubprocessProtocol'] class BaseProtocol: """Common base class for protocol interfaces. Usually user implements protocols that derived from BaseProtocol like Protocol or ProcessProtocol. The only ca...
Python
"""Support for tasks, coroutines and the scheduler.""" __all__ = ['Task', 'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED', 'wait', 'wait_for', 'as_completed', 'sleep', 'async', 'gather', 'shield', ] import concurrent.futures import functools import inspect import line...
Python
"""The asyncio package, tracking PEP 3156.""" import sys # The selectors module is in the stdlib in Python 3.4 but not in 3.3. # Do this first, so the other submodules can use "from . import selectors". # Prefer asyncio/selectors.py over the stdlib one, as ours may be newer. try: from . import selectors except Im...
Python
"""Abstract Transport class.""" import sys _PY34 = sys.version_info >= (3, 4) __all__ = ['BaseTransport', 'ReadTransport', 'WriteTransport', 'Transport', 'DatagramTransport', 'SubprocessTransport', ] class BaseTransport: """Base class for transports.""" def __init__(self, extra=None)...
Python
"""Selector event loop for Unix with signal handling.""" import errno import fcntl import os import signal import socket import stat import subprocess import sys import threading from . import base_events from . import base_subprocess from . import constants from . import events from . import selector_events from . ...
Python
"""Event loop and event loop policy.""" __all__ = ['AbstractEventLoopPolicy', 'AbstractEventLoop', 'AbstractServer', 'Handle', 'TimerHandle', 'get_event_loop_policy', 'set_event_loop_policy', 'get_event_loop', 'set_event_loop', 'new_event_loop', 'get_child_watcher...
Python
"""Event loop using a proactor and related classes. A proactor is a "notify-on-completion" multiplexer. Currently a proactor is only implemented on Windows with IOCP. """ __all__ = ['BaseProactorEventLoop'] import socket from . import base_events from . import constants from . import futures from . import transpor...
Python
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "FilmSiteProject.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
Python
# Django settings for FilmSiteProject project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. 'NAME': '...
Python
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: # url(r'^$', 'FilmSiteProject.views.home', name='home'), # url(r'^FilmSiteProject/', include('FilmSiteProject...
Python
""" WSGI config for FilmSiteProject project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLIC...
Python
# -*- coding: utf-8 -*- from django.db import models from django.contrib.auth.models import User import datetime # Create your models here. class Category(models.Model): pid = models.IntegerField(default=0) oid = models.IntegerField(default=0) name = models.CharField(max_length=20) class Meta: ...
Python
# -*- coding: utf-8 -*- """ This file demonstrates writing tests using the unittest module. These will pass when you run "manage.py test". Replace this with more appropriate tests for your application. """ from django.test import TestCase import random import datetime from filmsite.models import Category from films...
Python
''' Created on 2013-4-16 @author: Crazy ''' from django.conf.urls import patterns, url from filmsite import views urlpatterns = patterns('', url(r'^$', views.index, name='index'), url(r'^category/(?P<category_id>\d+)/$', views.category_page, name='category_page'), url(r'^detail/(?P<video_id...
Python
# -*- coding: utf-8 -*- # Create your views here. from django.http import HttpResponse def index(request): return HttpResponse("this is a index") def category_page(request, category_id): return HttpResponse("this is a category %s page" % category_id) def video_page(request, video_id): return HttpRespons...
Python
from django.contrib import admin from django.contrib.auth.models import User from filmsite.models import Category from filmsite.models import Video from filmsite.models import Url from filmsite.models import Account from filmsite.models import Comment from filmsite.models import Problem from filmsite.models i...
Python
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "FilmSiteProject.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
Python
class input(object): def __init__(self): pass; def warp(self,x,y): pass; def press(self,button): # button = 0 left, 1 middle, 2 right pass; def release(self,button): pass; def click(self,button): pass; class output(object): def __init__(self): pass; def resolution(self): pass; class controller(ob...
Python
import base; import win32api; import win32con; from ctypes import windll; import time; class input(base.input): def __init__(self): self.etbl = ( win32con.MOUSEEVENTF_LEFTDOWN, win32con.MOUSEEVENTF_LEFTUP, win32con.MOUSEEVENTF_MIDDLEDOWN, win32con.MOUSEEVENTF_MIDDLEUP, win32con.MOUSEEVENTF_RIGHTDOWN,...
Python
import base; import Xlib.display; import Xlib.X; import Xlib.XK; import Xlib.error; import Xlib.ext.xtest; class input(base.input): def __init__(self): self.display = Xlib.display.Display(); self.screen = self.display.screen(); self.root = self.screen.root; def warp(self,x,y): self.root.warp_pointer(x,y); ...
Python
import base; class input(base.input): def __init__(self): print 'init()'; def warp(self,x,y): print 'warp('+str(x)+','+str(x)+')'; def press(self,button): print 'press('+str(button)+')'; def release(self,button): print 'release('+str(button)+')'; def click(self,button): self.press(button); self.releas...
Python
try: from iolib.x import input, output; except ImportError: try: from iolib.win import input, output; except ImportError: from iolib.dump import input, output; from iolib.base import controller; import math, time; ctl = controller(input,output); resolution = ctl.output.resolution(); print 'resolution:',resolut...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
import urllib from google.appengine.api import urlfetch """ Adapted from http://pypi.python.org/pypi/recaptcha-client to use with Google App Engine by Joscha Feth <joscha@feth.com> Version 0.1 """ API_SSL_SERVER ="https://api-secure.recaptcha.net" API_SERVER ="http://api.recaptcha.net" VERIFY_SE...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Carrasco <jose.carrasco[a]vikuit.com> # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero Gener...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free S...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Néstor Salceda <nestor.salceda at gmail dot com> # (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms ...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Ignacio Andreu <plunchete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free S...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free So...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- # # (C) Copyright 2008 Alberto Gimeno <gimenete at gmail dot com> # # This file is part of "debug_mode_on". # # "debug_mode_on" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free So...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation...
Python
#!/usr/bin/python # -*- coding: utf-8 -*- ## # (C) Copyright 2011 Jose Blanco <jose.blanco[a]vikuit.com> # # This file is part of "vikuit". # # "vikuit" is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software ...
Python