Skip to main content

An unofficial CLI tool for x.com

Project description

x-cli-py - A simple CLI tool for x.com

This is a web scraping based tool for x.com. You don't need API key or any other credentials, which is cheap and easy to use. Although, please use it at your own risk as it may violate the terms of x.com.

install

# from source
poetry install

# from pypi
pip install x-cli-py

usage

Please refer to the help message for usage details, but here is a simple example.

# setting up
# the chrome window will open, and you need to login to x.com by yourself for the first time.
# if you want to change the account, you have to run setup again.
xcli setup

# get the latest timeline.
# the default setting will get the Following timeline.
xcli tl
xcli tl --tab 1

# post some text.
# your default text editor (`echo $EDITOR`) will open.
xcli post

# if you forget the account you are using, you can check it.
xcli whoami

# you can refer to the help message
xcli --help

contribution

Please feel free to open an issue or pull request. x-cli-py repository

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

x_cli_py-0.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

x_cli_py-0.1.2-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file x_cli_py-0.1.2.tar.gz.

File metadata

  • Download URL: x_cli_py-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.5 Linux/6.12.17-1-MANJARO

File hashes

Hashes for x_cli_py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4876e99b5ba0587fca1916291979bec734925e80decc7e146db69ab72484eada
MD5 f26c08db24c935fd3e6c3a3fa45b1326
BLAKE2b-256 a427c050cb77ed9924a2442e37a5a23f7faef72e1272a0194c85455a981dda95

See more details on using hashes here.

File details

Details for the file x_cli_py-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: x_cli_py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.5 Linux/6.12.17-1-MANJARO

File hashes

Hashes for x_cli_py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1620647afb3e108788427a6585741f6539b144100ffc19772fd5eca5f0cf4c36
MD5 41b4c0520496238efad9b161287d8fb3
BLAKE2b-256 5b4bfc980c9a78710c03c6ae450b649cd29a49b3664c6bd39ed629a410ce48c6

See more details on using hashes here.

Supported by

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