semvec/pypi-packages huggingface dataset:
intel-jtag-uart 0.0.3
Package to interact with JTAG UART modules in Intel FPGA designs
Requires Python: >=3.6

`intel_jtag_uart` is a Python module that can be used to interact with the JTAG UART instances inside
Intel FPGA designs.

The official ways to do this are either interactively, through `nios2-terminal` utility,
or by scripting some TCL code inside the Quartus System Console. There is no official 
straightforward way to interact with a JTAG UART with Python. 

This module is a wrapper around the `jtag_atlantic` shared library/DLL that is part of any
modern Quartus installation. (`jtag_atlantic` is the internal code name for the JTAG UART.)

To use this module, you need access to the `jtag_atlantic` shared library as well as the `jtag_client`
shared library, which provides lower level JTAG-related functions.

## Usage

* Install this package with `pip3 install intel_jtag_uart`.
* Point to the `jtag_atlantic` and `jtag_client` shared libraries, so that the module can find it.

    The module uses the following sequence to find these libraries:

    1. Look in the directory in which `intel_jtag_uart.py` is located
    1. Look in the directory in which the executable that uses this module is located
    1. Use the OS-provided way to find shared libraries. (E.g. for Linux, it will check
       the directories of the `$LD_LIBRARY_PATH` environment variable.) 
    1. Look in the `$QUARTUS_ROOTDIR` directory

    Most default Quartus installations will have `$QUARTUS_ROOTDIR` environment variable
    set to the correct directory, so everything should just work&trade;.

* Use some variation of the script below:

```python
import intel_jtag_uart

try:
    ju = intel_jtag_uart.intel_jtag_uart()

except Exception as e:
    print(e)
    sys.exit(0)

ju.write(b'r')
time.sleep(1)
print("read: ", ju.read())
```

The script sends `r` to the JTAG UART, waits 1 seconds for a reply, and reads the
reply, if there is any. If you have an Arrow/Terasic DECA FPGA board, you can check
things out right away with a [precompiled example bitstream](https://github.com/tomverbeure/intel_jtag_uart/tree/main/example/arrow_deca).

## Full List of Functions/Methods

Use [the source](https://github.com/tomverbeure/intel_jtag_uart/blob/main/src/intel_jtag_uart/intel_jtag_uart.py), Luke!

This module is a very thin wrapper around a handful of function calls that are mostly self-explanatory.

## Bug Reports/Comments/Questions

Bug reports, comments, or questions can be entered through [the GitHub issue tracker](https://github.com/tomverbeure/intel_jtag_uart/issues)
of this project.

## References

* [The Intel JTAG UART - Add a Serial Console to Your Design without Extra IO Pins](https://tomverbeure.github.io/2021/05/02/Intel-JTAG-UART.html)
* [Write Your Own C and Python Clients for the Intel JTAG UART](https://tomverbeure.github.io/2021/05/08/Write-Your-Own-C-and-Python-Clients-for-Intel-JTAG-UART-with-libjtag_atlantic.html)
* [`jtag_uart_example` project](https://github.com/tomverbeure/jtag_uart_example)
* [intel-jtag-uart on pypi.org](https://pypi.org/project/intel-jtag-uart/)
riscv-model 0.6.6
RISC-V Model

RISC-V Model
============

This is a python model of the RISC-V ISA. It is intended to be a resource for Python-based automated testing and verification.
It is under development and not very useful yet, but can be used to generate random assembler code.

Documentation: https://riscv-python-model.readthedocs.io/en/latest/

Quick Start
-----------

First install it:

::

    pip3 install riscv-model

Create random assembler sequences
`````````````````````````````````

Create a random assembler sequence:

::

    riscv-random-asm

You can tweak the assembler output:

::

    usage: riscv-random-asm [-h]
                            [-i {add,sub,sll,slt,sltu,xor,srl,sra,or,and,jalr,addi,slti,sltiu,xori,ori,andi,lb,lh,lw,lbu,lhu,slli,srli,srai,sb,sh,sw,beq,bne,blt,bge,bltu,bgeu,lui,auipc,jal}]
                            [--version]
                            [N]

    Generate sequence of assembler instructions.

    positional arguments:
      N                     Number of assembler instructions

    optional arguments:
      -h, --help            show this help message and exit
      -i {add,sub,sll,slt,sltu,xor,srl,sra,or,and,jalr,addi,slti,sltiu,xori,ori,andi,lb,lh,lw,lbu,lhu,slli,srli,srai,sb,sh,sw,beq,bne,blt,bge,bltu,bgeu,lui,auipc,jal}
                            Restrict to instructions
      --version             Display version

For example to generate 100 assembler instructions only with ``add``, ``or`` and ``slti`` instructions:

::

    riscv-random-asm 100 -i add -i or -i slti

Disassemble machine code
````````````````````````

You can disassemble a machine code to the assembly code on instruction level:

::

    riscv-machinsn-decode hexstring 0x007938b3 0xc9650993

You can also directly disassemble object files:

::

    riscv-machinsn-decode objfile file.o


Automatically test random assembler sequences
`````````````````````````````````````````````

``riscv-random-asm-check`` generates random assembler sequences, compiles them, reads back the machine codes and matches them.
You can use that to test your compiler, but it is also used as sanity check for riscv-model itself.

::

    riscv-random-asm-check

It will by default use ``riscv32-unknown-elf-gcc`` and ``riscv32-unknown-elf-objcopy``, but you can configure the tools with ``--compiler`` and ``--objcopy``.

The automated tests will test all instructions, you can again restrict the number of instructions and the instructions:

::

    riscv-random-asm-check 1000 -i xor

Finally, you can run the checks for the individual instructions seperately (used in combination with the other options:

::

    riscv-random-asm-check -s
asdfy 0.1.18
A parallel processing library for pyasdf.
Requires Python: >=3.8

# Asdfy

----

**A library to process ASDFDataSet(s) from [pyasdf](https://github.com/seismicdata/pyasdf/).**

----

### Prerequisites
```
pyasdf
mpi4py
```

### Installation
```
pip install asdfy
```

### Usage
##### Basic usage
```
from asdfy import ASDFProcessor
ASDFProcessor('input.h5', 'output.h5', process_func).run()
```

##### Defailed explination
TBD. Refer to ```tests/main.py``` for now. To run tests:
```
cd tests
mpi4un -n 4 python main.py
```

### ASDFProcessor
##### src
```
Union[str, Iterable[str]]
```
Path to input ASDFDataSet(s)

##### dst
```
str
```
Path to output ASDFDataSet

##### func
```
Callable[..., ASDFOutput]
```
Processing function, each argument correspond to an input dataset.

##### input_type
```
Literal['stream', 'trace', 'auxiliary', 'auxiliary_group'] = 'trace'
```
Type of input data

##### input_tag
```
Optional[str] = None
```
Input waveform tag or auxiliary group, None for using the first available

##### output_tag
```
Optional[str] = None
```
Output waveform tag or auxiliary group, None for using input_tag or input_type

##### accessor
```
bool = False
```
Pass the origional accessor to the processing function. Set to .True. if you need event or station info.

##### onerror
```
Optional[Callable[[Exception], None]] = None
```
Callback when error occurs
apachecn-db-bigdata-docs-zh 2021.5.8.0
ApacheCN 数据库 &amp; 大数据中文文档汇总
Requires Python: >=3.6

# ApacheCN 数据库 &amp; 大数据中文文档汇总

> 协议：[CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
> 
> 欢迎任何人参与和完善：一个人可以走的很快，但是一群人却可以走的更远。

* [在线阅读](https://bddoc.apachecn.org)
* [在线阅读（Gitee）](https://apachecn.gitee.io/apachecn-db-bigdata-docs-zh/)
* [ApacheCN 学习资源](http://docs.apachecn.org/)

## 目录

+   [Airflow 中文文档](doc/airflow-doc-zh/SUMMARY.md)
+   [Elasticsearch 5.4 中文文档](doc/elasticsearch-54-doc-zh/SUMMARY.md)
+   [Flink 1.7 中文文档](doc/flink-17-doc-zh/SUMMARY.md)
+   [Flink 1.7-SNAPSHOT 中文文档](doc/flink-17snapshot-doc-zh/SUMMARY.md)
+   [HBase™ 中文参考指南 3.0](doc/hbase-30-doc-zh/SUMMARY.md)
+   [Kibana 5.2 中文文档](doc/kibana-52-doc-zh/SUMMARY.md)
+   [Kudu 1.4.0 中文文档](doc/kudu-140-doc-zh/SUMMARY.md)
+   [Spark 2.2.0 中文文档](doc/spark-220-doc-zh/SUMMARY.md)
+   [Storm 1.1.0 中文文档](doc/storm-110-doc-zh/SUMMARY.md)
+   [Zeppelin 0.7.2 中文文档](doc/zeppelin-072-doc-zh/SUMMARY.md)
+   [Hudi 0.5.0 中文文档](doc/hudi-050-doc-zh/SUMMARY.md)
+   [Kafka 1.0.0 中文文档](doc/kafka-100-doc-zh/SUMMARY.md)

## 贡献指南

本项目需要校对，欢迎大家提交 Pull Request。

> 请您勇敢地去翻译和改进翻译。虽然我们追求卓越，但我们并不要求您做到十全十美，因此请不要担心因为翻译上犯错——在大部分情况下，我们的服务器已经记录所有的翻译，因此您不必担心会因为您的失误遭到无法挽回的破坏。（改编自维基百科）

## 联系方式

### 负责人

* [飞龙](https://github.com/wizardforcel): 562826179

### 其他

*   在我们的 [apachecn/apachecn-db-bigdata-docs-zh](https://github.com/apachecn/apachecn-db-bigdata-docs-zh) github 上提 issue.
*   发邮件到 Email: `apachecn@163.com`.
*   在我们的 [组织学习交流群](http://www.apachecn.org/organization/348.html) 中联系群主/管理员即可.

## 下载

### Docker

```
docker pull apachecn0/apachecn-db-bigdata-docs-zh
docker run -tid -p <port>:80 apachecn0/apachecn-db-bigdata-docs-zh
# 访问 http://localhost:{port} 查看文档
```

### PYPI

```
pip install apachecn-db-bigdata-docs-zh
apachecn-db-bigdata-docs-zh <port>
# 访问 http://localhost:{port} 查看文档
```

### NPM

```
npm install -g apachecn-db-bigdata-docs-zh
apachecn-db-bigdata-docs-zh <port>
# 访问 http://localhost:{port} 查看文档
```

## 赞助我们

![](http://data.apachecn.org/img/about/donate.jpg)
ethmeet 1.7.1
Video-chat API. Compatible with most famous platforms.
Requires Python: >=3.8
Keywords: bot firefox automation browser selenium meeting zoom google

# ethmeet
Video-chat API. Compatible with most famous platforms.

## Installation
Pip:
```shell script
pip3 install ethmeet
```

Install Geckodriver:
```shell script
git clone git@github.com:elleaech/ethmeet.git
python3 ethmeet/scripts/gecko_install.py
```

## Docs
- [API Reference](https://github.com/elleaech/ethmeet/blob/master/docs/ethmeet.md)

### Basic Usage
``` python
from ethmeet import (Driver, AttendGoogle, CreateGoogle, LoginGoogle)

# SET COMMON DRIVER
driver = Driver()


# INSTANCE OBJECTSs
adm_login = LoginGoogle(driver = driver())

create = CreateGoogle(driver = driver())

login = LoginGoogle(driver = driver())

attend = AttendGoogle(driver = driver())


# SET LOGIN DATA
adm_login.login_data = {"some.email@service.com", "SomePa$$word123"}

# IF LOGIN IS SUCCESSFUL, CREATE NEW MEET CODE
if adm_login.doLogin():
        create.new_meet()

# GET LOGIN INPUT
login.login_data = {}

# IF LOGIN IS SUCCESSFUL AND MEET CODE WAS CREATED, GO TO MEETING
if login.doLogin() and create.code != None:
        attend.set_meeting_url(create.code)
        attend.goto_meet()


# CLOSE DRIVER
driver.close()
```

## Contributing & Issue Tracker
Branch & [Pull Request](https://github.com/elleaech/ethmeet/pulls)
- [Issues](https://github.com/elleaech/ethmeet/issues)

### Get source
```shell script
git clone git@github.com:elleaech/ethmeet.git && cd ethmeet

python3 -m virtualenv . && pip3 install -r requirements.txt
```

## License
[Apache License 2.0](https://github.com/elleaech/ethmeet/blob/master/LICENSE)