semvec/pypi-packages huggingface dataset:
datreant.core 0.7.1
persistent, pythonic trees for heterogeneous data
License: BSD

===========================================================
datreant: persistent, pythonic trees for heterogeneous data
===========================================================

|docs| |build| |cov|

In many fields of science, especially those analyzing experimental or
simulation data, there is often an existing ecosystem of specialized tools and 
file formats which new tools must work around, for better or worse.
Furthermore, centralized database solutions may be suboptimal for data
storage for a number of reasons, including insufficient hardware
infrastructure, variety and heterogeneity of raw data, the need for data
portability, etc. This is particularly the case for fields centered around
simulation: simulation systems can vary widely in size, composition, rules,
paramaters, and starting conditions. And with increases in computational power,
it is often necessary to store intermediate results obtained from large amounts
of simulation data so it can be accessed and explored interactively.

These problems make data management difficult, and serve as a barrier to
answering scientific questions. To make things easier, **datreant** is a Python
package that addresses the tedious and time-consuming logistics of intermediate
data storage and retrieval. It solves a boring problem, so we can focus on
interesting ones.

For more information on what **datreant** is and what it does, check out the
`official documentation`_.

.. _`official documentation`: http://datreant.readthedocs.org/

Getting datreant
================
See the `installation instructions`_ for installation details.
The package itself is pure Python.

If you want to work on the code, either for yourself or to contribute back to
the project, clone the repository to your local machine with::

    git clone https://github.com/datreant/datreant.core.git

.. _`installation instructions`: http://datreant.readthedocs.org/en/develop/install.html

Contributing
============
This project is still under heavy development, and there are certainly rough
edges and bugs. Issues and pull requests welcome! 

Check out our `contributor's guide`_ to learn how to get started with
contributing back.

.. _`contributor's guide`: http://datreant.readthedocs.org/en/develop/contributing.html

.. |docs| image:: https://readthedocs.org/projects/datreant/badge/?version=develop
    :alt: Documentation Status
    :scale: 100%
    :target: http://datreant.readthedocs.org/en/develop/?badge=develop

.. |build| image:: https://travis-ci.org/datreant/datreant.core.svg?branch=develop
    :alt: Build Status
    :target: https://travis-ci.org/datreant/datreant.core

.. |cov| image:: http://codecov.io/github/datreant/datreant.core/coverage.svg?branch=develop
    :alt: Code Coverage
    :scale: 100%
    :target: http://codecov.io/github/datreant/datreant.core?branch=develop
movescount-sync 1.0
Fetch moves from movescount.com
License: BSD

Movescount-sync
===============

A CLI tool for batch-exporting GPS tracks from movescount.com.

Supported formats:

* GPX
* KML
* FIT
* TCX
* XLSX

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

::

    pip install movescount-sync

Usage
-----

::

    movescount-sync

Configuration is created during first run and persisted in
``~/.config/movescount-sync``.

Arguments:

* ``--configure`` forces configuration wizard.
* ``--recursive`` fetches entire event stream from movescount.com instead of
  just the most recent events.
* ``--debug`` shows HTTP debugging logs.
tkwidgettree 1.0.0b2
Convenience class for building Tk widgets trees from a dict or a JSON file
License: BSD
Keywords: Tk tkinter widget builder

TkWidgetTree
============

Build trees of Tk widgets from a dict structure or use the FileParser class
to load them from a JSON file.

Details
-------

TkWidgetTree is a wrapper for the various Tk widgets (Frames, Buttons, Menu:s,
etc.), it is most conveninetly invoked with the TkWidgetTree.from_dict(tree,
root) static method, it builds a tree structure of TkWidgetTree objects from
nested dicts with the input to the TkWidgetTree constructor.

The parameters to the constructor are:

name		- The Tk widget class to create or the name of the widget
parent*		- The Tk widget that will be used as the parent
		  (tk.Button(parent, ...)
id*		- A tree-unique name for this widget, for when you want to
		  find it for setting callbacks or fetching values (or whatever)
options*	- A dict containing the options passed to the widget creation
		  (tk.Button(parent, **options))
pack*		- A dict containing the options to give to the pack method. This
		  class only supports the pack arrangement method for the
		  moment.
children*	- A list of child TkWidgetTree:s. The widgets in this list will
		  get this widget set as the parent when render()ing.

[*] Optional

You can then run the render() method on the root of your tree and they will
be recursively created. Once you've rendred all the widgets, you can set up
your callbacks by first finding your buttons/sliders whatnot by calling the
find method and using the TkWidgetTree.widget parameter to further set up
the widgets.

...
config={
	'name': 'Frame',
	'children': [
		{
			'id': 'mybutton',
			'name': 'Button',
			'options': { 'text': 'Hello World' },
			'pack: { 'side': tk.LEFT }
		}
	]
}

tree = TkWidgetTree.from_dict(config)
tree.render()

button = tree.find('mybutton')

button.widget.config(callback=do_stuff)

tree.mainloop()
...

Loading from a file
-------------------

But keeping a chunky dict of your application in the source is still pretty
clunky, so why not put the structure in a file instead? That's where the
FileParser class comes in. It essentially reads a JSON-serialized version of
the above structure, with one small twist; any Tk constants you might want to
use are set as strings, with the key prefixed by an @-sign.

... "pack": { "@side": "LEFT" } ...