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

$ 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

$ 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

1.0.1 (2019-02-07)

  • bug-fix for disjunkte tags

1.0.0 (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.1.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

besttags-1.0.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page