Metadata-Version: 2.1
Name: besttags
Version: 1.0.1
Summary: Get the best hashtags for your post
Home-page: https://github.com/axju/besttags
Author: Axel Juraske
Author-email: axel.juraske@short-report.de
License: MIT license
Keywords: besttags
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: requests
Requires-Dist: bs4

=========
best-tags
=========

.. image:: https://img.shields.io/pypi/v/besttags.svg
        :target: https://pypi.python.org/pypi/besttags

I try to find the best hashtags for my post on instagram. There are some grate
web pages, but I wand a python package.

* Free software: MIT license

Install
-------

.. code-block:: shell

  $ pip install besttags

Command-line
------------

.. code-block:: shell

  $ best-tags coding python programmer --fix fullstackhero

  #fullstackhero #coding #programming #programmer #html #css #javascript #developer
  #code #webdeveloper #coder #webdesign #webdevelopment #technology #php #java 
  #software #tech #python #computer #computerscience #development #codinglife 
  #linux #programmers #softwaredeveloper #bhfyp #web #webdesigner #c

See the help for more informations

.. code-block:: shell

  $ python -m besttags --help

or

.. code-block:: shell

  $ best-tags --help

Examples
--------
The simple one-liner. It will save the best hashtags for the given tags in a file.

.. code-block:: python

  from besttags import Manager

  # The tags you are interested in.
  tags = ['coder', 'programmers', 'python']

  Manager()(tags).save('best_hashtags.txt')

You can change the default settings and add additional tags and use print()
to show the tags

.. code-block:: python

  Manager(limit=10, fix=['fullstackhero'])(tags).save('10_best_hashtags.txt')

  print(Manager()(tags))

Use the Manager to create an object, which you can use multiple times. It is
callable and allows a list or single strings.

.. code-block:: python

  best = Manager(fix=['fullstackhero'])

  best('computer', 'instagood')
  best(['coder', 'programmers', 'python'])

The result is a class, with some basic functions. So you can iterate it and
get the length.

.. code-block:: python

  result = best('coder', 'programmers', 'python')

  print(len(result))

  for tag in result:
      print(tag)

  print(result)

  result.save('best_hashtags.txt')


=======
History
=======

1.0.1 (2019-02-07)
------------------

* bug-fix for disjunkte tags

1.0.0 (2019-02-07)
------------------

* First release on PyPI.


