semvec/pypi-packages huggingface dataset:
parallelworkloads 0.1.3
A Python Wrapper for the workload model proposed by Lublin
Requires Python: >=3.6, <4
Keywords: workload,standard workload format,swf

lublinworkload
==============

A Python port of the Workload Model proposed by Lublin & Feitelson.

The following code shows how to use it:

.. code:: python

   from parallelworkloads import lublin99
   w = lublin99.Lublin99(1, 2)  # Will use both batch and interactive jobs
   w.numJobs=4  # will generate four jobs
   w.generate()  # The four generated jobs are shown below

   [SwfJob(jobId=1, submissionTime=103, waitTime=-1, runTime=12379,
   allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1,
   reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1,
   partNum=-1, precedingJob=-1, thinkTime=-1),

   SwfJob(jobId=2, submissionTime=3089, waitTime=-1, runTime=177,
   allocProcs=16, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1,
   reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=1,
   partNum=-1, precedingJob=-1, thinkTime=-1),

   SwfJob(jobId=3, submissionTime=3150, waitTime=-1, runTime=10, allocProcs=2,
   avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1, reqMem=-1, status=1,
   userId=-1, groupId=-1, executable=-1, queueNum=0, partNum=-1,
   precedingJob=-1, thinkTime=-1),

   SwfJob(jobId=4, submissionTime=3172, waitTime=-1, runTime=7,
   allocProcs=32, avgCpuUsage=-1, usedMem=-1, reqProcs=-1, reqTime=-1,
   reqMem=-1, status=1, userId=-1, groupId=-1, executable=-1, queueNum=0,
   partNum=-1, precedingJob=-1, thinkTime=-1)]

User runtime estimates
----------------------

`parallelworkloads` also supports generating runtime estimates based on the
model proposed by Dan Tsafrir in 2005. For the model to work, it needs at least
200 jobs. Here's an example continuing the previous one:

.. code:: python

   from parallelworkloads import tsafrir05

   w.numJobs = 200
   jobs = w.generate()
   print('Original requested time of first job:', jobs[0].reqTime)
   t = tsafrir05.Tsafrir05(jobs)
   jobs = t.generate(jobs)
   print('Generated requested time of first job:', jobs[0].reqTime)

Which gives as output:

.. code::

   Original requested time: -1
   Generated requested time: 22962.0
wxve 0.0.17
A stock analysis package in Python that equips objects with the information required to streamline operations.
Requires Python: >=3.6

# wxve

A stock analysis package in Python that equips objects with the information required to streamline operations.

## Install
```shell
pip install wxve
```

## Subscribe to API
Stock data is provided by the YH Finance API.
Create an account on RapidAPI and subscribe to the right plan for you. The **free** plan provides 500 requests per month with a rate limit of 5 requests per second. <br>
https://rapidapi.com/apidojo/api/yh-finance/

## Tutorial
```python
import wxve as x

IBM = x.Stock('IBM', 'YOUR_API_KEY')

IBM.candlestick.show()

print(IBM.div_df)
print(IBM.hist_df)
```
```python
import wxve as x

stock_list = ['IBM', 'INTC', 'NVDA']
ai_chip_makers = x.StockSet(stock_list, 'YOUR_API_KEY') 

ai_chip_makers.stocks['IBM'].candlestick.show()

print(ai_chip_makers.stocks['IBM'].div_df)
print(ai_chip_makers.stocks['IBM'].hist_df)
```
myqq 0.0.6
A small example package
Requires Python: >=3.6

# Example Package

This is a simple example package. You can use
[Github-flavored Markdown](https://github.com/maisge/myqq/blob/main/README.md)
to write your content.

###取好友列表 [get_friend_list("机器人qq号")]
```python
# 导入库
from myqq import send
# 新建机器人
bot = send.Send("http://localhost:8889/MyQQHTTPAPI", "666")
# 取好友列表
f_list = bot.get_friend_list("3414744631")
# 输出
print(f_list)
```