JuniorJPDJ / pyChomikBox

Python 2.7 and 3.5 library for Chomikuj.pl filesharing service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyChomikBox

Python 2.7 and 3.5 (and wasn't tested at lower versions) library for Chomikuj.pl file sharing service. It uses official app's (ChomikBox) protocol to comunicate with Chomikuj servers.

Installation

Just use pip, as you would with all python packages

$ pip install pyChomikBox

Examples

A simple example of usage

>>> from ChomikBox import Chomik
>>> c = Chomik('username', 'password')
>>> c.login()
>>> c
<ChomikBox.Chomik: username>
>>> print(c.list())
[<ChomikBox.ChomikFolder: "/prywatne/" (username)>, <ChomikBox.ChomikFolder: "/zachomikowane/" (username)>]

This code is logging at Chomikuj as username with password password and printing all files and folders of root folder.

You can find more examples in examples directory.

About

Python 2.7 and 3.5 library for Chomikuj.pl filesharing service

License:GNU Lesser General Public License v3.0


Languages

Language:Python 100.0%