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.

Files for besttags, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size besttags-1.0.1-py3-none-any.whl (6.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size besttags-1.0.1.tar.gz (7.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page