Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
Hotel Management System Restaurant Version 5.25
Azizi search engine script PHP 4.1.10
Travel Booking script 1.0.4
Chessgra 1.1
Keno Game 1.I
VChess 6.x-1.x-dev
Killer Guestbook Script 1.1
RLS Algorithm Demo 1.0
PHP MLM Software 2.0.1
College Management System Script 1.0.4
Spider(rader) Chart for Multi Data 1.0
Simple Radar_system_simulation 1.0
The Spherical K-means algorithm 1.0
Discrete Frechet Distance 1.0
AJ Matrix v2.6
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Decorators for adding aliases to methods in a class 
File ID: 64411






Decorators for adding aliases to methods in a class 
Download Decorators for adding aliases to methods in a class http://code.activestate.com/recipes/577659-decorators-for-adding-aliases-to-methods-in-a-clas/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 14
Submit Rating:
Decorators for adding aliases to methods in a class  Description
Description: The following recipe can be used as a means to adding aliases to methods in a class.

License: Freeware

Related: Alias, decorator

O/S:Windows

Downloads: 14



More Similar Code

If you need


to define named tuple subclasses (including reusable abstract ones), adding/overriding some methods, in a convenient way;
to have the named tuple ABC (abstract base class) for isinstance/issubclass tests;
or simply would like to define your named tuple classes in a class-syntax-based and DRY way (without repeating type names...)


-- this recipe is for you.



PHPCodeWizard is a development environment for managing access to data in a database.
The idea underlying the system is to create Web applications for managing information, absolutely original, without writing a single line of code.



Synchronizes access to methods of a class with either an instance or class specific
lock.



The alias metaclass allows a declarative way of creating aliases to attributes on a class. The main purpose of which is to adapt classes for duck-typing (see doc-string for me detail).



In a Class of its own - the .NET Zip Library is a web based tutorial in which users can gather information about compressing and uncompressing the zip archieves through .NET Zip Library in ASP.NET, which is one of the omitted class in .NET frame...



This algorithm searches for more than one element in a list. The input is a list that you want to search through and a list of elements that you want to search for. The output is a multidimensional list with the positions of the elements you are...



Two files are included:
CALCNBINS, which calculates the "ideal" number of bins to use in a histogram, using three possible methods. (Freedman-Diaconis', Scott's and Sturges' methods.)

HISTX is a wrapper for Matlab's own...



Very often we need to look for the occurence of words in a string or group of words. We rely on regular expressions for such operations. A very common requirement is to look for the occurence of certain words in a paragraph or string. We can group...



This function is useful for web programs that need to generate a unique session id to store in a cookie (or some other safe place).



A number of rules of thumb exist for the advantages of non-coherent averaging, I wanted to see, in a fairly practical way, what the advantage really was. This turned out to be more complex than I thought, because you have to identify and implement...

User Review for Decorators for adding aliases to methods in a class
- required fields
     

Please enter text on the image