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.362.389 Times

python-bidi 0.3.1

Company: Meir Kriheli
Date Added: July 25, 2013  |  Visits: 395

python-bidi

Report Broken Link
Printer Friendly Version


Product Homepage
Download (42 downloads)



python-bidi is a bi-directional layout implementation in pure Python.<br /><br />API<br /><br />The algorithm starts with a single entry point bidi.algorithm.get_display.<br /><br />Required arguments:<br /><br /> * unicode_or_str: The orginal unicode or string (i.e: storage). If it's a string use the optional argument encoding to specify it's encoding.<br /><br />Optional arguments:<br /><br /> * encoding: If unicode_or_str is a string, specifies the encdoing. The algorithm uses unicodedata which requires unicode. This encoding will be used to decode and encode back to string before returning (default: "utf-8").<br /> * upper_is_rtl: True to treat upper case chars as strong 'R' for debugging (default: False).<br /> * debug: True to display (using sys.stderr) the steps taken with the algorithm (default: False).<br /><br />Returns the display layout, either as unicode or encoding encoded string (depending on the type of unicode_or_str').<br /><br />Example:<br /><br />>>> from bidi.algorithm import get_display<br />>>> get_display(u'car is THE CAR in arabic', upper_is_rtl=True)<br />u'car is RAC EHT in arabic'<br /><br />CLI<br /><br />pybidi is a command line utility (calling bidi.main) for running the bidi algorithm. the script can get a string as a parameter or read text from stdin. Usage:<br /><br />$ pybidi -h<br />Usage: pybidi [options]<br /><br />Options:<br /> -h, --help show this help message and exit<br /> -e ENCODING, --encoding=ENCODING<br /> Text encoding (default: utf-8)<br /> -u, --upper-is-rtl treat upper case chars as strong 'R' for debugging<br /> (default: False).<br /> -d, --debug Display the steps taken with the algorithm<br /><br />Examples:<br /><br /> $ pybidi -u 'car is THE CAR in arabic'<br /> car is RAC EHT in arabic<br /><br /> $ cat ~/Documents/example.txt | pybidi<br /> ...<br /><br />Running tests<br />--------------<br /><br />To run the tests:<br /><br />python -m bidi.tests<br /><br /><br />#md5=662d16b18f03c7a6eae7a4884bdf8f2f

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: 039r039 Algorithm Arabic Bidi Chars Debug Debugging Default Display Encoding False Layout Pybidi Python Python Bidi Steps String Strong Treat Unicode Unicode Str Upper
Users rating: 0/10

License: Freeware Size: 30.72 KB
USER REVIEWS
More Reviews or Write Review


PYTHON-BIDI RELATED
Web Browsers  -  Charset Switcher 4.0.20100920
Charset Switcher supports to customize the Default Character Encoding for each sites. The Charset Switcher extension allows you to remember the last selected Character Encoding for every website. Note: The Charset Switcher...
20.48 KB  
Programming  -  Kodos 2.4.9
Kodos is a Python GUI utility for creating, debugging and testing regular expressions for the Python programming language. Kodos should aid any developer to efficiently and effortlessly develop regular expressions in Python. Since Pythons...
471.04 KB  
Programming  -  C++ Debugging Support library 0.99.47
Libcwd is a full-featured and well-documented library that assists C++ developers with debugging their applications. C++ Debugging Support library includes support for ostream-based debug output, custom debug channels and devices, memory...
1.2 MB  
Modules  -  Picasa Album Uploader 0.6.1
Provides a button to be installed into the Google Picasa Desktop to directly upload files from Picasa as WordPress media. Once the button has been downloaded and installed in Picasa, images can be selected in Picasa and uploaded to your WordPress...
256 KB  
Network & Internet  -  USB-TCP Bridge 1.2
This tool bridges communications between a Palm handheld connected with a USB cradle and a TCP/IP socket. It can be used, for example, with the GDB debugger (which normally connects to the Palm OS Emulator on TCP/IP port 2000) to debug on a Palm...
112.64 KB  
Libraries  -  SyslogScan::Daemon::SpamDetector::Filter 0.55
SyslogScan::Daemon::SpamDetector::Filter contains filter reports. SYNOPSIS plugin SyslogScan::Daemon::SpamDetector as sd_ sd_plugin SyslogScan::Daemon::SpamDetector::Filter status spam match SpamAssassin field relayname acceptfirst 1 accept...
18.43 KB  
Libraries  -  Mail::DKIM::Signature 0.26
Mail::DKIM::Signature module encapsulates a DKIM signature header. CONSTRUCTORS new() - create a new signature from parameters my $signature = new Mail::DKIM::Signature( [ Algorithm => "rsa-sha1", ] [ Signature => $base64, ] [ Method =>...
47.1 KB  
Video Editors  -  dvbd 0.7.7
The idea behind dvbd is to make maximum use of your DVB card by allowing multiple channels on the same frequency to be tuned. It is split into a daemon (dvbd) and client programs (dvbcat, dvbsched, dvblist). It is possible to associate a priority...
204.8 KB  
Libraries  -  CL-EMB 0.4.3
CL-EMB is a library to embed Common Lisp and special template tags into normal text files. CL-EMB library can be used for dynamically generated HTML pages. Installation: CL-EMB can be installed with ASDF-INSTALL. See...
12.29 KB  
Modules  -  Scheduled Block 6.x-1.0
A simple module which provides a block which allows you to select 2 of the existing blocks: a default block and a scheduled block. During the scheduled time the block will display the scheduled block. The rest of the time it will display the...
10 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB