semvec/pypi-packages huggingface dataset:
lib-attacher 0.0.1
A simple library for finding a superordinate path and attaching it to the module search path.
Requires Python: >=3.6

# summary
This is a very simple (small) software library.  It is used only for one thing.

Suppose you are working in a project with a directory structure like this:

```
project_folder
|-scripts_folder
| |-python_libs
| | |-my_python_lib
| | | * __init__.py
|-sub_folder_1
| | * my_python_script.py
```

Suppose you want your python script `my_python_script.py` to consume the `my_python_lib` library.

Then, at the top of your script, you would put the following code.

```python
import os
import lib_attacher

# Get the folder containing your script file.
this_folder=os.path.dirname(os.path.realpath(__file__))

# Attach to the parent folder of your library
attached = lib_attacher.attach_folder_in_hierarchy(
    start_folder=this_folder,
    target_sub_path="scripts_folder/python_libs")

# Check to make sure it worked
if attached is None:
    raise Exception("Failed to find python_libs folder.")

# Now you can import your library.
import my_python_lib
```

If you subsequently move your `my_python_script.py` file around, it will still work.  For example,
it will also work from any of these locations:

```
project_folder
|-sub_folder_1
| |-sub_folder_2
| | | * my_python_script.py
```


```
project_folder
|-sub_folder_1
| |-sub_folder_2
| | |-sub_folder_3
| | | | * my_python_script.py
```

```
project_folder
| * my_python_script.py
```

If, by some chance, there are multiple `scripts_folder/python_libs` folders, you can specify the
`extra_sub_path` parameter to ensure that you match the target folder exactly (without ambiguity).

```python
# Attach to the parent folder of your library
attached = lib_attacher.attach_folder_in_hierarchy(
    start_folder=this_folder,
    target_sub_path="scripts_folder/python_libs",
    extra_sub_path="my_python_lib/__init__.py")
```
altendpy 0.0.21
Extras for working with Python.
Requires Python: >=3.5

altendpy
========

|PyPI| |Pythons| |Travis| |AppVeyor| |codecov| |GitHub|

Miscellanious extras that I like to use when working with Python.

.. |PyPI| image:: https://img.shields.io/pypi/v/altendpy.svg
   :alt: PyPI version
   :target: https://pypi.python.org/pypi/altendpy

.. |Pythons| image:: https://img.shields.io/pypi/pyversions/altendpy.svg
   :alt: Supported Python versions
   :target: https://pypi.python.org/pypi/altendpy

.. |Travis| image:: https://travis-ci.org/altendky/altendpy.svg?branch=develop
   :alt: Travis build status
   :target: https://travis-ci.org/altendky/altendpy

.. |AppVeyor| image:: https://ci.appveyor.com/api/projects/status/i7bgg319r4did48i/branch/develop?svg=true
   :alt: AppVeyor build status
   :target: https://ci.appveyor.com/project/KyleAltendorf/altendpy

.. |codecov| image:: https://codecov.io/gh/altendky/altendpy/branch/develop/graph/badge.svg
   :alt: codecov coverage status
   :target: https://codecov.io/gh/altendky/altendpyq

.. |GitHub| image:: https://img.shields.io/github/last-commit/altendky/altendpy/develop.svg
   :alt: Source on GitHub
   :target: https://github.com/altendky/altendpy
pic2tweet 1.0.1
Tweets the image files of the current directory and then deletes them.

# pic2tweet

[![](https://badge.fury.io/py/pic2tweet.svg)](https://pypi.org/project/pic2tweet)


Tweets the image files of the current directory and then deletes them.

```
$ pic2tweet [api key] [api secret key] [access token] [access token secret]
```