semvec/pypi-packages huggingface dataset:
van 0.0.6
Fanfou SDK in Python
License: MIT
Keywords: fanfou

Van - Fanfou SDK
################

.. image:: https://travis-ci.org/j178/van.svg?branch=master
    :target: https://travis-ci.org/j178/van

.. image:: https://readthedocs.org/projects/van/badge/?version=latest
    :target: http://van.readthedocs.io/zh/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://badge.fury.io/py/van.svg
    :target: https://pypi.python.org/pypi/van

.. image:: https://img.shields.io/badge/python-3.5-blue.svg
    :target: https://pypi.python.org/pypi/fanfou-cli

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
    :target: https://pypi.python.org/pypi/fanfou-cli

.. image:: https://badges.gitter.im/fanfou-cli2/Lobby.svg
    :target: https://gitter.im/fan-van/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge


详细文档请前往 ➔ `Readthedocs <http://van.readthedocs.io>`_


Example
=======

.. code-block:: python

    from van import Fan

    fan = Fan(consumer_key, consumer_secret)
    fan.xauth(username,password)
    # or use oauth
    # url = fan.authorization_url()
    # visit the authorization url and copy the redirect url
    # fan.oauth(redirect url)
    fan.update_status('你好啊，李银河！')

Installation
============

van 只支持 Python3, 请前往官网下载安装 Python 3.5 以上版本。

*如果你是开发者，你也可以帮助我兼容 Python2*

之后可以使用 `pip`_ 安装:

.. code-block:: shell

    pip3 install van

或者下载源码安装:

.. code-block:: shell

    git clone https://github.com/j178/van
    cd van
    pip3 install . --user

申请应用
==========

要使用 van 你还需要在饭否中申请一个应用：

#. 在 http://fanfou.com/apps 中创建新应用
#. 应用名称、主页、描述等信息可以随意填写
#. 记录下 `Consumer Key` 和 `Consumer Secret`


.. _Python: https://www.python.org
.. _饭否: http://www.fanfou.com
.. _饭否官方API: https://github.com/FanfouAPI/FanFouAPIDoc/wiki
.. _SDK: https://en.wikipedia.org/wiki/Software_development_kit
.. _pip: https://pypi.python.org/pypi/pip
concorde 0.1.2
Static site generator using Markdown and Jinja
License: MIT
Keywords: static generator markdown jinja

concorde
========

Simple static site generator built from Markdown and Jinja

Three commands to produce three things::

    concorde pages  renders Markdown files through a template, producing new pages
    concorde index  takes a list of Markdown files that you presumably just rendered
                    with pages, orders them by date, and renders them through a 
                    template to produce an index file
    concorde rss    similar to concorde index, but produces an RSS feed instead

Run ``concorde <command> help`` for more details.

One distinguishing feature of Concorde is that the templates and the rendered
pages do not necessarily have to be HTML. In fact, Concorde was created because
of the need to quickly tack on a static blog generator to a site written in PHP.

Concorde is designed to be easily paired with a Makefile to generate a site.
For example, given a site laid out like so::

    my-example-site
        site
            a-post.md
            another-post.md
        templates
            index.html
            blog-post.html

A Makefile to build the HTML pages, index page, and RSS feed would look like

.. code:: makefile

    posts := $(patsubst %.md,%.html,$(wildcard site/*.md)) 

    .PHONY : all clean

    all: site/index.html site/rss.xml $(posts)

    clean:
        -rm site/index.html
        -rm site/rss.xml
        -rm $(posts)

    site/index.html: $(posts) templates/index.html
        concorde index --template=templates/index.html --output=$@ --output-extension=.html site/

    site/blog/rss.xml : $(posts)
        concorde rss --output=$@ --title="My Example Blog" --url="http://example.com/rss.xml" site/

    $(posts): site/*.md templates/blog-post.html
        concorde pages --template=templates/blog-post.html site/
felis-python2 0.1.1
Lecture notes for Python 2 at University of Freiburg.
License: MIT

Python II lecture notes
=======================

Supplementary material, lecture notes and exercises for the Python II
lecture at University of Freiburg.

This module will install all requirements needed for the lecture.


Installation
~~~~~~~~~~~~

Basically, all lectures are in the *.ipynb* format of version 4.
Therefore you need Jupyter to view them. The most straitforward way to install the package
is using pip from your desired target environment like:

.. code-block:: bash

  pip install felis_python2

This will install the requirements and the lecture notes to the `site-packages` folder of the target
Python environment. The module does include some auxiliary functions to use the notebooks from there.
Alternatively, it can also be downloaded from github and installed manually like:

.. code:: bash

    ~$ git clone https://github.com/mmaelicke/felis_python2.git
    ~$ cd felis_python2
    ~$ pip install -r requirements.txt
    ~$ cd lectures
    ~$ jupyter notebook


Usage
~~~~~

There are also two auxiliary functions included in the package. If installed using pip, `felis_python2` can
be imported. The `run` function will start a Jupyter notebook server at the correct location and open a browser.
The `copy` function takes a path and will copy the lecute notes notebooks to that specific path.

.. code-block:: python

  from felis_python2 import run, copy

  # to copy the notebooks to another location
  copy('my/new/location')

  # to run them from the site-packages
  run()