semvec/pypi-packages huggingface dataset:
pyalmostnothing 0.1.1
Lol
License: MIT
Requires Python: >=3.6

.. badges

.. black
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

.. codecov
.. image:: https://codecov.io/gh/nazime/pyalmostnothing/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/nazime/pyalmostnothing


----


pyalmostnothing
===============

pyalmostnothing is python project that does (almost) nothing, it only show how to structure python projects, test project, docs.....

features
--------

- testing with pytest and tox
- installable with setup.py
- documentation with sphinx
- readthedocs
- coverage (codecov)
- code quality
- how to test coverage?
- CI with travis
    - testing with tox
    - deploy to Pypi







Features
========

install
-------

.. code:: bash

    pip install <project_name>




Package
-------

The following code work

.. code:: python

    import pyalmostnothing

    print(pyalmostnothing.inc(5))
    # 6
    print(pyalmostnothing.add(3, 6))
    # 9


CLI
---

Can use it in the console

.. code:: bash

    pycalculate inc 5
    # 6
    pycalculate add 5 5
    # 10


Logs
----

Each operation is logged

.. code:: bash


    cat ~/.pycalculate/logs.txt
    inc 5
    add 5 5







Workflow
========

create similar project
----------------------
Cookie cutter

Test the project
----------------

tox --showconfig
tox -vvvvvv  # 3 tox 3 pytest
tox -r  # recreate

.. code:: bash

    git clone <project url>
    pip install tox
    tox

Retest the project

.. code:: bash

    tox

If it doesnt work

.. code:: bash

    # -r recreate
    tox -r

Test only one env

.. code:: bash

    tox -l  # list all envs
    tox -e <env>  # Ex: tox -e py37 for python3.7

Interact with the project
-------------------------
First must run ``tox`` and then chose un environment

.. code:: bash

    tox -l  # list aff environments
    source .tox/<env>/bin/activate  # Ex: source .tox/py37/bin/activate
    deactivate  # to Exit env

Integration with pycharm
------------------------
First run ``tox`` to have the environment, install the plugin
``PyVenv Manage`` and select an environment.

- create venv
- map key (list des racourcies
- run tests
- Editor -> inspections?
- src mark directory as src
- change testrunner to pytest

Automatic deploy yo pypi
------------------------
First deploy it manually (to create a scope in Pypi for security reason)

.. code:: bash

    rm -rf dist  # remove folder if exist
    python setup.py sdist bdist_wheel
    # Check if you can upload the package
    twine check dist/*
    twine upload dist/*
rebuild-audio-file 0.1.1
Losslessly rebuild audio files.
License: MIT
Keywords: ffmpeg flac lame lossless mp3

python-rebuild-audio-file
===

Losslessly rebuild audio files.

Installation
---

```sh
pip install -U rebuild-audio-file
```

Command-line usage
---

```sh
raf existing.mp3 new.mp3
raf existing.flac new.flac
```

Programmatic usage
---

```python
from raf import rebuild_audio_file

rebuild_audio_file('existing.mp3', 'new.mp3')
rebuild_audio_file('existing.flac', 'new.flac')
```