semvec/pypi-packages huggingface dataset:
pmc-mapper 1.0.3
A Python Library that map PubMed Central XML to Python object
License: MIT
Requires Python: >=3.6.0

# pmc-mapper

A Python Library that map PubMed Central XML to Python object.

## installation

```
pip install pmc-mapper
```

## usage

### library

```python
from pmc_mapper import Article


# parse file
at1 = Article.from_file('PMC8353774.nxml')
at2 = Article.from_pmc_id('PMC8353774')


# journal
print(at2.journal.title)
# output
# BMC Bioinformatics

# article ids
for at_id in at2.ids:
    print(f'type: {at_id.type}, value: {at_id.value}')
# output:
# type: pmid, value: 34376148
# type: pmc, value: 8353774
# type: publisher-id, value: 4312
# type: doi, value: 10.1186/s12859-021-04312-3
```

### command line

```
pmc-mapper -i PMC8353774.nxml -o PMC8353774.jl
```
HandDetectorModule 0.0.1
This is a simplified version of mediapipe to do hand Detection
License: MIT
Keywords: hand,Computervision,HandTracking,HandDetection,Hand-Detection

This is a simplified version of mediapipe to do Hand Detection.

The function findHands will accept an RGB image and detects the hand in the frame and locate the key points and draws the landmarks, the function findPosition will give the position of the hand along with the id.

Then the main function where we initialize our module and also we write a while loop to run the model. Here you can install module by simple pip command as: pip install HandDetectorModule.

Change Log
===========

0.0.1 (19/08/2020)
-------------------
- First Release
include-file 0.0.20
Replace {% include 'file.txt' %} with actual file contents
License: MIT
Requires Python: >=3.8

# Include File

[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)

* While using Gitbook, I faced some challenges below

1. Some information (ex: setting up git command) might come up in multiple documentation
    * Try [Global Include](test/global)
1. Organize include contents more intuitively
    * Try [Stem Include](test/stem)
1. Need table of contents page of entire gitbook
    * Try [Global Include](test/toc)

## Github CI

* This pipeline will push to deploy branch

```yml
# .github/workflows/main.yml
name: Deploy to deploy branch with include_file

on:
  push:
    branches: ["main"]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python 3.9
        uses: actions/setup-python@v2
        with:
          python-version: "3.9"
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          pip install include_file
      - name: Include File
        run: |
          python -m include_file -u $GITHUB_ACTOR -y SUMMARY.md -d deploy -t README.md --stem

      # For deployment add following lines
      - uses: EndBug/add-and-commit@v7
        with:
          message: "Committed by seanhwangg/include_file"
          pull_strategy: NO-PULL
          branch: deploy
          push: origin deploy --force -u
```

## Flags

* user
  * -u: github user id used for [link](#link) ([ex] seanhwangg)

* glob
  * -g: Which glob files to include ([ex] **"\*\*/\*"**, **/*.md)

* path
  * -p: Where to look for include file ([ex] **./.include-file/**)

* stem
  * -s: Use stem of markdown to overwrite path ([ex] **False**)
  * includes for `REAMD.md` are stored in `README/include.txt`

* validate
  * -v: Whether to fail CI in case of include error ([ex] **True**)

## Gitbook Only Flags

> Note: These are completely optional for [Gitbook](https://gitbook.com/) users

* deploy_branch
  * -d: Change deploy_branch of gitbook ([ex] **"deploy"**)

* url_path
  * -url: Change url of includes ([ex] **<https://seanhwangg.gitbook.io/>**)

* table_of_contents
  * -toc: Create table of contents with URL ([ex] **""**, "table_of_contents.md")

* images_overwrite
  * -images: Overwrite default `images` ([ex] **images**)

* include_overwrite
  * -include: Overwrite default `include` ([ex] **include**)

* link_overwrite
  * -link: Overwrite default `link` ([ex] **link**)

* repo_overwrite
  * -repo: Overwrite default `repo` ([ex] **repo**)
doc2pdf 0.2.0
A package to convert Doc files to PDF.
License: MIT
Requires Python: >=3.8,<4.0
Keywords: doc2pdf,doc,pdf

# Doc2PDF

## Dependencies
I recommend complete install libreoffice-writer, to minimize errors on convert.
* Ubuntu/Debian
```bash
apt install libreoffice-writer -y
```
* Alpine
```bash
apk add libreoffice-writer
```
* Windows

Download from https://www.libreoffice.org/download/download/