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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file besttags-1.0.1.tar.gz.

File metadata

  • Download URL: besttags-1.0.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

File hashes

Hashes for besttags-1.0.1.tar.gz
Algorithm Hash digest
SHA256 498cf367a449a69f0d8299b63e5b1c6edbaf5ebe2e2f75aa231961e32278fd8d
MD5 6046b32fc753542f8085f4d2bf0e2ded
BLAKE2b-256 f30b9a0e4f1abd65cb7a81b8f35dd1110e547b5de3244403031eb03dcaf52e7b

See more details on using hashes here.

File details

Details for the file besttags-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: besttags-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

File hashes

Hashes for besttags-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5cdcc307d8269234173fe5c6634baaa14fced8a234a5ebfa1d43fdd382f0e436
MD5 b621729cb15c85fa318e57be3c8eaac0
BLAKE2b-256 8d6ef1dfb1a6f1d4cdc5e2e6c78cf5026f6a9c37b0b6d4f3c580561b1ffdedab

See more details on using hashes here.

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