semvec/pypi-packages huggingface dataset:
quantrocket-utils 0.2.0
Utility methods for common tasks in QuantRocket.
License: MIT
Requires Python: >=3.6,<4.0

# QuantRocket Utility Library
Utility methods for common tasks in QuantRocket.

## Installation
`quantrocket-utils` can be installed via `pip`:
```bash
$ pip install quantrocket-utils
```

## Development

This project uses [poetry](https://poetry.eustace.io/) for development and release management.
```
$ git clone git@github.com:boosting-alpha-bv/quantrocket-utils.git
$ cd quantrocket-utils/
$ poetry install
```

### Running Tests
```bash
$ poetry run coverage run --branch --source quantrocket_utils -m pytest
```

### Generating Coverage Reports
```bash
$ poetry run coverage html
```

### Running flake8
```bash
$ poetry run flake8 quantrocket_utils tests
```

### Deploying
```bash
$ poetry publish --build --username "${PYPI_USERNAME}" --password "${PYPI_PASSWORD}" --no-interaction
```

## Usage
This library requires an external file that contains the listing information for the stocks it should translate.
This is typically exported from QuantRocket and then supplied at initialization time of the library.
Work is currently under way to remove the dependency on QuantRocket for obtaining this listings file.

```python
# Import the library and initialize the ConID resolution
from quantrocket_utils import initialize as assets_init, Asset
assets_init("<path>/<to>/listings.csv")

# Create an Asset using the symbol name
spy = Asset("SPY")
# The exchange is optional, unless two symbols of the same name exist on different exchanges
spy = Asset("SPY", "ARCA")

# Create an Asset using the ConID
# In this case the exchange can be inferred from the ConID, so it is always otpional
spy = Asset(756733)
# ConID's can be strings as well, so don't worry about type conversion
spy = Asset("756733")

# Access data on the object
spy.conid
>> 756733
spy.symbol
>> "SPY"
spy.exchange
>> "ARCA"

# Check trading times
spy.can_trade("2019-03-04", "10:34:02")
>> True

# Assets also support equality and comparison operations based on the ConID
# However, this is mostly just useful for guaranteeing sorting order
# Assets are also hashable and can thus be utilized in set operations
Asset("SPY") < Asset("AAPL")
>> True
```
jsendit 0.0.2
This is a way simple library to help you format JSend messages.
License: MIT
Requires Python: >=0.0.1

jsendit
=======

This is a way simple library to help you format JSend messages.

Project Features
----------------

-  `jsendit <http://www.comingsoon.net>`__
-  automated unit tests you can run with
   `pytest <https://docs.pytest.org/en/latest/>`__
-  a `Sphinx <http://www.sphinx-doc.org/en/master/>`__ documentation
   project

Getting Started
---------------

The project's documentation contains a section to help you `get
started <https://jsendit.readthedocs.io/en/latest/getting_started.html>`__
as a developer or user of the library.

Development Prerequisites
-------------------------

If you're going to be working in the code (rather than just using the
library), you'll want a few utilities.

-  `GNU Make <https://www.gnu.org/software/make/>`__
-  `Pandoc <https://pandoc.org/>`__

Resources
---------

Below are some handy resource links.

-  `Project Documentation <http://jsendit.readthedocs.io/>`__
-  `Sphinx <http://www.sphinx-doc.org/en/master/>`__ is a tool that
   makes it easy to create intelligent and beautiful documentation,
   written by Geog Brandl and licnsed under the BSD license.
-  `pytest <https://docs.pytest.org/en/latest/>`__ helps you write
   better programs.
-  [GNU Make] is a tool which controls the generation of executables and
   other non-source files of a program from the program's source files.

Authors
-------

-  **Pat Daburu** - *Initial work* -
   `github <https://github.com/patdaburu>`__

See also the list of
`contributors <https://github.com/patdaburu/jsendit/contributors>`__ who
participated in this project.

LicenseMIT License
------------------

Copyright (c) patdaburu

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
wok-serve 0.1.2
Tool to serve a directory of Wok files using a Notion-like template.
License: MIT

# Wok

`wok-serve` is a tool to serve a directory of Wok files as a website using a Notion-like template.

Example usage:

```bash
# Show help
wok-serve -h

# Serve a directory
wok-serve -d my_files/

# Listen on a custom host/port
wok-serve -d my_files/ --host 0.0.0.0 --port 8000
```
wok-compiler 0.1.0
Advanced yet human-readable markup language
License: MIT

# Wok

Wok is a markup language, similar to Markdown but with a syntax based on [Pug](https://pugjs.org/). I'm aiming to make Wok into some kind of middle-ground between the power of HTML and the simplicity of Markdown. The idea came from wanting an open-source alternative to [Notion](https://notion.so/), an app I find to be quite powerful.

Wok currently compiles only to HTML. A tool to compile-and-serve Wok files is available as a separate `wok-serve` package.

Example usage:

```bash
# Show help
wok -h

# Compile a few files
wok my_wok_file.wok my_other_file.wok

# Compile with glob
wok *.wok
```
lineopt 0.0.4
Command line based invoke framework.
License: MIT

Installing
==========

.. code-block:: bash

  pip3 install throttle

Usage
=====

.. code-block:: python

  import lineopt

  # dict w/ extra methods
  state = lineopt.State()

  @state.sub('echo')
  def state_0(argument):

    return argument

  @state_0.sub('loud')
  def state_0_0(argument):

    return argument.upper()

  flags = {'-c': 'content', '-s': 'meddle'}

  @state_0.sub('fancy', flags)
  def state_0_1(arguments):

    content = arguments['-c']

    meddle = arguments.get('-s', ' ')

    return meddle.join(content)

  starts = ('!', '.')

  def parse(value, starts = starts):

    try:

      (start, names, argument, function) = state.context(starts, value)

    except (KeyError, ValueError) as error:

      raise

      result = repr(error)

    else:

      result = function(argument)

    print(result)

  say = 'vocalizing is fun' # argument

  parse(f'!echo {say}') # vocalizing is fun
  parse(f'.echo.loud {say}') # VOCALIZING IS FUN
  parse(f'!echo.fancy -c {say}') # v o c a l i z i n g   i s   f u n
  parse(f'.echo.fancy {say} -s ~') # v~o~c~a~l~i~z~i~n~g~ ~i~s~ ~f~u~n
  parse(f'-echo.loud {say}') # ValueError: 'invalid start'
  parse(f'.fancy {say}') # KeyError: 'fancy' (only sub of echo)

Links
-----

- `Documentation <https://lineopt.readthedocs.io>`_
axgridcommons 0.1.3
AxGrid commons
License: MIT
Requires Python: >=3.5,<4.0
Keywords: commons

AxGrid Commons
==============

Abstract path
-------------

```python
p = Path(ct_root="/ctx/", fs_root="/tmp/fs/ctx/")
p.item(ct_target="/tk/a.txt").fs
# "/tmp/fs/tk/a.txt"
```