Version 1.0.0
added miniuri/__init__.py added miniuri/miniuri.py changed .hgignore changed README changed setup.py
This commit is contained in:
parent
0843cc1f2b
commit
ba32fbbe4d
5 changed files with 159 additions and 15 deletions
35
README
35
README
|
|
@ -1,13 +1,20 @@
|
|||
How to install
|
||||
===================
|
||||
|
||||
easy_install miniuri
|
||||
|
||||
What does it do?
|
||||
====================
|
||||
miniuri
|
||||
#######
|
||||
|
||||
miniuri is a universal URI parser class.
|
||||
|
||||
It is written in 120 lines of Python.
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
pip install miniuri
|
||||
|
||||
What does it do?
|
||||
================
|
||||
|
||||
The parser grants access to the following attributes:
|
||||
|
||||
.. code-block:: python
|
||||
|
|
@ -21,10 +28,12 @@ The parser grants access to the following attributes:
|
|||
scheme authority | path | extension
|
||||
| |
|
||||
port filename
|
||||
How to use
|
||||
====================
|
||||
Tutorial
|
||||
========
|
||||
|
||||
This example shows how you can set and get any of the URI attributes::
|
||||
This example shows how you can set and get any of the URI attributes:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
>>> from miniuri import Uri
|
||||
>>> u = Uri( "http://www.foxhop.net/samsung/HL-T5087SA/red-LED-failure" )
|
||||
|
|
@ -40,19 +49,19 @@ This example shows how you can set and get any of the URI attributes::
|
|||
https://max:pass@www.foxhop.net:81/path/filename.jpg?p=2#5
|
||||
|
||||
How do I thank you?
|
||||
=======================
|
||||
===================
|
||||
|
||||
You should follow me on http://twitter.com/russellbal
|
||||
|
||||
|
||||
License
|
||||
=======================
|
||||
===================
|
||||
|
||||
Public Domain
|
||||
|
||||
|
||||
Public Revision Control
|
||||
=========================
|
||||
=======================
|
||||
|
||||
https://bitbucket.org/russellballestrini/miniuri/overview
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue