Skip to main content

Get the best hashtags for your post

Project description

best-tags

https://img.shields.io/pypi/v/besttags.svg

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

$ pip install besttags

Command-line

See the help for more informations

$ python -m besttags --help

or

$ best-tags --help

Examples

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

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

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.

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.

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

print(len(result))

for tag in result:
    print(tag)

print(result)

result.save('best_hashtags.txt')

History

0.0.1 (2019-02-07)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

besttags-1.0.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

besttags-1.0.0-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page