semvec/pypi-packages huggingface dataset:
pricegen 0.0.1
Random price generation
Requires Python: >=3.6

# pricegen

This utility helps simulate statistically randomized series of prices, based on the models below:

* Geometric Brownian motion
* Mean reversion (optional)

## Generating a next price

```
from pricegen import random_price

current_price = 100
next_price = random_price(current_price, sigma=0.20)
```

## Generating a series of prices

```
from pricegen import random_price, generate_prices

initial_price = 100

# Daily prices over a year (252 trading days)
price = initial_price
for _ in range(252):
    price = random_price(price, sigma=0.20, time=1.0/252)
    print(price)

# Or equivalently:
for price in generate_prices(252, initial_price, sigma=0.20, time=1.0/252):
    print(price)
```

## Volatility and time interval

```
# These two calls are roughly equivalent

# Case 1:
random_price(price, sigma=0.20, time=1.0/252)
# Annual volatility: 20%
# Time interval: (1.0 / 252) year

# Case 2:
random_price(price, sigma=0.20/math.sqrt(252)) # time == 1.0 by default
# Daily volatility: 20% / sqrt(252)
# Time interval: 1.0 day

# Note:
# "time" represents the time interval relative to 1.0.
# "sigma" is interpreted as volatility for time == 1.0.
# Internally, there is no assumption about the unit of time (year/month/day).
```

## Mean reversion

```
from pricegen import random_price

initial_price = 100

# Daily prices over a year (252 trading days)
price = initial_price
for _ in range(252):
    price = random_price(price, sigma=0.20, time=1.0/252, mean=initial_price)
    print(price)

# Mean reversion helps prevent the price from becoming too high or too low
# by attracting the price to a targe while maintaining a specific volatility.
```

## Using a custom Random class

```
from pricegen import PriceGenerator

generator = PriceGenerator(random=custom_random)
# custom_random needs to have .gauss() method

generator.random_price(100, 0.20)
```

## Ad-hoc random noise


```
from pricegen import random_price

random_price(100, 0.20, noise=custom_gauss(0.0, 1.0))
```
django-base-shop 0.1.0
A basic, extendable data model for ecommerce shops using Django
Requires Python: >=3.6.5

# Base Shop

Base Shop is a lightweight Django app that provides an extendable data model to be used in online shops.

> Base Shop is currently in early stages of development and is likely to radically change without notice.

As online shops have many differing needs and requirements a single data model does not offer a sound solution. The philosophy of _Base Shop_ is to provide a solid infrastructure that can extended for the needs of any online shop using Django.

Base Shop provides a collection of "base" models that are intended to be extended by end users of the package, or used as is. The primary models provided include "BaseProduct", "BaseOrder", "BaseCheckoutDetails" along with more concrete models designed to interact seamlessly with user extended versions of the previously mentioned models.
E-Sic 2020.2.15
Pacote para automatização de coletas no portal E-Sic, você pode obter os dados sobre as perguntas, respostas e até mesmo baixar os arquivos anexados.
Requires Python: >=3.6
Keywords: dados-abertos dadosgovbr scraper e-sic brasil perguntas-e-respostas

# E-Sic-Scraper
[![Build Status](https://travis-ci.com/riquedev/E-Sic-Scraper.svg?branch=master)](https://travis-ci.com/riquedev/E-Sic-Scraper) [![codecov](https://codecov.io/gh/riquedev/E-Sic-Scraper/branch/master/graph/badge.svg)](https://codecov.io/gh/riquedev/E-Sic-Scraper)

Pacote para automatização de coletas no portal E-Sic, você pode obter os dados sobre as perguntas, respostas e até mesmo baixar os arquivos anexados.
hyper-status 1.3
A status indicator that you can modify.
Requires Python: >=3.6

<h1 align="center">hyper-status</h1>

<h3 align="center">A status indicator that you can modify.</h3>

<p align="center">
    <img src="https://img.shields.io/apm/l/vim-mode.svg"/>
    <img src="https://img.shields.io/badge/python-3.8.0-green.svg">
</p>

<p align="center">
    <a href="#examples">examples</a> -
    <a href="#changelog">Changelog</a>
</p>


# Examples
```python
# Custom print example
Status('This is a test warning. Be warned!', 'warn')
Status('Oh no, something has totally failed!', 'fail')
Status('This is fine. Everything is fine.', 'ok')
Status('Something happened.')
Status()
```
<p align="left">
    <img src="/images/custom.png"/>
</p>


# Changelog

## [v1.3](!https://github.com/Xithrius/Xythrion/releases/tag/v1.3):
#### Changed:
- Put 0's back for now in timestamps so all statuses are aligned.

## [v1.2](!https://github.com/Xithrius/Xythrion/releases/tag/v1.2):
#### Changed:
- Fixed bug where time wouldn't change after Status is called multiple times.

## [v1.1](!https://github.com/Xithrius/Xythrion/releases/tag/v1.1):
#### Changed:
- The way this package is imported. From `from hyper_status.status import Status` to `from hyper_status import Status`

## [v1.0](!https://github.com/Xithrius/Xythrion/releases/tag/v1.0):
#### Added:
- Ability to change colors just by editing the module's color dictionary after importing.
- You don't need to put anything at all in the Status, and it will print just the date.
#### Changed:
- Amounts of colors, and the statuses that go with them. 
- Where the status is placed. The warning string is now the first priority.
#### Removed:
- Wrapper for catching errors, since a person should know how to catch errors and then use this package.

## [v0.2](!https://github.com/Xithrius/Xythrion/releases/tag/v0.2):
#### Added:
- Wrapper that now catches any incorrect indexes of colors.
- If status file is called, then there will be some examples of what you can get out of the status.
#### Changed:
- Comments for readability.
- Colors within the timestamps. 
- Different formatting for the change log.
#### Removed:
- 0s before times in timestamps.

## [v0.1](!https://github.com/Xithrius/Xythrion/releases/tag/v0.1):
#### Added:
- Files imported from [Xythrion](!https://github.com/Xithrius/Xythrion).
#### Changed:
- How the comments are formatted.
#### Removed:
- Useless classmethods that didn't do anything useful.
rtimbo-version 1.0.0
Version Comparator
Requires Python: >=3.6

# Version

A version is a string that matches the following regex:
```python
"^v?(\d+)(?:.(\d+))?(?:.(\d+))?(?:-?(a|b|rc)(\d+)?)?$"
```
E.g. v0.11.22-rc3.

#### Assumptions
1. v1 is equivalent to v1.0.0
2. A version without a candidate is greater than its candidate counterpart
   e.g. v2 > v2rc > v2b > v2a

## Installation

```
pip install rtimbo-version
```

## Usage

```python
>>> from version import Version
>>> v1 = Version("v0.2.11rc3")
>>> v1.major
0
>>> v1.minor
2
>>> v1.patch
11
>>> v1.candidate
'rc'
>>> v1.candidate_number
3
>>> v1 > 0
True
>>> v1 > 1
False
```

```python
>>> available_versions = [
...     Version("v0.9.2b"),
...     Version("v0.9.1"),
...     Version("v0.9.2"),
...     Version("v2.9.3rc1"),
...     Version("3.0.0"),
...     Version("v0.9.2a1"),
...     Version("v0.9.2rc1"),
...     Version("1.0.0"),
...     Version("2.5.7"),
...     Version("v0.9.2rc3")]
>>> 
>>> print('\n'.join([str(version) for version in sorted(available_versions)]))
v0.9.1
v0.9.2a1
v0.9.2b0
v0.9.2rc1
v0.9.2rc3
v0.9.2
v1.0.0
v2.5.7
v2.9.3rc1
v3.0.0

```