semvec/pypi-packages huggingface dataset:
jit-open 1.0.2
Just in time open files
License: MIT
Keywords: bioinformatics

Just in time open files.
========================

This package provides a way to delay opening files until the something is
written to the file handle. This can be convenient when opening a large number
of files of which most of them will not be frequently used. To deal with
resource limits a queue is used from which, when full, the least frequent file
is closed.


Installation
------------

The software is distributed via PyPI_, it can be installed with ``pip``:

::

   pip install jit_open

From source
~~~~~~~~~~~

The source is hosted on GitHub_, to install the latest development version, use
the following commands.

::

   git clone https://git.lumc.nl/j.f.j.laros/jit-open
   cd jit_open
   pip install .


Usage
-----

In the following example, only the file ``used.txt`` is created.

.. code:: python

   >>> from jit_open import Handle, Queue
   >>>
   >>> queue = Queue()
   >>> used = Handle("used.txt", queue)
   >>> unused = Handle("unused.txt", queue)
   >>>
   >>> used.write("line 1\n")
   >>> used.write("line 2\n")


Library
-------

The library provides the ``Handle`` and ``Queue`` classes.


.. _PyPI: https://pypi.python.org/pypi/jit-open
.. _GitHub: https://github.com/jfjlaros/jit-open.git
mipack 0.0.6
My implemented packages for python
License: MIT
Requires Python: >=3.9
Keywords: python,packaging

# My Implemented Package

Practice of development and deploy codes. 😄 <br>
This repo will be used to create a package by refering this structure.

Anyone can be install this library from pypi from this link: https://pypi.org/project/mipack/

```
pip install mipack
```

Q. How to manage packages? see from <a href="https://www.youtube.com/watch?v=Motr7UunBT4&list=PLjAFBrXBY3g59hczbnFa-xu1Tqrtzh1Yn&index=1&t=9s" target="_blank"><img src="https://img.shields.io/badge/YouTube-Dol AI-white?style=plastic&logo=youtube&logoColor=red"/></a>


## Tools 

Used tools as follows. 🔥

- [x] [github action](https://github.com/features/actions): continuous integration.
- [x] [sphinx](https://www.sphinx-doc.org/en/master): document is created along with package codes.
- [ ] [streamlit](https://streamlit.io/): streaming dashboard for exploration.
- [ ] [wandb](https://wandb.ai/site): daashboard for states of models.


## Deploy

Deploy to pypi as follows. 🥳
```
# setup.py version up
# doc/conf.py version up
python setup.py bdist_wheel
python -m twine upload dist/*.whl
```

## Documentation

Update documentation using sphinx.
```
sphinx-apidoc -f -o docs mipack
```

Serving the documetation.
```
sphinx-autobuild --host [IP] --port [PORT] docs docs/_build/html
```