Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.479.237 Times

Function Decorator freeware
Filter: All | Freeware | Demo
 

Function Decorator

1 2 3 4 5 > 
Added: May 10, 2013 | Visits: 316

ProtectUTF8 protect_utf8 is a function decorator that can prevent naive functions from breaking UTF-8. If the wrapped function takes a string, and that string happens to be valid UTF-8, converts it to a unicode object and call the wrapped function. If a conversion was done and if a unicode object was... Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (58): ProtectUTF8 Download

Added: May 10, 2013 | Visits: 365

Quickslice decorator This script defines a decorator that allows for an abbreviated slice syntax in function arguments: {start:end}. Step is notsupported. Valid quickslices are dictionaries with a single integer key which has an integer value. Arguments can be strings or integers, and indicate the positional or... Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (52): Quickslice decorator Download

Added: May 10, 2013 | Visits: 392

Automatic argument type conversion This decorator can be used to cast argument types automatically, using a pre-specified list of types, when a function is called. Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (53): Automatic argument type conversion Download

Added: May 10, 2013 | Visits: 627

Tail Call Optimization Decorator This function decorates a function with tail call optimization. It does this by throwing an exception if it is it's own grandparent, and catching such exceptions to fake the tail call optimization. This function fails if the decorated function recurses in a non-tail contexif the de /> Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (56): Tail Call Optimization Decorator Download

Added: May 10, 2013 | Visits: 570

Python symbols Python symbols is a toy module that shows a way to define symbols inside functions, using a decorator. Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (52): Python symbols Download

Added: October 24, 2013 | Visits: 331

nmevent This is a Python module :mod:`nmevent`, simple C#-like implementation of the Observer pattern (http://en.wikipedia.org/wiki/Observer_pattern). It's main purpose and goal is to allow developers to use events with C#-like syntax in their Python classes. ============= Usage example =============... Platforms: *nix

License: Freeware Size: 81.92 KB Download (38): nmevent Download

Added: June 08, 2013 | Visits: 436

PyLRU A least recently used (LRU) cache for Python. Pylru implements a true LRU cache along with several support classes. The cache is efficient and written in pure Python. It works with Python 2.6+ including the new 3.x series. Basic operations (lookup, insert, delete) all run in a constant amount of... Platforms: *nix

License: Freeware Size: 10.24 KB Download (39): PyLRU Download

Added: May 10, 2013 | Visits: 444

Public and protected attribute access This script presents a way to introduce proper attribute access protection levels using a generic proxy object. By default all attributes are "protected" in the C sense and can be declared as public using either a function decorator or a class attribute. Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (49): Public and protected attribute access Download

Added: May 10, 2013 | Visits: 388

Type-checking decorator This is a decorator that lets you annotate function definitions with argument type requirements. These type requirements are automatically checked by the system at function invocation time. The decorator frees you from writing type-checking boilerplate code by hand. Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (52): Type-checking decorator Download

Added: May 10, 2013 | Visits: 576

Finding the value passed to a function by name Sometimes inside a decorator that creates a function with a generic (*args, **kwargs) signature, you want to access a value passed for a particular parameter name to a wrapped function, but don't know whether that value will be passed as a positional or keyword argument, or whether the wrapped... Platforms: Windows, Mac, *nix, Python, BSD Solaris


Added: May 10, 2013 | Visits: 523

Decorator for main method Decorator for main method script shows how to do the same thing with a decorator that makes the code much cleaner.This allows option and argument parsing to be hidden from the main code in your program. The user simply passes an optional getopt string and the number of required arguments. Then... Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (55): Decorator for main method Download

Added: May 10, 2013 | Visits: 481

Caching decorator with timeout invalidation This script is a caching decorator that  collects garbage in a separate thread (for performance).It allows each cached function to (optionally) set a custom maximum age for entries, and allows individual cache entries to be selectiries, andlidated.This kind of caching decorator is often useful... Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (52): Caching decorator with timeout invalidation Download

Added: May 10, 2013 | Visits: 448

Property decorator for python Defining a property involves the definition of nested functions for one or more of fget,fset,fdel. The decorator probes the decorated function, captures its locals() just before it returns and looks for the names "fget", "fset" and "fdel". The found values, along with the function's docstring are... Platforms: Windows, Mac, *nix, Python, BSD Solaris

License: Freeware Download (51): Property decorator for python Download

Added: October 25, 2013 | Visits: 444

entrypoint A decorator to interact with argparse based on function signature. This is a decorator library that helps one to write small scripts in Python. There are three main features that it provides: * Automatically running a function when a script is called directly, but not when it is included as... Platforms: *nix

License: Freeware Size: 10.24 KB Download (41): entrypoint Download

Added: July 16, 2013 | Visits: 386

opterator Easy option parsing introspected from function signature opterator is a decorator for a script's main entry point that uses a function function signature and docstring to pseudo-automatically create an option parser. When invoked, the option parser automatically maps command-line arguments to... Platforms: *nix

License: Freeware Size: 10.24 KB Download (35): opterator Download

Added: May 11, 2010 | Visits: 1.165

CoreLinux++ Function Load Library CoreLinux++ Function Load Library (libclfll++) takes advantage of the abstract Library Load framework in the CoreLinux libclfw++ library by providing management of loading Linux shared libraries. Application developers define function objects as wrappers and can then dynamically load the... Platforms: *nix

License: Freeware Size: 93.18 KB Download (95): CoreLinux++ Function Load Library Download

Added: October 19, 2010 | Visits: 905

Getopt::Function Getopt::Function is a Perl module to provide mixed options with help information. SYNOPSIS use Getopt::Function qw(maketrue makevalue); $::opthandler = new Getopt::Function [ ], { => [ , , ] } $result = GetOptions (...option-descriptions...); $::opthandler->std_opts;... Platforms: *nix

License: Freeware Size: 13.31 KB Download (92): Getopt::Function Download

Released: August 23, 2012  |  Added: August 23, 2012 | Visits: 709

Function Plot 2D Function Plot 2D is a small, simple, Java based application specially designed to help you create function plots. Function Plot 2D lets you create a 2D plot, all you need to do is give an input function. for WindowsAll Platforms: Windows

License: Freeware Download (443): Function Plot 2D Download

Released: August 23, 2012  |  Added: August 23, 2012 | Visits: 756

Function Plot 2D with Sections Function Plot 2D with Sections is a small, simple, Java based application specially designed to help you create function plots. Function Plot 2D lets you create a 2D plot, all you need to do is give an input function. for WindowsAll Platforms: Windows

License: Freeware Download (449): Function Plot 2D with Sections Download

Released: July 16, 2012  |  Added: July 16, 2012 | Visits: 797

NH's Function Point Analyzer With NH's Function Point Analyzer it is easy to get a quick and clear documentation of function point countings according to IFPUG (International Function Point Users Group) standard 4.2. While counting, you will record functions and databases in NH's Function Point Analyzer and the function... Platforms: Windows

License: Freeware Size: 778.24 KB Download (51): NH's Function Point Analyzer Download

1 2 3 4 5 >