semvec/pypi-packages huggingface dataset:
talk-video-uploader 0.1
Batch upload talk videos to YouTube
License: MIT
Requires Python: >=3.6

YouTube uploader for Pyvo videos
================================

This package uploads recordings from `Pyvo`_ to YouTube using YouTube
API v3. It is based heavily on `Google example code`_. It reads video
metadata YAML files generated by Petr Viktorin’s `talk video maker`_.

Usage
-----

First, you need to authenticate with Google using OAuth 2.0. For that,
you need client secrets file. One is bundled, you can also make your
`own`_ in the Google `Developers Console`_.

During the first run, you’ll get prompted to authenticate to a YouTube
channel by opening a webpage in a browser and copying back a token.
Those credentials are then stored by default in
``~/.config/talk-video-uploader/youtube_credentials.json``.

To upload videos, create a YAML file with metadata for each video file
and give path to those files as arguments to ``talk-video-uploader``.

YAML metadata example
---------------------

.. code-block:: yaml

   fname: Videofile.mkv
   date: 2018-01-01
   event: Ostravské Pyvo
   url: https://pyvo.cz/ostrava-pyvo/2018-01/
   lightning: true
   speaker: Jan Novák
   title: Interesting topic
   tags:
     - Python
     - Pyvo
     - Something
   language:
     audio: cs

.. _Pyvo: https://pyvo.cz
.. _Google example code: https://developers.google.com/youtube/v3/docs/videos/insert#examples
.. _talk video maker: https://github.com/encukou/talk-video-maker
.. _own: https://developers.google.com/youtube/registering_an_application
.. _Developers Console: https://console.developers.google.com/
discfit 0.2.1
Disc permeameter fitting program
License: MIT
Keywords: Disc permeameter

Discfit: Disc permeameter fitting program
=========================================

Discfit reads disc permeameter data in the field and calculates hydraulic parameters of the soil; saturated hydraulic conductivity and Gardner's alpha constant.

`Disc permeameter`_ is a tool for measuring hydraulic properties in the field. Steady-state periods in multiple constant head period are selected automatically from the data, and infiltration rate for each steady-state period is calculated. After that, infiltration rate at saturated condition is estimated by Gardner's exponential model,

.. _Disc permeameter: https://en.wikipedia.org/wiki/Disc_permeameter

 K(h) = Ks exp(αh)

where K is unsaturated hydraulic conductivity (cm/s), h is matric head (cm), Ks is saturated hydraulic conductivity (cm/s), α is a constant (/cm). Note that h is negative and αh is negative. Based on this equation, the linear relationship ln(q) = ln(qs) + αh is used for estimating qs (cm/s), the infiltration rate at the saturated condition, and α constant, as we have multiple point of (h, q) data from the disc permeameter. The hydraulic conductivity is calculated from the infiltration rate based on steady-state analysis of Wooding (1968);

 q = K(1 + 4 / παr)

where α is the Gardner's α and r is the diameter of the disc (cm). See equations (10) and (13) in Minastry and George (1999).

Install
---------------

Python 2 or 3 is required. Install Python at https://www.python.org/ . After that, install discfit by running

.. code-block::

 pip install discfit

Usage
---------------

.. code-block::

 discfit Filename dd dp

where

- Filename: File name of data file
- dd: diameter of the disc (cm)
- dp: inner diameter of the pipe (cm)

Format of data file
-------------------

It is a csv file with time, water level, and suction head (absolute value of the matric head) as follows.

.. code-block::

 # Comment line starts with '#'
 # Time (sec), Water level (cm), Suction head (cm)
 0, 58.32, 10.53
 10, 58.30, 10.57
 20, 58.33, 10.48

Reference
---------------
- Minasny, B., and B. H. George. 1999. `The measurement of soil hydraulic properties in the field.`_ in Cattle S.R. & George B.H. (Eds) Describing, Analysing and Managing Our Soil.
- Wooding, R.A., 1968. Steady infiltration from a shallow circular pond. Water Resources Research 4, 1259-1273.

.. _The measurement of soil hydraulic properties in the field.: http://www.academia.edu/download/6505821/Minasny___George_2001_DAMOS_hydraulic_Ch_12.pdf
sphinxpapyrus-docxbuilder 0.1.1
A Sphinx extension for Word (.docx) file output
License: MIT

=========================
sphinxpapyrus-docxbuilder
=========================

sphinxpapyrus-docxbuilder is a Sphinx extension for Word (.docx) file output.

Features
========

* Docx file as style template
* Inline Markup
* Headings
* Bullet / Enumerated Multilevel List
* Definition List
* Field List / Option List as 2 collumn table
* Blocks
* Simple Table / Grid Table (surpport sppaning, nesting)
* Transitions
* Image / Figure
* Footnotes as normal paragraph

Requirements
------------

* Sphinx>=1.3
* python-docx==0.8.6

Installation
------------

Run the following command::

   pip install sphinxpapyrus-docxbuilder

Usage
-----

Add the extension module name into *conf.py* in your Sphinx document::

   extentions = ['sphinxpapyrus.docxbuilder']

Optionally, you can set style file::

   docx_style = 'mystyle.docx'

You can also set docx core properties::

   docx_coreproperties = {
       'title': 'Jelly Island Murders',
       'author': 'Arashiyama Hotori',
   }

For more properties, see `python-docx ducument`__ .

Other docx options::

   # Grouping the document tree into Docx files. List of tuples
   # (source start file, target name, {coreproperties}).
   docx_documents = [
       (master_doc, project, {
           'title': 'Document Title',
           'author': 'Author',
       }),
   ]
   docx_pagebreak_level = 2  # insert page break before each heading 1, 2 and title
   docx_imagetable_align = 'center'  # 'left', 'center', or 'right'

__ https://python-docx.readthedocs.io/en/latest/api/document.html#docx.opc.coreprops.CoreProperties

Finaly, output docx with following command::

   make docx